Hello,
I tried porting and configuring the CESM2.1.3 model on cedar (one of computecanada clusters) and it failed in the build step.
This is the modules loaded for this configuration (also the config files are attached):
module load StdEnv/2016.4 perl/5.22.4 python/3.7.4 cmake/3.16.3 openmpi/2.1.1 hdf5-mpi/1.8.18 netcdf-mpi/4.4.1.1 netcdf-fortran-mpi/4.4.4
./create_newcase --case $CASES2_1_3/HISTCrop_f09g17 --compset IHistClm50BgcCrop --res f09_g17 --machine cedar --compiler intel --mpilib intelmpi --walltime 02:00:00 --run-unsupported
I must say that the xmllint validates for all 3 config files.
./case.build
ERROR: /project/6001010/my_cesm_sandbox/cime/src/build_scripts/buildlib.mct FAILED, cat /home/meisam/projects/def-hbeltram/cesm2_1_3_OUT/HISTCedarTest/bld/mct.bldlog.231122-145024
And when I open the log file it says:
gmake -f /project/6001010/cesm2_1_3_OUT/HISTCedarTest/Tools/Makefile -C /home/meisam/projects/def-hbeltram/cesm2_1_3_OUT/HISTCedarTest/bld/intel/intelmpi/nod
ebug/nothreads/mct CASEROOT=/project/6001010/cesm2_1_3_OUT/HISTCedarTest MODEL=mct /home/meisam/projects/def-hbeltram/cesm2_1_3_OUT/HISTCedarTest/bld/intel/i
ntelmpi/nodebug/nothreads/mct/Makefile.conf
gmake: Entering directory `/project/6001010/cesm2_1_3_OUT/HISTCedarTest/bld/intel/intelmpi/nodebug/nothreads/mct'
gmake: Leaving directory `/project/6001010/cesm2_1_3_OUT/HISTCedarTest/bld/intel/intelmpi/nodebug/nothreads/mct'
cat: Filepath: No such file or directory
/project/6001010/cesm2_1_3_OUT/HISTCedarTest/Tools/Makefile:199: *** NETCDF not found: Define NETCDF_PATH or NETCDF_C_PATH and NETCDF_FORTRAN_PATH in config_m
achines.xml or config_compilers.xml. Stop.
ERROR: cat: Filepath: No such file or directory
/project/6001010/cesm2_1_3_OUT/HISTCedarTest/Tools/Makefile:199: *** NETCDF not found: Define NETCDF_PATH or NETCDF_C_PATH and NETCDF_FORTRAN_PATH in config_m
achines.xml or config_compilers.xml. Stop.
I loaded all the modules in the config_machines and set them in the bash profile (also tried it without setting them in bash_profile), I don't know why it is having this error.
I tried porting and configuring the CESM2.1.3 model on cedar (one of computecanada clusters) and it failed in the build step.
This is the modules loaded for this configuration (also the config files are attached):
module load StdEnv/2016.4 perl/5.22.4 python/3.7.4 cmake/3.16.3 openmpi/2.1.1 hdf5-mpi/1.8.18 netcdf-mpi/4.4.1.1 netcdf-fortran-mpi/4.4.4
./create_newcase --case $CASES2_1_3/HISTCrop_f09g17 --compset IHistClm50BgcCrop --res f09_g17 --machine cedar --compiler intel --mpilib intelmpi --walltime 02:00:00 --run-unsupported
I must say that the xmllint validates for all 3 config files.
./case.build
ERROR: /project/6001010/my_cesm_sandbox/cime/src/build_scripts/buildlib.mct FAILED, cat /home/meisam/projects/def-hbeltram/cesm2_1_3_OUT/HISTCedarTest/bld/mct.bldlog.231122-145024
And when I open the log file it says:
gmake -f /project/6001010/cesm2_1_3_OUT/HISTCedarTest/Tools/Makefile -C /home/meisam/projects/def-hbeltram/cesm2_1_3_OUT/HISTCedarTest/bld/intel/intelmpi/nod
ebug/nothreads/mct CASEROOT=/project/6001010/cesm2_1_3_OUT/HISTCedarTest MODEL=mct /home/meisam/projects/def-hbeltram/cesm2_1_3_OUT/HISTCedarTest/bld/intel/i
ntelmpi/nodebug/nothreads/mct/Makefile.conf
gmake: Entering directory `/project/6001010/cesm2_1_3_OUT/HISTCedarTest/bld/intel/intelmpi/nodebug/nothreads/mct'
gmake: Leaving directory `/project/6001010/cesm2_1_3_OUT/HISTCedarTest/bld/intel/intelmpi/nodebug/nothreads/mct'
cat: Filepath: No such file or directory
/project/6001010/cesm2_1_3_OUT/HISTCedarTest/Tools/Makefile:199: *** NETCDF not found: Define NETCDF_PATH or NETCDF_C_PATH and NETCDF_FORTRAN_PATH in config_m
achines.xml or config_compilers.xml. Stop.
ERROR: cat: Filepath: No such file or directory
/project/6001010/cesm2_1_3_OUT/HISTCedarTest/Tools/Makefile:199: *** NETCDF not found: Define NETCDF_PATH or NETCDF_C_PATH and NETCDF_FORTRAN_PATH in config_m
achines.xml or config_compilers.xml. Stop.
I loaded all the modules in the config_machines and set them in the bash profile (also tried it without setting them in bash_profile), I don't know why it is having this error.