[petsc-users] Symbol lookup errors after change of module system on cluster

Matthias Hesselmann Matthias.Hesselmann at avt.rwth-aachen.de
Mon Jun 19 16:22:13 CDT 2023


Dear users,

since the operating system of the cluster I am running my application on with PETSC (Version 3.19) has been changed from CentOS 7 to Rocky Linux 8 and also the module system has been changed to Lmod, I get the following error message when running my application:

Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
mpiexec noticed that process rank 0 with PID 0 on node login18-x-2 exited on signal 15 (Terminated).
make: *** [Makefile:96: cathode-run] Error 143

When running the application with LD_DEBUG=files, it says that certain symbols cannot be looked up by PETSC, e.g.:

/cvmfs/software.hpc.rwth.de/Linux/RH8/x86_64/intel/skylake_avx512/software/UCX/1.12.1-GCCcore-11.3.0/lib/ucx/libuct_cma.so.0: error: symbol lookup error: undefined symbol: ucs_module_global_init (fatal)
[...]
/rwthfs/rz/cluster/home/mh787286/petsc/arch-linux-c-debug/lib/libpetsc.so.3.19: error: symbol lookup error: undefined symbol: MPID_Abort (fatal)
/rwthfs/rz/cluster/home/mh787286/petsc/arch-linux-c-debug/lib/libpetsc.so.3.19: error: symbol lookup error: undefined symbol: ps_tool_initialize (fatal)

I attached the output in the "LD_DEBUG_make_cathode-run" file. When I look up the dependencies of libpetsc.so.3.19 with the ldd  command, I can find the locations of the dependent libraries listed in the LD_LIBRARY_PATH (see configure.log). Thus, PETSC should be able to link to these libraries.

I load the modules GCC/11.3.0 and OpenMPI/4.1.4. Furthermore, please also find the make file attached as "Makefile" as well as the configure.log and make.log.

Is there anything I need to change in the make file to adapt it to the new module system, or are there any issues with missing links/ libraries after the update?

Kind regards,
Matthias


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230619/9346ad3c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: configure.log
Type: application/octet-stream
Size: 1961538 bytes
Desc: configure.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230619/9346ad3c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: make.log
Type: application/octet-stream
Size: 21695 bytes
Desc: make.log
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230619/9346ad3c/attachment-0003.obj>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile.txt
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230619/9346ad3c/attachment-0002.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: LD_DEBUG_make_cathode-run.txt
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20230619/9346ad3c/attachment-0003.txt>


More information about the petsc-users mailing list