-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update chicoma-cpu modules #112
Changes from all commits
5b539bc
a1d98a7
9c0b308
c5552b9
ca87958
d379003
c34336e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3937,7 +3937,7 @@ commented out until "*** No rule to make target '.../libadios2pio-nm-lib.a'" iss | |
<DIN_LOC_ROOT_CLMFORC>/usr/projects/e3sm/inputdata/atm/datm7</DIN_LOC_ROOT_CLMFORC> | ||
<DOUT_S_ROOT>/lustre/scratch5/$ENV{USER}/E3SM/archive/$CASE</DOUT_S_ROOT> | ||
<BASELINE_ROOT>/lustre/scratch5/$ENV{USER}/E3SM/input_data/ccsm_baselines/$COMPILER</BASELINE_ROOT> | ||
<CCSM_CPRNC>/usr/projects/climate/SHARED_CLIMATE/software/badger/cprnc</CCSM_CPRNC> | ||
<CCSM_CPRNC>/usr/projects/e3sm/software/chicoma-cpu/cprnc</CCSM_CPRNC> | ||
<GMAKE_J>10</GMAKE_J> | ||
<TESTS>e3sm_developer</TESTS> | ||
<NTEST_PARALLEL_JOBS>4</NTEST_PARALLEL_JOBS> | ||
|
@@ -3957,11 +3957,11 @@ commented out until "*** No rule to make target '.../libadios2pio-nm-lib.a'" iss | |
</arguments> | ||
</mpirun> | ||
<module_system type="module" allow_error="true"> | ||
<init_path lang="perl">/usr/share/lmod/8.3.1/init/perl</init_path> | ||
<init_path lang="perl">/usr/share/lmod/lmod/init/perl</init_path> | ||
<!-- does not exist --> | ||
<init_path lang="python">/usr/share/lmod/8.3.1/init/python</init_path> | ||
<init_path lang="sh">/usr/share/lmod/8.3.1/init/sh</init_path> | ||
<init_path lang="csh">/usr/share/lmod/8.3.1/init/csh</init_path> | ||
<init_path lang="python">/usr/share/lmod/lmod/init/python</init_path> | ||
<init_path lang="sh">/usr/share/lmod/lmod/init/sh</init_path> | ||
<init_path lang="csh">/usr/share/lmod/lmod/init/csh</init_path> | ||
<cmd_path lang="perl">/usr/share/lmod/lmod/libexec/lmod perl</cmd_path> | ||
<cmd_path lang="python">/usr/share/lmod/lmod/libexec/lmod python</cmd_path> | ||
<cmd_path lang="sh">module</cmd_path> | ||
|
@@ -3973,39 +3973,42 @@ commented out until "*** No rule to make target '.../libadios2pio-nm-lib.a'" iss | |
<command name="unload">cray-parallel-netcdf</command> | ||
<command name="unload">cray-netcdf</command> | ||
<command name="unload">cray-hdf5</command> | ||
Comment on lines
3973
to
3975
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I tried removing
|
||
<command name="unload">PrgEnv-gnu</command> | ||
<command name="unload">PrgEnv-intel</command> | ||
<command name="unload">PrgEnv-nvidia</command> | ||
<command name="unload">PrgEnv-cray</command> | ||
<command name="unload">PrgEnv-aocc</command> | ||
<command name="unload">gcc</command> | ||
<command name="unload">gcc-native</command> | ||
<command name="unload">intel</command> | ||
<command name="unload">intel-oneapi</command> | ||
<command name="unload">nvidia</command> | ||
<command name="unload">aocc</command> | ||
<command name="unload">cudatoolkit</command> | ||
<command name="unload">climate-utils</command> | ||
<command name="unload">cray-libsci</command> | ||
<command name="unload">craype-accel-nvidia80</command> | ||
<command name="unload">craype-accel-host</command> | ||
<command name="unload">perftools-base</command> | ||
<command name="unload">perftools</command> | ||
<command name="unload">darshan</command> | ||
<command name="unload">PrgEnv-gnu</command> | ||
<command name="unload">PrgEnv-intel</command> | ||
<command name="unload">PrgEnv-nvidia</command> | ||
<command name="unload">PrgEnv-cray</command> | ||
<command name="unload">PrgEnv-aocc</command> | ||
Comment on lines
+3990
to
+3994
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I found that these needed to be unloaded after their corresponding compiler modules or there would be an error about an undefined environment variable name. |
||
</modules> | ||
|
||
<modules compiler="gnu"> | ||
<command name="load">PrgEnv-gnu/8.4.0</command> | ||
<command name="load">gcc/12.2.0</command> | ||
<command name="load">cray-libsci/23.05.1.4</command> | ||
<command name="load">PrgEnv-gnu/8.5.0</command> | ||
<command name="load">gcc-native/12.3</command> | ||
<command name="load">cray-libsci/23.12.5</command> | ||
</modules> | ||
|
||
<modules compiler="nvidia"> | ||
<command name="load">PrgEnv-nvidia/8.4.0</command> | ||
<command name="load">nvidia/22.7</command> | ||
<command name="load">cray-libsci/23.05.1.4</command> | ||
<command name="load">PrgEnv-nvidia/8.5.0</command> | ||
<command name="load">nvidia/24.7</command> | ||
Comment on lines
+4004
to
+4005
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I successfully tested these updated modules as well. |
||
<command name="load">cray-libsci/23.12.5</command> | ||
</modules> | ||
|
||
<modules compiler="intel"> | ||
<command name="load">PrgEnv-intel/8.4.0</command> | ||
<command name="load">intel-classic/2023.2.0</command> | ||
<command name="load">PrgEnv-intel/8.5.0</command> | ||
<command name="load">intel/2023.2.0</command> | ||
</modules> | ||
|
||
<modules compiler="amdclang"> | ||
|
@@ -4016,13 +4019,12 @@ commented out until "*** No rule to make target '.../libadios2pio-nm-lib.a'" iss | |
|
||
<modules> | ||
<command name="load">craype-accel-host</command> | ||
<command name="load">craype/2.7.21</command> | ||
<command name="load">cray-mpich/8.1.26</command> | ||
<command name="load">libfabric/1.15.2.0</command> | ||
<command name="load">cray-hdf5-parallel/1.12.2.3</command> | ||
<command name="load">cray-netcdf-hdf5parallel/4.9.0.3</command> | ||
<command name="load">cray-parallel-netcdf/1.12.3.3</command> | ||
<command name="load">cmake/3.25.1</command> | ||
<command name="load">craype/2.7.30</command> | ||
<command name="load">cray-mpich/8.1.28</command> | ||
<command name="load">cray-hdf5-parallel/1.12.2.9</command> | ||
<command name="load">cray-netcdf-hdf5parallel/4.9.0.9</command> | ||
<command name="load">cray-parallel-netcdf/1.12.3.9</command> | ||
<command name="load">cmake/3.27.7</command> | ||
</modules> | ||
</module_system> | ||
|
||
|
@@ -4044,6 +4046,9 @@ commented out until "*** No rule to make target '.../libadios2pio-nm-lib.a'" iss | |
<env name="NETCDF_PATH">$ENV{CRAY_NETCDF_HDF5PARALLEL_PREFIX}</env> | ||
<env name="PNETCDF_PATH">$ENV{CRAY_PARALLEL_NETCDF_PREFIX}</env> | ||
</environment_variables> | ||
<environment_variables compiler="gnu"> | ||
<env name="LD_LIBRARY_PATH">/usr/lib64/gcc/x86_64-suse-linux/12:$ENV{LD_LIBRARY_PATH}</env> | ||
</environment_variables> | ||
<resource_limits> | ||
<resource name="RLIMIT_STACK">-1</resource> | ||
</resource_limits> | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -396,11 +396,11 @@ gnu-cray: | |
"FFLAGS_OPT = -O3 -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -ffpe-summary=none $${EXTRA_FFLAGS}" \ | ||
"CFLAGS_OPT = -O3 -m64" \ | ||
"CXXFLAGS_OPT = -O3 -m64" \ | ||
"LDFLAGS_OPT = -O3 -m64" \ | ||
"LDFLAGS_OPT = -O3 -m64 $(GNU_CRAY_LDFLAGS)" \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @matthewhoffman, this environment variable (or argument to
on Chicoma for now. I'll make sure Compass and Polaris do this. If someone is building for Chicoma outside of Compass or Polaris (good luck!), they would need to set this manually. Are you okay with this fix? I don't want to put in anything into the Makefile that tries to detect the machine or anything crazy like that. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @xylar , this seems like the best solution given the circumstances |
||
"FFLAGS_DEBUG = -g -m64 -ffree-line-length-none -fconvert=big-endian -ffree-form -fbounds-check -fbacktrace -ffpe-trap=invalid,zero,overflow -ffpe-summary=none $${EXTRA_FFLAGS}" \ | ||
"CFLAGS_DEBUG = -g -m64" \ | ||
"CXXFLAGS_DEBUG = -g -m64" \ | ||
"LDFLAGS_DEBUG = -g -m64" \ | ||
"LDFLAGS_DEBUG = -g -m64 $(GNU_CRAY_LDFLAGS)" \ | ||
"FFLAGS_OMP = -fopenmp" \ | ||
"CFLAGS_OMP = -fopenmp" \ | ||
"BUILD_TARGET = $(@)" \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, I bet I know what happened here. I deleted this thinking that it was old and no longer used. In my defense, it has
badger
in the path...There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And it no longer exists! Not just the machine but that file. But I think if that line is missing it forces each test to try to build it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's what I was saying. I think I deleted it trying to free up space in
/usr/projects/climate
because I couldn't imagine we were still using software built for Badger.