christopher_maloney@colorado_edu
New Member
Hello,
I am porting CESM 2.2.2 onto our Hera machine and am running into an issue with building cases after successfully running "./cesm.setup". I have updated "config_machines.xml", "config_compilers.xml", and "config_batch.xml" for our machine. These individual files are attached to this post in the zipped file. The error message I am receiving at the end of the cesm.build step (copied below) suggest that I am missing a netcdf library. However, I am not sure which library I am missing as I never ran into this issue with porting over earlier versions of the model.
Error message:
/scratch1/BMC/chimera/cmaloney/model_development/CESM2_2_2_code/cime/src/externals/pio2/src/clib/pio_nc4.c:175: undefined reference to `nc_def_var_szip'
Relevant netcdf library call from "config_compilers.xml":
<SLIBS>
<base>-L$(NETCDF)/lib -L$(NETCDF)/include -lnetcdf -lnetcdff</base>
<append MPILIB="impi"> -mkl=sequential </append>
</SLIBS>
Important note: we just updated our operating system on our machine to Rocky 8 and updated our intel compilers. Below is the compiler call list from "config_machines.xml". I am not sure if the order of the "gnu" and "intel" call matters here, but this is the only way that I could get 'cesm.setup' to execute properly. Our intel compilers require gnu to be loaded first.
<modules>
<command name="purge"/>
</modules>
<modules compiler="intel">
<command name="load">gnu/13.2.0</command>
<command name="load">intel/2023.2.0</command>
</modules>
<modules mpilib="impi">
<command name="load">impi/2022.1.2</command>
<command name="load">netcdf-hdf5parallel/4.7.0</command>
<command name="load">pnetcdf/1.10.0</command>
</modules>
Also included in the zipped file is the bld.log. To navigate to my added code in "config_compilers.xml" and "config_batch.xml" search for the machine named "hera".
Main question: Is there a netcdf library that I am missing, or is this something potentially related to the change in our operating system?
Thank you in advance for the assistance!
- Chris Maloney
I am porting CESM 2.2.2 onto our Hera machine and am running into an issue with building cases after successfully running "./cesm.setup". I have updated "config_machines.xml", "config_compilers.xml", and "config_batch.xml" for our machine. These individual files are attached to this post in the zipped file. The error message I am receiving at the end of the cesm.build step (copied below) suggest that I am missing a netcdf library. However, I am not sure which library I am missing as I never ran into this issue with porting over earlier versions of the model.
Error message:
/scratch1/BMC/chimera/cmaloney/model_development/CESM2_2_2_code/cime/src/externals/pio2/src/clib/pio_nc4.c:175: undefined reference to `nc_def_var_szip'
Relevant netcdf library call from "config_compilers.xml":
<SLIBS>
<base>-L$(NETCDF)/lib -L$(NETCDF)/include -lnetcdf -lnetcdff</base>
<append MPILIB="impi"> -mkl=sequential </append>
</SLIBS>
Important note: we just updated our operating system on our machine to Rocky 8 and updated our intel compilers. Below is the compiler call list from "config_machines.xml". I am not sure if the order of the "gnu" and "intel" call matters here, but this is the only way that I could get 'cesm.setup' to execute properly. Our intel compilers require gnu to be loaded first.
<modules>
<command name="purge"/>
</modules>
<modules compiler="intel">
<command name="load">gnu/13.2.0</command>
<command name="load">intel/2023.2.0</command>
</modules>
<modules mpilib="impi">
<command name="load">impi/2022.1.2</command>
<command name="load">netcdf-hdf5parallel/4.7.0</command>
<command name="load">pnetcdf/1.10.0</command>
</modules>
Also included in the zipped file is the bld.log. To navigate to my added code in "config_compilers.xml" and "config_batch.xml" search for the machine named "hera".
Main question: Is there a netcdf library that I am missing, or is this something potentially related to the change in our operating system?
Thank you in advance for the assistance!
- Chris Maloney