Hi guys,
I got an undefined symbol error copied below today when compiling on CentOS 8.2 using intel compiler 2020 initial release today. Googling this particular function does not return anything at all but I was able to use identical comfigure script to compile it on CentOS7. Therefore I am gonna try my luck here to see if anyone has any clue at all. Same AMD EPYC processor.
Invalid MEX-file '/opt/ISSM_src/lib/IssmConfig_matlab.mexa64': /opt/ISSM_src/lib/libISSMModules.so.0: undefined symbol: _Z20PrintfFunctionOnCpu0RKSs
Error in IssmConfig (line 14)
value = IssmConfig_matlab(string);
Error in issmversion (line 13)
disp([IssmConfig('PACKAGE_NAME') ' Version ' IssmConfig('PACKAGE_VERSION')]);
CC=mpiicc CXX=mpiicpc F77=mpiifort F90=mpiifort ./configure \
--prefix=/opt/ISSM_src \
--with-wrappers=no \
--with-petsc-dir="/opt/ISSM_src/externalpackages/petsc/install" \
--with-m1qn3-dir="/opt/ISSM_src/externalpackages/m1qn3/install" \
--with-mpi-include="/opt/intel/2020/impi/2019.6.166/intel64/include" \
--with-mpi-libflags="-lmpi -lmpicxx -lmpifort" \
--with-mkl-libflags="-L/opt/intel/2020/mkl/lib/intel64 -lmkl_intel_lp64 -lmkl_sequential -lmkl_core -lmkl_blacs_intelmpi_lp64 -lmkl_scalapack_lp64 -liomp5 -lpthread -lm" \
--with-metis-dir="/opt/ISSM_src/externalpackages/petsc/install" \
--with-mumps-dir="/opt/ISSM_src/externalpackages/petsc/install" \
--with-scalapack-dir="/opt/intel/2020/mkl/lib/intel64" \
--with-cxxoptflags="-O3 -march=core-avx2" \
--with-fortran-lib="-L/opt/intel/2020/compilers_and_libraries/linux/lib/intel64 -lifcore -lifport" \
--with-matlab-dir="/opt/MATLAB/R2020a" \
--with-numthreads=32