LLNL/GOTCHA

PrgEnv for CORI users (documentation?)

hbrunie opened this issue · 0 comments

Hi,

just be careful to run the target application in same environment as the one GOTCHA was compiled in.
Indeed the dependance to libimf.so, libsvml.so, libirng.so and libintlc.so will be broken by switching between INTEL and GNU environment for example.
$ ldd libgotcha.so.1
linux-vdso.so.1 (0x00002aaaaaad3000)
libz.so.1 => /lib64/libz.so.1 (0x00002aaaaacd3000)
libhugetlbfs.so => /usr/lib64/libhugetlbfs.so (0x00002aaaaaeea000)
librca.so.0 => /opt/cray/rca/default/lib64/librca.so.0 (0x00002aaaab120000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002aaaab324000)
libimf.so => not found
libsvml.so => not found
libirng.so => not found
libm.so.6 => /lib64/libm.so.6 (0x00002aaaab542000)
libgcc_s.so.1 => /opt/gcc/8.2.0/snos/lib64/libgcc_s.so.1 (0x00002aaaab87a000)
libintlc.so.5 => not found
libc.so.6 => /lib64/libc.so.6 (0x00002aaaaba92000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaabe4c000)

$ module swap PrgEnv-gnu PrgEnv-intel
$ ldd libgotcha.so.1
linux-vdso.so.1 (0x00002aaaaaad3000)
libz.so.1 => /lib64/libz.so.1 (0x00002aaaaacd3000)
libhugetlbfs.so => /usr/lib64/libhugetlbfs.so (0x00002aaaaaeea000)
librca.so.0 => /opt/cray/rca/default/lib64/librca.so.0 (0x00002aaaab120000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002aaaab324000)
libimf.so => /opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64/libimf.so (0x00002aaaab542000)
libsvml.so => /opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64/libsvml.so (0x00002aaaabae2000)
libirng.so => /opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64/libirng.so (0x00002aaaad486000)
libm.so.6 => /lib64/libm.so.6 (0x00002aaaad7f8000)
libgcc_s.so.1 => /opt/gcc/8.2.0/snos/lib64/libgcc_s.so.1 (0x00002aaaadb30000)
libintlc.so.5 => /opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64/libintlc.so.5 (0x00002aaaadd48000)
libc.so.6 => /lib64/libc.so.6 (0x00002aaaadfba000)
/lib64/ld-linux-x86-64.so.2 (0x00002aaaaaaab000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002aaaae374000)