yelshorbany@gmail_com
New Member
Hi, newbie here and ai trying to install CESM2.2 on the HPC RC USF.
The case.setup works but the case.build fail as following:
elshorbany@itn2.rc.usf.edu:/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17$ ./case.build
Building case in directory /work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17
ERROR: /home/e/elshorbany/CESM/CESM_2.2.0/cime/src/build_scripts/buildlib.mct FAILED, cat /work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/mct.bldlog.210225-161514
The log file shows the following:
Make -f /work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17/Tools/Makefile -C /work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/intel/impi/nodebug/nothreads/mct/mct CIME_MODEL=cesm SMP=FALSE CASEROOT="/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17" CASETOOLS="/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17/Tools" CIMEROOT="/home/e/elshorbany/CESM/CESM_2.2.0/cime" COMP_INTERFACE="mct" COMPILER="intel" DEBUG="FALSE" EXEROOT="/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld" INCROOT="/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/lib/include" LIBROOT="/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/lib" MACH="circe" MPILIB="impi" NINST_VALUE="c1a1l1i1o1r1g1w1i1e1" OS="LINUX" PIO_VERSION="1" SHAREDLIBROOT="/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld" SMP_PRESENT="FALSE" USE_ESMF_LIB="FALSE" USE_MOAB="FALSE" CAM_CONFIG_OPTS="-phys cam6" COMP_LND="clm" COMPARE_TO_NUOPC="FALSE" CISM_USE_TRILINOS="FALSE" USE_TRILINOS="FALSE" USE_ALBANY="FALSE" USE_PETSC="FALSE" MODEL=mct COMP_NAME=mct /work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/intel/impi/nodebug/nothreads/mct/mct/Makefile.conf
make: Entering directory `/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/intel/impi/nodebug/nothreads/mct/mct'
make: Leaving directory `/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/intel/impi/nodebug/nothreads/mct/mct'
cat: Filepath: No such file or directory
/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17/Tools/Makefile:183: *** "NETCDF_FORTRAN_PATH specified without NETCDF_C_PATH". Stop.
ERROR: cat: Filepath: No such file or directory
/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17/Tools/Makefile:183: *** "NETCDF_FORTRAN_PATH specified without NETCDF_C_PATH". Stop.
~
I also ran "scripts_regression_tests.py" and got the attached "regressions_test"
Below are also the .cime/config_machines.xml and config_compilers.xml
Config_machines.xml
<?xml version="1.0"?>
<machine MACH="circe">
<DESC>USF CIRCE Cluster, OS is Linux, batch system is SLURM</DESC>
<NODENAME_REGEX>.*.rc.usf.edu</NODENAME_REGEX>
<OS>LINUX</OS>
<COMPILERS>intel</COMPILERS>
<MPILIBS>impi</MPILIBS>
<CIME_OUTPUT_ROOT>/work/e/elshorbany/CESM/output</CIME_OUTPUT_ROOT>
<DIN_LOC_ROOT>/shares/elshorbany_group/CESM/input_data</DIN_LOC_ROOT>
<DIN_LOC_ROOT_CLMFORC>/shares/elshorbany_group/CESM/input_data/atm/datm7</DIN_LOC_ROOT_CLMFORC>
<DOUT_S_ROOT>$CIME_OUTPUT_ROOT/archive/$CASE</DOUT_S_ROOT>
<BASELINE_ROOT>$ENV{HOME}/CESM/baselines</BASELINE_ROOT>
<CCSM_CPRNC>$CIMEROOT/tools/cprnc/build/cprnc</CCSM_CPRNC>
<GMAKE>make</GMAKE>
<GMAKE_J>10</GMAKE_J>
<BATCH_SYSTEM>slurm</BATCH_SYSTEM>
<SUPPORTED_BY>elshorbany@usf.edu</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>10</MAX_TASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>10</MAX_MPITASKS_PER_NODE>
<PROJECT_REQUIRED>FALSE</PROJECT_REQUIRED>
<mpirun mpilib="impi">
<executable>mpirun</executable>
<arguments>
<arg name="num_tasks">-n {{ total_tasks }}</arg>
</arguments>
</mpirun>
<module_system type="module">
<init_path lang="perl">/usr/share/Modules/init/perl.pm</init_path>
<init_path lang="csh">/etc/profile.d/modules.csh</init_path>
<init_path lang="sh">/etc/profile.d/modules.sh</init_path>
<init_path lang="python">/usr/share/Modules/init/python.py</init_path>
<cmd_path lang="perl">/usr/bin/modulecmd perl </cmd_path>
<cmd_path lang="sh">module</cmd_path>
<cmd_path lang="csh">module</cmd_path>
<cmd_path lang="python">/usr/bin/modulecmd python</cmd_path>
<modules>
<command name="purge"/>
</modules>
<modules>
<command name="load">apps/perl/5.28.0</command>
<command name="load">apps/cmake/3.7.1</command>
<command name="load">apps/python/2.7.11</command>
<command name="load">apps/netcdf/4.6.3</command>
<command name="load">apps/pnetcdf/1.11.0</command>
<command name="load">apps/netcdf-fortran/4.4.5</command>
</modules>
<modules compiler="intel">
<command name="load">compilers/intel/2017_cluster_xe</command>
</modules>
</module_system>
<environment_variables compiler="intel">
<env name="NETCDF_PATH">$ENV{NETCDF}</env>
<env name="NETCDF_HOME">$ENV{NETCDF}</env>
<env name="MKL_PATH">$ENV{MKLROOT}</env>
</environment_variables>
</machine>
config_compiler.xml
<?xml version="1.0" encoding="UTF-8"?>
<compiler MACH="circe" COMPILER="intel">
<CFLAGS>
<append>-I/apps/netcdf/4.6.3/include -I/apps/pnetcdf/1.11.0/include -I/apps/netcdf-fortran/4.4.5/include </append>
</CFLAGS>
<FFLAGS>
<append>-I/apps/netcdf/4.6.3/include -I/apps/pnetcdf/1.11.0/include -I/apps/netcdf-fortran/4.4.5/include </append>
</FFLAGS>
<NETCDF_PATH>/apps/netcdf/4.6.3</NETCDF_PATH>
<NETCDF_FORTRAN_PATH>/apps/netcdf-fortran/4.4.5/</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH>/apps/pnetcdf/1.11.0</PNETCDF_PATH>
<SLIBS>
<append> -L/apps/netcdf/4.6.3/lib -L/apps/pnetcdf/1.11.0/lib -L/apps/netcdf-fortran/4.4.5/lib -lnetcdf -lnetcdff -lpmi -L$ENV{MKLROOT} -lmkl_rt </append>
</SLIBS>
</compiler>
Thanks!
The case.setup works but the case.build fail as following:
elshorbany@itn2.rc.usf.edu:/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17$ ./case.build
Building case in directory /work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17
ERROR: /home/e/elshorbany/CESM/CESM_2.2.0/cime/src/build_scripts/buildlib.mct FAILED, cat /work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/mct.bldlog.210225-161514
The log file shows the following:
Make -f /work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17/Tools/Makefile -C /work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/intel/impi/nodebug/nothreads/mct/mct CIME_MODEL=cesm SMP=FALSE CASEROOT="/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17" CASETOOLS="/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17/Tools" CIMEROOT="/home/e/elshorbany/CESM/CESM_2.2.0/cime" COMP_INTERFACE="mct" COMPILER="intel" DEBUG="FALSE" EXEROOT="/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld" INCROOT="/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/lib/include" LIBROOT="/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/lib" MACH="circe" MPILIB="impi" NINST_VALUE="c1a1l1i1o1r1g1w1i1e1" OS="LINUX" PIO_VERSION="1" SHAREDLIBROOT="/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld" SMP_PRESENT="FALSE" USE_ESMF_LIB="FALSE" USE_MOAB="FALSE" CAM_CONFIG_OPTS="-phys cam6" COMP_LND="clm" COMPARE_TO_NUOPC="FALSE" CISM_USE_TRILINOS="FALSE" USE_TRILINOS="FALSE" USE_ALBANY="FALSE" USE_PETSC="FALSE" MODEL=mct COMP_NAME=mct /work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/intel/impi/nodebug/nothreads/mct/mct/Makefile.conf
make: Entering directory `/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/intel/impi/nodebug/nothreads/mct/mct'
make: Leaving directory `/work/e/elshorbany/CESM/output/cesm220FHIST_f09_f09_mg17/bld/intel/impi/nodebug/nothreads/mct/mct'
cat: Filepath: No such file or directory
/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17/Tools/Makefile:183: *** "NETCDF_FORTRAN_PATH specified without NETCDF_C_PATH". Stop.
ERROR: cat: Filepath: No such file or directory
/work/e/elshorbany/CESM/cases/cesm220FHIST_f09_f09_mg17/Tools/Makefile:183: *** "NETCDF_FORTRAN_PATH specified without NETCDF_C_PATH". Stop.
~
I also ran "scripts_regression_tests.py" and got the attached "regressions_test"
Below are also the .cime/config_machines.xml and config_compilers.xml
Config_machines.xml
<?xml version="1.0"?>
<machine MACH="circe">
<DESC>USF CIRCE Cluster, OS is Linux, batch system is SLURM</DESC>
<NODENAME_REGEX>.*.rc.usf.edu</NODENAME_REGEX>
<OS>LINUX</OS>
<COMPILERS>intel</COMPILERS>
<MPILIBS>impi</MPILIBS>
<CIME_OUTPUT_ROOT>/work/e/elshorbany/CESM/output</CIME_OUTPUT_ROOT>
<DIN_LOC_ROOT>/shares/elshorbany_group/CESM/input_data</DIN_LOC_ROOT>
<DIN_LOC_ROOT_CLMFORC>/shares/elshorbany_group/CESM/input_data/atm/datm7</DIN_LOC_ROOT_CLMFORC>
<DOUT_S_ROOT>$CIME_OUTPUT_ROOT/archive/$CASE</DOUT_S_ROOT>
<BASELINE_ROOT>$ENV{HOME}/CESM/baselines</BASELINE_ROOT>
<CCSM_CPRNC>$CIMEROOT/tools/cprnc/build/cprnc</CCSM_CPRNC>
<GMAKE>make</GMAKE>
<GMAKE_J>10</GMAKE_J>
<BATCH_SYSTEM>slurm</BATCH_SYSTEM>
<SUPPORTED_BY>elshorbany@usf.edu</SUPPORTED_BY>
<MAX_TASKS_PER_NODE>10</MAX_TASKS_PER_NODE>
<MAX_MPITASKS_PER_NODE>10</MAX_MPITASKS_PER_NODE>
<PROJECT_REQUIRED>FALSE</PROJECT_REQUIRED>
<mpirun mpilib="impi">
<executable>mpirun</executable>
<arguments>
<arg name="num_tasks">-n {{ total_tasks }}</arg>
</arguments>
</mpirun>
<module_system type="module">
<init_path lang="perl">/usr/share/Modules/init/perl.pm</init_path>
<init_path lang="csh">/etc/profile.d/modules.csh</init_path>
<init_path lang="sh">/etc/profile.d/modules.sh</init_path>
<init_path lang="python">/usr/share/Modules/init/python.py</init_path>
<cmd_path lang="perl">/usr/bin/modulecmd perl </cmd_path>
<cmd_path lang="sh">module</cmd_path>
<cmd_path lang="csh">module</cmd_path>
<cmd_path lang="python">/usr/bin/modulecmd python</cmd_path>
<modules>
<command name="purge"/>
</modules>
<modules>
<command name="load">apps/perl/5.28.0</command>
<command name="load">apps/cmake/3.7.1</command>
<command name="load">apps/python/2.7.11</command>
<command name="load">apps/netcdf/4.6.3</command>
<command name="load">apps/pnetcdf/1.11.0</command>
<command name="load">apps/netcdf-fortran/4.4.5</command>
</modules>
<modules compiler="intel">
<command name="load">compilers/intel/2017_cluster_xe</command>
</modules>
</module_system>
<environment_variables compiler="intel">
<env name="NETCDF_PATH">$ENV{NETCDF}</env>
<env name="NETCDF_HOME">$ENV{NETCDF}</env>
<env name="MKL_PATH">$ENV{MKLROOT}</env>
</environment_variables>
</machine>
config_compiler.xml
<?xml version="1.0" encoding="UTF-8"?>
<compiler MACH="circe" COMPILER="intel">
<CFLAGS>
<append>-I/apps/netcdf/4.6.3/include -I/apps/pnetcdf/1.11.0/include -I/apps/netcdf-fortran/4.4.5/include </append>
</CFLAGS>
<FFLAGS>
<append>-I/apps/netcdf/4.6.3/include -I/apps/pnetcdf/1.11.0/include -I/apps/netcdf-fortran/4.4.5/include </append>
</FFLAGS>
<NETCDF_PATH>/apps/netcdf/4.6.3</NETCDF_PATH>
<NETCDF_FORTRAN_PATH>/apps/netcdf-fortran/4.4.5/</NETCDF_FORTRAN_PATH>
<PNETCDF_PATH>/apps/pnetcdf/1.11.0</PNETCDF_PATH>
<SLIBS>
<append> -L/apps/netcdf/4.6.3/lib -L/apps/pnetcdf/1.11.0/lib -L/apps/netcdf-fortran/4.4.5/lib -lnetcdf -lnetcdff -lpmi -L$ENV{MKLROOT} -lmkl_rt </append>
</SLIBS>
</compiler>
Thanks!