Hello! I'm currently trying to port CESM1.2.1 to a university machine, and I'm running into issues in the case building step.
So far, I've been able to successfully create a case (with ./create_newcase -case test1 -res f45_g37 -compset X -mach userdefined) and set it up with ./cesm_setup.
I've edited the xml files, too, with the following variables in env_build.xml, env_run.xml, and env_mach_pes.xml.
OS - LINUX
MPILIB - openmpi
COMPILER - intel
EXEROOT - $HOME/a/CESM_DATA/CESM_EXE_ROOT
MAX_TASKS_PER_NODE - 8
RUNDIR - $HOME/a/CESM_DATA/run
DIN_LOC_ROOT - $HOME/a/CESM_DATA/CESM_INPUT_DATA
I also set up a .modules7 file to set up these libraries when I log in.
module load intel/intel-15.0.3
module load intel/hdf5-1.10.6-intel-15.0.3
module load intel/netcdf4-4.7.4-intel-15.0.3
module load intel/openmpi-4.1.2-intel-15.0.3
In Macros, the only edits I made were to these two variables:
NETCDF_PATH:= /sw/netcdf4-4.7.4-intel-15.0.3
MPI_PATH:= /sw/openmpi-4.1.2-intel-15.0.3
Running ./test1.build then incurs this error:
... - Build Libraries: mct gptl pio csm_share
Tue Oct 11 12:00:33 CDT 2022 /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/mct/mct.bldlog.221011-120032
Tue Oct 11 12:01:10 CDT 2022 /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/gptl/gptl.bldlog.221011-120032
Tue Oct 11 12:01:13 CDT 2022 /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/pio/pio.bldlog.221011-120032
ERROR: buildlib.pio failed, see /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/pio/pio.bldlog.221011-120032
ERROR: cat /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/pio/pio.bldlog.221011-120032
I've attached the PIO build log to this post. I also noticed that in my cesm1_2_1/models directory, the pio directory seems to be completely missing. Could the error possibly be with setting up Macros incorrectly? I also made no edits to the env_mach_specific file.
Sorry if this post is very long, but I would appreciate any help! I would also be happy to provide any additional details.
Sincerely, Maile
So far, I've been able to successfully create a case (with ./create_newcase -case test1 -res f45_g37 -compset X -mach userdefined) and set it up with ./cesm_setup.
I've edited the xml files, too, with the following variables in env_build.xml, env_run.xml, and env_mach_pes.xml.
OS - LINUX
MPILIB - openmpi
COMPILER - intel
EXEROOT - $HOME/a/CESM_DATA/CESM_EXE_ROOT
MAX_TASKS_PER_NODE - 8
RUNDIR - $HOME/a/CESM_DATA/run
DIN_LOC_ROOT - $HOME/a/CESM_DATA/CESM_INPUT_DATA
I also set up a .modules7 file to set up these libraries when I log in.
module load intel/intel-15.0.3
module load intel/hdf5-1.10.6-intel-15.0.3
module load intel/netcdf4-4.7.4-intel-15.0.3
module load intel/openmpi-4.1.2-intel-15.0.3
In Macros, the only edits I made were to these two variables:
NETCDF_PATH:= /sw/netcdf4-4.7.4-intel-15.0.3
MPI_PATH:= /sw/openmpi-4.1.2-intel-15.0.3
Running ./test1.build then incurs this error:
... - Build Libraries: mct gptl pio csm_share
Tue Oct 11 12:00:33 CDT 2022 /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/mct/mct.bldlog.221011-120032
Tue Oct 11 12:01:10 CDT 2022 /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/gptl/gptl.bldlog.221011-120032
Tue Oct 11 12:01:13 CDT 2022 /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/pio/pio.bldlog.221011-120032
ERROR: buildlib.pio failed, see /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/pio/pio.bldlog.221011-120032
ERROR: cat /data/keeling/a/mailes2/a/CESM_DATA/CESM_EXE_ROOT/pio/pio.bldlog.221011-120032
I've attached the PIO build log to this post. I also noticed that in my cesm1_2_1/models directory, the pio directory seems to be completely missing. Could the error possibly be with setting up Macros incorrectly? I also made no edits to the env_mach_specific file.
Sorry if this post is very long, but I would appreciate any help! I would also be happy to provide any additional details.
Sincerely, Maile