-
Notifications
You must be signed in to change notification settings - Fork 154
running quick_suite on ursa #1039
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
Merged
Merged
Changes from all commits
Commits
Show all changes
2 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,59 @@ | ||
| #============================================================================== | ||
| # Makefile macros for NOAA ursa, intel compiler | ||
| #============================================================================== | ||
|
|
||
| CPP := fpp | ||
| CPPDEFS := -DFORTRANUNDERSCORE ${ICE_CPPDEFS} | ||
| CFLAGS := -c -O2 -fp-model precise -xHost | ||
|
|
||
| FIXEDFLAGS := -132 | ||
| FREEFLAGS := -FR | ||
| FFLAGS := -fp-model precise -convert big_endian -assume byterecl -ftz -traceback -align array64byte -xHost | ||
| FFLAGS_NOOPT:= -O0 | ||
|
|
||
| ifeq ($(ICE_BLDDEBUG), true) | ||
| #FFLAGS += -O0 -g -check uninit -check bounds -check pointers -fpe0 -check noarg_temp_created -link_mpi=dbg | ||
| # check uninit triggers link failure on ursa | ||
| FFLAGS += -O0 -g -check bounds -check pointers -fpe0 -check noarg_temp_created -link_mpi=dbg | ||
| else | ||
| #FFLAGS += -O2 | ||
| endif | ||
|
|
||
| SCC := icx | ||
| SFC := ifx | ||
| MPICC := mpiicx | ||
| MPIFC := mpiifx | ||
|
|
||
| ifeq ($(ICE_COMMDIR), mpi) | ||
| FC := $(MPIFC) | ||
| CC := $(MPICC) | ||
| else | ||
| FC := $(SFC) | ||
| CC := $(SCC) | ||
| endif | ||
| LD:= $(FC) | ||
|
|
||
| #NETCDF_PATH := $(NETCDF) | ||
| NETCDF_PATH := $(NETCDF_FORTRAN_ROOT) | ||
|
|
||
| PIO_CONFIG_OPTS:= --enable-filesystem-hints=gpfs | ||
|
|
||
| #PNETCDF_PATH := $(PNETCDF) | ||
|
|
||
| INC_NETCDF := $(NETCDF_PATH)/include | ||
| LIB_NETCDF := $(NETCDF_PATH)/lib | ||
|
|
||
| #LIB_PNETCDF := $(PNETCDF_PATH)/lib | ||
| #LIB_MPI := $(IMPILIBDIR) | ||
|
|
||
| INCLDIR := $(INCLDIR) -I$(INC_NETCDF) | ||
| #SLIBS := -L$(LIB_NETCDF) -lnetcdf -lnetcdff -L$(LIB_PNETCDF) -lpnetcdf -lgptl | ||
| #SLIBS := -L$(LIB_NETCDF) -lnetcdf -lnetcdff | ||
| SLIBS := -L$(LIB_NETCDF) -lnetcdff | ||
|
|
||
| ifeq ($(ICE_THREADED), true) | ||
| LDFLAGS += -qopenmp | ||
| CFLAGS += -qopenmp | ||
| FFLAGS += -qopenmp | ||
| endif | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,39 @@ | ||
| #!/bin/csh -f | ||
|
|
||
| set inp = "undefined" | ||
| if ($#argv == 1) then | ||
| set inp = $1 | ||
| endif | ||
|
|
||
| if ("$inp" != "-nomodules") then | ||
|
|
||
| source /etc/profile.d/modules.csh | ||
| #module list | ||
| module purge | ||
| module load intel-oneapi-compilers/2025.1.1 | ||
| module load intel-oneapi-mpi/2021.15.0 | ||
| #module load intel-oneapi-mpi/2021.13.1 | ||
| #module load hpcx-mpi/2.18.1 | ||
| module load netcdf-c/4.9.2 | ||
| module load netcdf-fortran/4.6.1 | ||
| #module list | ||
|
|
||
| endif | ||
|
|
||
| # May be needed for OpenMP memory | ||
| setenv OMP_STACKSIZE 64M | ||
|
|
||
| setenv ICE_MACHINE_MACHNAME ursa | ||
| setenv ICE_MACHINE_MACHINFO "AMD Genoa 9654, NDR-200-IB interconnect" | ||
| setenv ICE_MACHINE_ENVNAME intel | ||
| setenv ICE_MACHINE_ENVINFO "icx/ifx 2025.1.1.20250418, intel-oneapi-mpi-2021.15.0, netcdf-c 4.9.2, netcdf-fortran 4.6.1" | ||
| setenv ICE_MACHINE_MAKE gmake | ||
| setenv ICE_MACHINE_WKDIR $HOME/scratch/CICE_RUNS | ||
| setenv ICE_MACHINE_INPUTDATA /home/Anthony.Craig/scratch/CICE_INPUTDATA | ||
| setenv ICE_MACHINE_BASELINE $HOME/scratch/CICE_BASELINE | ||
| setenv ICE_MACHINE_SUBMIT "sbatch" | ||
| setenv ICE_MACHINE_TPNODE 192 | ||
| setenv ICE_MACHINE_ACCT marine-cpu | ||
| setenv ICE_MACHINE_QUEUE "batch" | ||
| setenv ICE_MACHINE_BLDTHRDS 1 | ||
| setenv ICE_MACHINE_QSTAT "squeue --jobs=" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
You're also adding wcoss2---Aren't other changes also required in order to run on wcoss2?
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.
I consider this a pre-adaptation for the WCOSS2, which, yes, requires the env and macros files. This aspect works as is (being uninvoked, but even when it is (development in parallel) it works ok. issues with env and or macros on wcoss2).