Dear Sir:
I tried to port the ctsm 5.3.009 on our system (before I successfully ported the cesm 2.1.3), but get a bit lost.
For porting the cesm2.1.3, I modified three files under ~/cime/config/cesm/machines by adding the relevant system specification:
1. config_batch.xml
<batch_system MACH="svante" type="slurm">
<batch_submit>sbatch</batch_submit>
<submit_args>
<arg flag="--time" name="$JOB_WALLCLOCK_TIME"/>
</submit_args>
<directives>
<directive> --partition=edr</directive>
<directive> --mem=0</directive>
</directives>
<queues>
<queue walltimemax="24:00:00" nodemin="1" nodemax="128" default="true">edr</queue>
</queues>
</batch_system>
2. config_compilers.xml
<compiler MACH="svante" COMPILER="intel">
<NETCDF_PATH> $(NETCDF)</NETCDF_PATH>
<SLIBS>
<append> -L${NETCDF_PATH}/lib -lnetcdf -lnetcdff </append>
</SLIBS>
<MPI_LIB_NAME>mpi</MPI_LIB_NAME>
<MPI_PATH> $(INC_MPI)/..</MPI_PATH>
</compiler>
3. config_machines.xml
... a lot of system specifications.
for ctsm5.3.009, under the directory of ccs_config/machines,
I only changed "config_batch.xml" following the same way as I did in cesm2.1.3. There is no corresponding "config_compilers.xml". "config_machines.xml" has very different contents (only machine names) from what is in cesm2.1.3 ( a lot of system specifications).
The READM file only says "Please refer to the documentation in the config_machines.xml and config_compilers.xml files.". Not sure what is the documentation referred to?
My questions are:
1) in order to port ctsm5.3.009 (not with any other cesm components), what files should I modify for porting?
2) once I change those files, could I do the similar steps as building cesm:
create_newcase
case.setup
case.build
case.submit
Or I should follow the link below to build ctsm (include build various prerequisites)
3.2.1. Obtaining and building CTSM and LILAC — ctsm CTSM master documentation
Thanks,
Xiang
I tried to port the ctsm 5.3.009 on our system (before I successfully ported the cesm 2.1.3), but get a bit lost.
For porting the cesm2.1.3, I modified three files under ~/cime/config/cesm/machines by adding the relevant system specification:
1. config_batch.xml
<batch_system MACH="svante" type="slurm">
<batch_submit>sbatch</batch_submit>
<submit_args>
<arg flag="--time" name="$JOB_WALLCLOCK_TIME"/>
</submit_args>
<directives>
<directive> --partition=edr</directive>
<directive> --mem=0</directive>
</directives>
<queues>
<queue walltimemax="24:00:00" nodemin="1" nodemax="128" default="true">edr</queue>
</queues>
</batch_system>
2. config_compilers.xml
<compiler MACH="svante" COMPILER="intel">
<NETCDF_PATH> $(NETCDF)</NETCDF_PATH>
<SLIBS>
<append> -L${NETCDF_PATH}/lib -lnetcdf -lnetcdff </append>
</SLIBS>
<MPI_LIB_NAME>mpi</MPI_LIB_NAME>
<MPI_PATH> $(INC_MPI)/..</MPI_PATH>
</compiler>
3. config_machines.xml
... a lot of system specifications.
for ctsm5.3.009, under the directory of ccs_config/machines,
I only changed "config_batch.xml" following the same way as I did in cesm2.1.3. There is no corresponding "config_compilers.xml". "config_machines.xml" has very different contents (only machine names) from what is in cesm2.1.3 ( a lot of system specifications).
The READM file only says "Please refer to the documentation in the config_machines.xml and config_compilers.xml files.". Not sure what is the documentation referred to?
My questions are:
1) in order to port ctsm5.3.009 (not with any other cesm components), what files should I modify for porting?
2) once I change those files, could I do the similar steps as building cesm:
create_newcase
case.setup
case.build
case.submit
Or I should follow the link below to build ctsm (include build various prerequisites)
3.2.1. Obtaining and building CTSM and LILAC — ctsm CTSM master documentation
Thanks,
Xiang