Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

/lib64/libgcc_s.so.1: version `GCC_12.0.0' not found

dlu

New member
I used Derecho to compile the MPAS-A with ifort(2024.2.1). Now I can successfully compile init_atmosphere. As I run init_atmosphere for the example case through qsub. I got the error info says that "/var/run/palsd/03ed97db-45e1-4a58-aabd-75803a465d56/files/init_atmosphere_model: /lib64/libgcc_s.so.1: version `GCC_12.0.0' not found (required by /opt/cray/pe/mpich/8.1.29/ofi/intel/2022.1/lib/libmpi_intel.so.12". I checked the version by using "strings /lib64/libgcc_s.so.1 | grep GCC_" o Derecho, where the results are:
GCC_3.0
GCC_3.3
GCC_3.3.1
GCC_3.4
GCC_3.4.2
GCC_3.4.4
GCC_4.0.0
GCC_4.2.0
GCC_4.3.0
GCC_4.7.0
GCC_4.8.0
GCC_7.0.0

Obviously, no 12 version. So can you give some suggestions?

Duanjun
 
Thanks for your question! Could you let us know which version of MPAS you're using, and also the complete list of modules you are using when a) building MPAS b) running the model?

You might want to double check that both sets of modules are the same (building and running)
 
The MPAS is V8.3.1. I use ifort to compile mPAS model:

ifort: # BUILDTARGET Intel Fortran, C, and C++ compiler suite
( $(MAKE) all \
"FC_PARALLEL = mpif90" \
"CC_PARALLEL = mpicc" \
"CXX_PARALLEL = mpicxx" \
"FC_SERIAL = ifort" \
"CC_SERIAL = icx" \
"CXX_SERIAL = icpx" \
"FFLAGS_PROMOTION = -real-size 64" \
"FFLAGS_OPT = -O3 -convert big_endian -free -align array64byte" \
"CFLAGS_OPT = -O3" \
"CXXFLAGS_OPT = -O3" \
"LDFLAGS_OPT = -O3" \
"FFLAGS_DEBUG = -g -convert big_endian -free -check all -fpe0 -traceback" \
"CFLAGS_DEBUG = -g -traceback" \
"CXXFLAGS_DEBUG = -g -traceback" \
"LDFLAGS_DEBUG = -g -fpe0 -traceback" \
"FFLAGS_OMP = -qopenmp" \
"CFLAGS_OMP = -qopenmp" \
"PICFLAG = -fpic" \
"BUILD_TARGET = $(@)" \
"CORE = $(CORE)" \
"DEBUG = $(DEBUG)" \
"USE_PAPI = $(USE_PAPI)" \
"OPENMP = $(OPENMP)" \
"CPPFLAGS = $(MODEL_FORMULATION) -D_MPI" )

To run the model, I use:
mpiexec -np 1 ./init_atmosphere_model
 
Thanks! Could you also provide the list of modules that you are loading on Derecho (using the command module load <module_name> ) prior to building MPAS, and inside your job script prior to running the model?
 
I don't know what modules I used for compiling. Which file I need to look? Or which command I shall use to get them?
 
So I would advise to start by building MPAS again on Derecho. But before you do this, make sure you load these modules on Derecho using the following commands. And then add these commands to your job script as well, so that the modules are used when running the model.
module --force purge
module load ncarenv/24.12
module load intel/2024.2.1
module load ncarcompilers/1.0.0
module load cray-mpich/8.1.29
module load parallel-netcdf
And to build the model, use the intel toolchain instead of ifort.
make intel CORE=atmosphere
 
Good to know! I think in general, loading the same set of modules during the build and run phase is recommended.
 
Top