Skip to content

Commit 5fe6901

Browse files
authored
Merge branch 'main' into add/tacc_vista
2 parents 41ab1b9 + 4b5e4eb commit 5fe6901

39 files changed

+1054
-3602
lines changed

component_grids_mct.xml

Lines changed: 0 additions & 664 deletions
This file was deleted.

component_grids_nuopc.xml

Lines changed: 69 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,13 @@
257257
<support>Test support only</support>
258258
</domain>
259259

260+
<domain name="ne0np4.NATL.ne30x8">
261+
<nx>317567</nx> <ny>1</ny>
262+
<mesh>$DIN_LOC_ROOT/share/meshes/NATL_ne30x8_np4_MESH_cdf5_c20250618.nc</mesh>
263+
<desc>ne0np4.NATL.ne30x8 is a Spectral Elem 1-deg grid with a 1/8 deg refined region over the North Atlantic:</desc>
264+
<support>Test support only</support>
265+
</domain>
266+
260267
<!-- CAM/MPAS meshes -->
261268
<domain name="mpasa480">
262269
<nx>2562</nx> <ny>1</ny>
@@ -397,6 +404,67 @@
397404
<desc>tripole v1 1-deg grid: testing proxy for high-res tripole ocean grids- do not use for scientific experiments</desc>
398405
<support>Experimental tripole ocean grid</support>
399406
</domain>
407+
<domain name="oQU480">
408+
<nx>7234</nx> <ny>1</ny>
409+
<mesh driver="nuopc">$DIN_LOC_ROOT/ocn/mpas-o/oQU480/oQU480_ESMFmesh.nc</mesh>
410+
<desc>oQU480 is a MPAS ocean grid that is roughly 4 degree resolution:</desc>
411+
<support>Experimental, under development</support>
412+
</domain>
413+
<domain name="oQU240">
414+
<nx>7234</nx> <ny>1</ny>
415+
<mesh driver="nuopc">$DIN_LOC_ROOT/ocn/mpas-o/oQU240/oQU240_ESMFmesh.nc</mesh>
416+
<desc>oQU240 is a MPAS ocean grid that is roughly 2 degree resolution:</desc>
417+
<support>Experimental, under development</support>
418+
</domain>
419+
<domain name="oQU120">
420+
<nx>28876</nx> <ny>1</ny>
421+
<mesh driver="nuopc">$DIN_LOC_ROOT/ocn/mpas-o/oQU120/oQU120_ESMFmesh.230524.nc</mesh>
422+
<desc>oQU120 is a MPAS ocean grid that is roughly 1 degree resolution:</desc>
423+
<support>Experimental, under development</support>
424+
</domain>
425+
<domain name="oEC60to30v3">
426+
<nx>28571</nx> <ny>1</ny>
427+
<mesh driver="nuopc">/glade/work/dazlich/ec60_30/oEC60to30_ESMFmesh.nc</mesh>
428+
<desc>oEC60to30v3 is a MPAS ocean grid that is roughly 1/2 degree resolution:</desc>
429+
<support>Experimental, under development</support>
430+
</domain>
431+
<domain name="oQU060">
432+
<nx>115494</nx> <ny>1</ny>
433+
<mesh driver="nuopc">$DIN_LOC_ROOT/ocn/mpas-o/oQU060/oQU060_ESMFmesh.230907.nc</mesh>
434+
<desc>oQU060 is a MPAS ocean grid that is roughly 1/2 degree resolution:</desc>
435+
<support>Experimental, under development</support>
436+
</domain>
437+
<domain name="oQU030">
438+
<nx>462000</nx> <ny>1</ny>
439+
<mesh driver="nuopc">$DIN_LOC_ROOT/ocn/mpas-o/oQU030/oQU030_ESMFmesh.241221.nc</mesh>
440+
<desc>oQU030 is a MPAS ocean grid that is roughly 1/4 degree resolution:</desc>
441+
<support>Experimental, under development</support>
442+
</domain>
443+
<domain name="oQU015">
444+
<nx>1850090</nx> <ny>1</ny>
445+
<mesh driver="nuopc">$DIN_LOC_ROOT/ocn/mpas-o/oQU015/oQU015_ESMFmesh.241221.nc</mesh>
446+
<desc>oQU015 is a MPAS ocean grid that is roughly 1/8 degree resolution:</desc>
447+
<support>Experimental, under development</support>
448+
</domain>
449+
<domain name="oQU0075">
450+
<nx>7399783</nx> <ny>1</ny>
451+
<mesh driver="nuopc">$DIN_LOC_ROOT/ocn/mpas-o/oQU0075/oQU0075_ESMFmesh.241221.nc</mesh>
452+
<desc>oQU0075 is a MPAS ocean grid that is roughly 1/16 degree resolution:</desc>
453+
<support>Experimental, under development</support>
454+
</domain>
455+
<domain name="oQU00375">
456+
<nx>29598824</nx> <ny>1</ny>
457+
<mesh driver="nuopc">$DIN_LOC_ROOT/ocn/mpas-o/oQU00375/oQU00375_ESMFmesh.241221.nc</mesh>
458+
<desc>oQU00375 is a MPAS ocean grid that is roughly 1/32 degree resolution:</desc>
459+
<support>Experimental, under development</support>
460+
</domain>
461+
<domain name="oRR60-3WUS">
462+
<nx>835536</nx> <ny>1</ny>
463+
<mesh driver="nuopc">/glade/work/dazlich/oRR60-3/oRR60-3WUS_ESMFmesh.nc</mesh>
464+
<desc>oQU60-3wus is a MPAS ocean grid that s 3km region refinement over the western US:</desc>
465+
<support>Experimental, under development</support>
466+
</domain>
467+
400468

401469
<!-- ======================================================== -->
402470
<!-- ROF domains -->
@@ -528,7 +596,7 @@
528596
</domain>
529597
<domain name="wgx3v7">
530598
<nx>100</nx> <ny>116</ny>
531-
<mesh>$DIN_LOC_ROOT/share/meshes/wgx3v7_2301208_ESMFmesh.nc</mesh>
599+
<mesh>$DIN_LOC_ROOT/share/meshes/wgx3v7_240327_ESMFmesh.nc</mesh>
532600
<desc>gx3v7 global grid</desc>
533601
<support>For testing of the WAV model</support>
534602
</domain>

config_grids_mct.xml

Lines changed: 0 additions & 59 deletions
This file was deleted.

config_inputdata.xml

Lines changed: 9 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,35 +7,28 @@
77
<!-- inputdata_chksum.dat is found on the server in the directory above inputdata -->
88
<!-- it will be searched for filename and chksum of each downloaded file. -->
99
<!-- see the file ftp://ftp.cgd.ucar.edu/cesm/inputdata_chksum.dat for proper format. -->
10-
<server>
11-
<comment>grid ftp requires the globus-url-copy tool on the client side </comment>
12-
<protocol>gftp</protocol>
13-
<address>ftp://gridanon.cgd.ucar.edu:2811/cesm/inputdata/</address>
14-
<checksum>../inputdata_checksum.dat</checksum>
15-
</server>
16-
1710
<server>
1811
<protocol>wget</protocol>
19-
<address>ftp://ftp.cgd.ucar.edu/cesm/inputdata/</address>
20-
<user>anonymous</user>
21-
<password>[email protected]</password>
12+
<address>https://ftp.cgd.ucar.edu/cesm/inputdata/</address>
2213
<checksum>../inputdata_checksum.dat</checksum>
2314
</server>
2415

2516
<server>
26-
<comment> ftp requires the python package ftplib </comment>
27-
<protocol>ftp</protocol>
28-
<address>ftp.cgd.ucar.edu/cesm/inputdata</address>
29-
<user>anonymous</user>
30-
<password>[email protected]</password>
31-
<checksum>../inputdata_checksum.dat</checksum>
17+
<comment> wget access to subversion </comment>
18+
<protocol>wget</protocol>
19+
<address>https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata/</address>
3220
</server>
3321

3422
<server>
3523
<protocol>svn</protocol>
3624
<address>https://svn-ccsm-inputdata.cgd.ucar.edu/trunk/inputdata</address>
3725
</server>
3826

27+
<server>
28+
<protocol>wget</protocol>
29+
<address>https://redoak.cs.toronto.edu/twitcher/ows/proxy/thredds/fileServer/datasets/CESM/inputdata/</address>
30+
</server>
31+
3932
<server CLM_USRDAT_NAME="NEON">
4033
<comment> NEON Tower data for datm </comment>
4134
<protocol>wget</protocol>

machines/Depends.gnu

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,12 @@ mo_fluxes_broadband_kernels.o
1414

1515
$(RRTMGP_OBJS): %.o: %.F90
1616
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -fno-openmp $<
17+
18+
ifeq ($(COMP_NAME),mpassi)
19+
# mpas seaice files that can't compile with optimization using gnu
20+
MPASSI_NOOPT_OBJS=\
21+
ice_shortwave.o
22+
23+
$(MPASSI_NOOPT_OBJS): %.o : %.F90
24+
$(FC) -c $(FPPFLAGS) $(INCLDIR) $(INCS) $(FREEFLAGS) $(FFLAGS) $(FFLAGS_NOOPT) $<
25+
endif

machines/Depends.intel

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,9 @@ derivative_mod.o \
66
bndry_mod.o \
77
prim_advance_mod.o
88

9-
# CLM's SatellitePhenologyMod is compiled incorrectly with intel 15.0.0 at -O2
9+
#
1010
REDUCED_OPT_OBJS=\
11-
SatellitePhenologyMod.o
11+
mo_rxt_rates_conv.o
1212

1313
# shr_wv_sat_mod does not need to have better than ~0.1% precision, and benefits
1414
# enormously from a lower precision in the vector functions.

machines/Depends.intel-oneapi

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,15 @@ derivative_mod.o \
66
bndry_mod.o \
77
prim_advance_mod.o
88

9-
# CLM's SatellitePhenologyMod is compiled incorrectly with intel 15.0.0 at -O2
9+
# FMS netcdf_io gives ICE in intel-oneapi/2024.0.2
10+
1011
REDUCED_OPT_OBJS=\
11-
SatellitePhenologyMod.o
12+
netcdf_io.o \
13+
fms_netcdf_domain_io.o \
14+
fms_netcdf_unstructured_domain_io.o
15+
16+
REDUCED_DEBUG_OBJS=\
17+
unicon.o
1218

1319
# shr_wv_sat_mod does not need to have better than ~0.1% precision, and benefits
1420
# enormously from a lower precision in the vector functions.
@@ -38,7 +44,7 @@ ifeq ($(DEBUG),FALSE)
3844
$(PERFOBJS): %.o: %.F90
3945
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O3 -no-prec-div $<
4046
$(REDUCED_OPT_OBJS): %.o: %.F90
41-
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O1 $<
47+
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O0 $<
4248
$(REDUCED_PRECISION_OBJS): %.o: %.F90
4349
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -fimf-precision=low -fp-model fast $<
4450
$(SHR_RANDNUM_FORT_OBJS): %.o: %.F90
@@ -47,5 +53,8 @@ ifeq ($(DEBUG),FALSE)
4753
$(CC) -c $(INCLDIR) $(INCS) $(CFLAGS) -O3 -fp-model fast $<
4854
$(PUMAS_MG_OBJS): %.o: %.F90
4955
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O3 -no-fma -ftz -no-prec-sqrt -qoverride-limits -no-inline-max-total-size -inline-factor=200 -qopt-report=5 $<
56+
else
57+
$(REDUCED_DEBUG_OBJS): %.o: %.F90
58+
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O0 -check nobounds -check nopointers $<
5059

5160
endif

machines/Depends.nvhpc

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,20 @@ REDUCED_OPT_OBJS=\
1313
SatellitePhenologyMod.o \
1414
esm.o
1515

16+
REDUCED_ERRORCHKS_IN_DEBUG=\
17+
fvm_consistent_se_cslam.o \
18+
clm_instMod.o \
19+
mpp.o \
20+
horiz_interp_conserve.o \
21+
data_override.o \
22+
MOM_io_infra.o \
23+
dynColumnStateUpdaterMod.o \
24+
prim_advection_mod.o \
25+
MARBL_forcing_mod.o \
26+
MOM_internal_tide_input.o \
27+
MOM_ice_shelf.o \
28+
mom_surface_forcing_nuopc.o
29+
1630
REDUCED_PRECISION_OBJS=\
1731
shr_wv_sat_mod.o
1832

@@ -61,6 +75,7 @@ mo_rte_solver_kernels.o \
6175
mo_optical_props_kernels.o
6276

6377
CLUBB_OBJS=\
78+
clubb_intr.o\
6479
adg1_adg2_3d_luhar_pdf.o\
6580
advance_clubb_core_module.o\
6681
advance_helper_module.o\
@@ -154,9 +169,18 @@ ifeq ($(DEBUG),FALSE)
154169
# $(SHR_RANDNUM_C_OBJS): %.o: %.c
155170
# $(CC) -c $(INCLDIR) $(INCS) $(CFLAGS) -O3 -fast $<
156171
$(PUMAS_OBJS): %.o: %.F90
157-
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O3 -fastsse -Mnofma -Mflushz -Mfprelaxed=sqrt $(GPUFLAGS) $<
172+
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -O3 -fastsse -Mnofma -Mflushz -Mfprelaxed=sqrt $(OPENACC_GPU_FLAGS) $<
158173
$(RRTMGP_OBJS): %.o: %.F90
159-
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(GPUFLAGS) $<
174+
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(OPENACC_GPU_FLAGS) $<
160175
$(CLUBB_OBJS): %.o: %.F90
161-
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(GPUFLAGS) $<
176+
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) $(OPENACC_GPU_FLAGS) $<
177+
178+
ifeq ($(COMP_NAME),mpaso)
179+
# mpas ocean files need gpuflags
180+
FFLAGS +=$(GPUFLAGS)
181+
endif
182+
183+
else
184+
$(REDUCED_ERRORCHKS_IN_DEBUG): %.o: %.F90
185+
$(FC) -c $(INCLDIR) $(INCS) $(FFLAGS) $(FREEFLAGS) -Mnobounds -Ktrap=none -Knoieee $<
162186
endif

machines/casper/casper.cmake

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
if (COMP_NAME STREQUAL gptl)
2+
string(APPEND CPPDEFS " -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY")
3+
endif()
4+
set(MPI_SERIAL_PATH "$ENV{NCAR_ROOT_MPI_SERIAL}")
5+
set(NETCDF_PATH "$ENV{NETCDF}")
6+
set(PIO_FILESYSTEM_HINTS "lustre")
7+
set(PNETCDF_PATH "$ENV{PNETCDF}")
8+
if(DEFINED ENV{PIO})
9+
set(PIO_LIBDIR "$ENV{PIO}/lib")
10+
set(PIO_INCDIR "$ENV{PIO}/include")
11+
endif()
12+
# If we want to use cray-libsci instead of mkl uncomment this line as well as the module in config_machines.xml
13+
string(REPLACE "-mkl=cluster" "" SLIBS "${SLIBS}")
14+
string(APPEND CPPDEFS " -DHAVE_GETTID")

machines/casper/config_batch.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
<submit_args>
55
<argument> -l gpu_type=$GPU_TYPE </argument>
66
</submit_args>
7-
<directives queue="casper" compiler="nvhpc" gpu_enabled="true">
7+
<directives queue="casper" gpu_enabled="true">
88
<directive default="/bin/bash" > -S {{ shell }} </directive>
9-
<directive> -l select={{ num_nodes }}:ncpus={{ max_tasks_per_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}:mem=700GB:ngpus={{ ngpus_per_node }}:mps=1 </directive>
9+
<directive> -l select={{ num_nodes }}:ncpus={{ max_tasks_per_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}:mem={{ mem_per_node }}GB:ngpus={{ ngpus_per_node }}:mps=1 </directive>
1010
</directives>
1111
<directives queue="casper" gpu_enabled="false">
1212
<directive default="/bin/bash" > -S {{ shell }} </directive>
13-
<directive> -l select={{ num_nodes }}:ncpus={{ max_tasks_per_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}:mem=300GB:ngpus={{ ngpus_per_node }} </directive>
13+
<directive> -l select={{ num_nodes }}:ncpus={{ max_tasks_per_node }}:mpiprocs={{ tasks_per_node }}:ompthreads={{ thread_count }}:mem={{ mem_per_node }}GB:ngpus={{ ngpus_per_node }} </directive>
1414
</directives>
1515
<!-- Unknown queues use the batch directives for the regular queue -->
1616
<unknown_queue_directives>casper</unknown_queue_directives>

0 commit comments

Comments
 (0)