Hi I am building scalapack with mpicc and mpifort, however this is the error I get:
mpifort -O3 -o xCbtest blacstest.o btprim.o tools.o Cbt.o ../../libscalapack.a /opt/openmpi-2.0.1/lib/libopen-pal.a(dl_dlopen_module.o): In function `dlopen_close': dl_dlopen_module.c:(.text+0x29d): undefined reference to `dlclose' /opt/openmpi-2.0.1/lib/libopen-pal.a(dl_dlopen_module.o): In function `dlopen_lookup': dl_dlopen_module.c:(.text+0x2d0): undefined reference to `dlsym' dl_dlopen_module.c:(.text+0x2fb): undefined reference to `dlerror' /opt/openmpi-2.0.1/lib/libopen-pal.a(dl_dlopen_module.o): In function `dlopen_open': dl_dlopen_module.c:(.text+0x3ca): undefined reference to `dlopen' dl_dlopen_module.c:(.text+0x431): undefined reference to `dlerror' dl_dlopen_module.c:(.text+0x456): undefined reference to `dlopen' dl_dlopen_module.c:(.text+0x4a9): undefined reference to `dlerror' dl_dlopen_module.c:(.text+0x501): undefined reference to `dlopen' /opt/openmpi-2.0.1/lib/libopen-pal.a(patcher_overwrite_module.o): In function `mca_patcher_overwrite_patch_symbol': patcher_overwrite_module.c:(.text+0x12e): undefined reference to `dlsym' patcher_overwrite_module.c:(.text+0x166): undefined reference to `dlsym' patcher_overwrite_module.c:(.text+0x173): undefined reference to `dlerror' collect2: error: ld returned 1 exit status Makefile:18: recipe for target 'xCbtest' failed make[2]: *** [xCbtest] Error 1 As I grep "dlopen", some OMPI binary files match. Any idea about that? Regards, Mahmood
_______________________________________________ users mailing list users@lists.open-mpi.org https://rfd.newmexicoconsortium.org/mailman/listinfo/users