On Fri, Aug 13, 2021 at 1:49 PM Mark Adams <[email protected]> wrote:
I was building on Spock a few weeks ago, but am getting these errors now. I have a setup with this environment and get this error.
Any ideas?
Here is the error: Executing: cc -o /tmp/petsc-6izfgpkr/config.setCompilers/conftest -L/opt/rocm-4.2.0/lib -lhsa-runtime64 -L${ROCM_PATH}/lib -lamdhip64 -lhsa-runtime64 /tmp/petsc-6izfgpkr/config.setCompilers/conftest.o Possible ERROR while running linker: exit code 1 stderr: ld.lld: error: unable to find library -lmpi_gtl_hsa clang-12: error: linker command failed with exit code 1 (use -v to see invocation) Linker output before filtering: ld.lld: error: unable to find library -lmpi_gtl_hsa clang-12: error: linker command failed with exit code 1 (use -v to see invocation) : Linker output after filtering: ld.lld: error: unable to find library -lmpi_gtl_hsa clang-12: error: linker command failed with exit code 1 (use -v to see invocation): Error testing C compiler: Cannot compile/link C with cc. Deleting "CC" That -l look like it is put in directly by 'cc'. How does anything work on that machine? Matt
Thanks, Mark
module load craype-accel-amd-gfx908 module load rocm module load emacs module load zlib module load autoconf automake libtool
## These must be set before compiling so the executable picks up GTL export PE_MPICH_GTL_DIR_amd_gfx908="-L/opt/cray/pe/mpich/8.1.4/gtl/lib" export PE_MPICH_GTL_LIBS_amd_gfx908="-lmpi_gtl_hsa"
## These must be set before running export MPIR_CVAR_GPU_EAGER_DEVICE_MEM=0 export MPICH_GPU_SUPPORT_ENABLED=1 export MPICH_SMP_SINGLE_COPY_MODE=CMA
-- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener https://www.cse.buffalo.edu/~knepley/ <http://www.cse.buffalo.edu/~knepley/>
participants (1)
-
Matthew Knepley