Hello,
I'm facing issues when coming to
I know this is related to some porting issue and compilers, but I can't figure out.
Here are the related lines in the
And the
All mpicxx, mpicc, mpif90, g++, gcc, fortran are well installed in
I guess the default compiler is the right one, but maybe it faces some conflits somewhere.
Any help would be appreciated, thanks a lot.
I'm facing issues when coming to
./case.build
step following tutorial guidelines.[...]
Calling /home/CESM/cime/src/components/stub_comps/sesp/cime_config/buildnml
Calling /home/CESM/cime/src/drivers/mct/cime_config/buildnml
Finished creating component namelists
Building gptl with output to file /home/CESM/projects/cesm/scratch/testrun3/bld/gptl.bldlog.250728-121939
Calling /home/CESM/cime/src/build_scripts/buildlib.gptl
[B]ERROR: /home/CESM/cime/src/build_scripts/buildlib.gptl FAILED, cat /home/CESM/projects/cesm/scratch/testrun3/bld/gptl.bldlog.250728-121939[/B]
I know this is related to some porting issue and compilers, but I can't figure out.
Here are the related lines in the
[B]config_compilers.xml[/B]
<compiler COMPILER="gnu" MACH="NB">
<!-- LINUX -->
<CPPDEFS>
<append>-DFORTRANUNDERSCORE -DNO_R16</append>
</CPPDEFS>
<LDFLAGS>
<append compile_threaded="true"> -fopenmp </append>
</LDFLAGS>
<SFC>gfortran</SFC>
<SCC>gcc</SCC>
<SCXX>g++</SCXX>
<MPIFC>mpif90</MPIFC>
<MPICC>mpicc</MPICC>
<MPICXX>mpicxx</MPICXX>
<CXX_LINKER>FORTRAN</CXX_LINKER>
<SUPPORTS_CXX>TRUE</SUPPORTS_CXX>
<NETCDF_PATH>/opt/netcdf</NETCDF_PATH>
<PNETCDF_PATH>/home/CESM_dep/Libs/pnetcdf-1.12.3</PNETCDF_PATH>
<LAPACK_LIBDIR> /usr/lib/x86_64-linux-gnu/lapack </LAPACK_LIBDIR>
<SLIBS>
<append>-L/opt/netcdf/lib -lnetcdff -lnetcdf -lm</append>
<append>-L/usr/lib/x86_64-linux-gnu/ -lapack -L/usr/lib/x86_64-linux-gnu/ -lblas</append>
</SLIBS>
</compiler>
And the
[B]config_machines.xml[/B]
(btw both passed the xmllint --noout --schema test)
<machine MACH="NB">
<DESC>NB machine, os is Linux, 4 pes/node </DESC>
<NODENAME_REGEX>NB</NODENAME_REGEX>
<OS>LINUX</OS>
<COMPILERS>gnu</COMPILERS>
<MPILIBS>mpich</MPILIBS>
<CIME_OUTPUT_ROOT>/home/CESM/projects/cesm/scratch</CIME_OUTPUT_ROOT>
<DIN_LOC_ROOT>/home/CESM/projects/cesm/inputdata</DIN_LOC_ROOT>
<DIN_LOC_ROOT_CLMFORC>/home/CESM/projects/cesm/inputdata/atm/datm7</DIN_LOC_ROOT_CLMFORC>
<DOUT_S_ROOT>/home/CESM/projects/cesm/archive/case</DOUT_S_ROOT>
<BASELINE_ROOT>/home/CESM/projects/cesm/baselines</BASELINE_ROOT>
<CCSM_CPRNC>$CIMEROOT/tools/cprnc/build/cprnc</CCSM_CPRNC>
<GMAKE_J>4</GMAKE_J>
<BATCH_SYSTEM>none</BATCH_SYSTEM>
<SUPPORTED_BY>no</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>4</MAX_TASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>4</MAX_MPITASKS_PER_NODE>
<mpirun mpilib="default">
<executable>mpiexec</executable>
<arguments>
<arg name="anum_tasks"> -np $TOTALPES</arg>
<arg name="labelstdout">--prepend-rank</arg>
</arguments>
</mpirun>
<module_system type="none"/>
</machine>
All mpicxx, mpicc, mpif90, g++, gcc, fortran are well installed in
/usr/bin/*
I guess the default compiler is the right one, but maybe it faces some conflits somewhere.
Any help would be appreciated, thanks a lot.