Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
177 commits
Select commit Hold shift + click to select a range
8fa1aa5
Update version number to 8.2.3
mgduda Oct 21, 2024
fc89b32
* In ./src/core_atmosphere/physics, added diagnostics of the grid-mea…
ldfowler58 Aug 29, 2024
a9cc657
* In ./src/core_atmosphere/physics/mpas_atmphys_driver_seaice.F, modi…
ldfowler58 Oct 11, 2024
b7f10af
* In ./src/core_atmosphere/physics, corrected the calculation of q2, …
ldfowler58 Oct 11, 2024
4ba48ba
* In ./src/core_atmosphere/physics/mpas_atmphys_lsm_noahmpinit.F, add…
ldfowler58 Nov 1, 2024
1720638
* In ./src/core_init_atmosphere/mpas_init_atm_thompson_aerosols, get …
ldfowler58 Dec 2, 2024
d116baa
Merge branch 'NSF-MPAS/correct_thompson_aerosols_lbc' into hotfix-v8.…
mgduda Dec 18, 2024
e9efa0e
Merge branch 'NSF-MPAS/noahmp_fix_tslb' into hotfix-v8.2.3 (PR #1244)
mgduda Dec 18, 2024
1e49926
* In ./src/core_init_atmosphere:
ldfowler58 Dec 2, 2024
f9bc56b
Merge branch 'NSF-MPAS/correct_units_static_fields' into hotfix-v8.2.…
mgduda Dec 19, 2024
80c17cf
Remove duplicate allocation of indexToEdgeID in mpas_io_setup_edge_bl…
mgduda Dec 30, 2024
1d5ac14
Merge branch 'framework/fix_duplicate_indexToEdgeID_alloc' into hotfi…
mgduda Jan 6, 2025
6784e82
New algorithm to improve memory usage and parallelism in the estimati…
abishekg7 Aug 23, 2024
d1fabde
Deallocating fields used by get_box at the end of compute_gwd_fields
abishekg7 Jan 10, 2025
90f7ecc
Fix memory leak from cellLimitField in mpas_block_creator_build_cell_…
mgduda Jan 7, 2025
7ad8bf6
Improve tile search performance in get_tile_from_box_point using the …
abishekg7 Jan 11, 2025
c13fb77
Prepare for OpenACC porting in atm_bdy_adjust_scalars_work
Jan 16, 2025
be338c9
Initial OpenACC port of atm_recover_large_step_variables_work
Aug 29, 2024
f3006fa
Add OpenACC directives to enable executing atm_bdy_set_scalars_work o…
jim-p-w Jan 20, 2025
125ff0b
Add OpenACC directives to enable executing atm_zero_gradient_w_bdy_wo…
jim-p-w Jan 20, 2025
b3394f8
Add source files for computing GSL GWD orography statistics to init_a…
mdtoyNOAA Jan 24, 2025
53dde87
Define Registry.xml entities for GSL GWDO scheme in the init_atmosphe…
mdtoyNOAA Jan 24, 2025
9ecb7cf
Add call to compute GSL GWDO fields in init_atm_setup_case() routine
mdtoyNOAA Jan 24, 2025
de83183
Add new Externals.cfg entry for GSL UGWP
mdtoyNOAA Jan 24, 2025
48f988a
Add UGWP directory to .gitignore file in src/core_atmosphere/physics
mdtoyNOAA Jan 24, 2025
90f8d7f
Define Registry.xml entities for the GSL UGWP scheme
mdtoyNOAA Jan 24, 2025
b4f0f71
Add MPAS wrapper module in the physics_wrf directory for the UGWP sch…
mdtoyNOAA Jan 24, 2025
5050d24
Hook up the GSL UGWP schemes into the MPAS-A physics drivers
mdtoyNOAA Jan 24, 2025
839cf5b
Merge branch 'develop' of https://github.com/mpas-Dev/MPAS-Model into…
mdtoyNOAA Jan 24, 2025
59bba9b
Initial OpenACC port of the mpas_atm_get_bdy_state{2d,3d} functions
Jan 24, 2025
403e194
Add OpenACC data movement to mpas_atm_get_bdy_state_{2d,3d} functions
Jan 25, 2025
947343f
Enforce correct OpenACC data in mpas_atm_get_bdy_state_{2d,3d} functions
Jan 25, 2025
a443f40
Make SMIOL the default I/O layer when running cmake.
jim-p-w Jan 27, 2025
7fcc9dd
Declare constants at the native precision of MPAS
kuanchihwang Nov 14, 2024
f359771
Disable physics for MPAS dycore-only build
kuanchihwang Aug 1, 2024
f96efac
Add a new 'version' global attribute to all netCDF stream output files
barlage Jan 22, 2025
e9e1865
Merge branch 'version_output' into develop (PR #1273)
mgduda Jan 30, 2025
530a5bd
Merge branch 'cmake-smiol-on' into develop (PR #1280)
mgduda Jan 30, 2025
a3046e6
Merge branch 'atmosphere/acc_recover_large_step' into develop (PR #1220)
mgduda Jan 31, 2025
03f6c1e
Merge branch 'atmosphere/acc_atm_zero_gradient_w_bdy_work' into devel…
mgduda Jan 31, 2025
c304356
Initial OpenACC port of atm_advance_acoustic_step_work
Sep 3, 2024
bb22eb6
Merge branch 'atmosphere/acc_atm_bdy_set_scalars_work' into develop (…
mgduda Jan 31, 2025
d1a4a94
Merge branch 'atmosphere/acc_advance_acoustic_step' into develop (PR …
mgduda Jan 31, 2025
7a8aa40
Initial OpenACC port of atm_bdy_reset_speczone_values
abishekg7 Jan 17, 2025
4d7cc96
Merge branch 'atmosphere/acc_atm_get_bdy_states' into develop (PR #1279)
mgduda Jan 31, 2025
991ba7b
Initial OpenACC port of atm_bdy_adjust_dynamics_speczone_tend
Jan 17, 2025
a34bd9a
Modified Makefiles in core_atmosphere and core_atmosphere/physics
mdtoyNOAA Feb 1, 2025
8b3a3d4
Add OpenACC directives to enable executing mpas_atm_get_bdy_tend on G…
jim-p-w Feb 3, 2025
283c77f
Merge branch 'framework/fix_cellLimitField_leak' into hotfix-v8.2.3 (…
mgduda Feb 4, 2025
bd038d1
Fix bug in determining when decompositions can be reused by the SMIOL…
mgduda Aug 30, 2023
0f868c2
Merge branch 'staging/dycore-without-physics' into develop (PR #1281)
mgduda Feb 19, 2025
baebb48
Enforce `implicit none` at the module level of `mpas_constants`
kuanchihwang Jan 27, 2025
f37643e
Only `use` needed variables to avoid namespace pollution at the modul…
kuanchihwang Jan 27, 2025
9dd4113
Specify the accessibility of module variables in `mpas_constants`
kuanchihwang Jan 27, 2025
1353687
Clean up whitespaces in the `mpas_constants` module
kuanchihwang Jan 27, 2025
9083b86
Merge branch 'framework/fix_smiol_decomp_reuse' into hotfix-v8.2.3 (P…
mgduda Feb 25, 2025
3da684e
Add unit tests to the test core for mpas_adjust_alarm_to_reference_time
mgduda Feb 26, 2025
15f3337
Added 'DO_PHYSICS' pre-processing directives around 'ugwp' streams
mdtoyNOAA Feb 28, 2025
b669db1
Merge branch 'staging/dycore-with-native-constant-precision' into dev…
mgduda Feb 28, 2025
054cccd
Fix error reporting when config_nfglevels is insufficiently large
abishekg7 Feb 26, 2025
71f3d22
Prefix all namelist group and option names for MPAS dycore in CAM/CAM…
kuanchihwang Jan 29, 2025
657794f
Merge branch 'staging/dycore-prefix-namelist' into develop (PR #1285)
mgduda Feb 28, 2025
2073976
Merge branch 'init_atmosphere/fix_config_nfglevels_msg' into hotfix-v…
mgduda Feb 28, 2025
2e7b50a
* In src/core_atmosphere/physics, updated the RRTMG longwave radiatio…
ldfowler58 Mar 11, 2025
2e4be10
* In ./src/core_atmosphere/physics/physics_wrf/module_ra_rrtmg_lw.F, …
ldfowler58 Mar 11, 2025
c5240c4
* In ./src/core_atmosphere/physics, minor clean-up in mpas_atmphys_dr…
ldfowler58 Mar 11, 2025
5f99ec6
Add support for building with the nvhpc toolchain via cmake.
jim-p-w Mar 24, 2025
95403c1
Updated GitHub URL for submodule GSL_UGWP
mdtoyNOAA Apr 11, 2025
012f723
Merge branch 'atmosphere/acc_atm_bdy_adjust_dynamics_speczone_tend' i…
mgduda Apr 11, 2025
4c15edd
Merge branch 'atmosphere/port_atm_bdy_reset_speczone_values' into dev…
mgduda Apr 11, 2025
29b9178
Preventing unnecessary model termination in physics_compatibility_check
mdtoyNOAA Apr 11, 2025
fcb7b24
added capability for understanding ICON soil variables
MHBalsmeier Apr 12, 2025
30025a5
Initial OpenACC port of atm_rk_dynamics_substep_finish
abishekg7 Aug 1, 2024
4a23710
Initializing the garbage cells for theta_m_1 in atm_rk_dynamics_subst…
abishekg7 Jan 17, 2025
c1941a8
Updated name of UGWP branch in Externals.cfg
mdtoyNOAA Apr 18, 2025
57b4f1b
Merge branch 'atmosphere/port_atm_rk_dynamics_substep_finish' into de…
mgduda Apr 24, 2025
755e90b
correct the loop for NoahMP snow initialization
CharlesZheZhang Apr 25, 2025
d978cc8
Add parallel and loop directives to atm_bdy_adjust_scalars_work
Jan 16, 2025
a56012f
Copy invariant fields used in atm_bdy_adjust_scalars_work
Jan 16, 2025
dd38bd0
Add acc data movement to atm_bdy_adjust_scalars_work
Jan 16, 2025
c740a49
Miscellaneous UGWP updates
mdtoyNOAA Apr 28, 2025
9d77ff6
For the regional configuration, this commit changes the zero-gradient…
skamaroc Aug 7, 2024
4ea254b
This commit changes the horizontal interpolation from a four-point
skamaroc Aug 7, 2024
f7adde0
Initial OpenACC port of atm_bdy_adjust_dynamics_relaxzone_tend
abishekg7 Jan 17, 2025
13bb8d5
Bugfix for horizontal 2nd-order filter for the cam upper absorbing layer
skamaroc Apr 29, 2025
101928a
Changed location of UGWP physics submodule
mdtoyNOAA Apr 30, 2025
8faa834
Merge branch 'atmosphere/port_atm_bdy_adjust_dynamics_relaxzone_tend'…
mgduda May 2, 2025
8fce7b6
Merge branch 'atmosphere/acc_atm_bdy_adjust_scalars' into develop (PR…
mgduda May 2, 2025
9f79b36
Merge branch 'atmosphere/mpas_atm_get_bdy_tend' into develop (PR #1277)
mgduda May 2, 2025
88272f0
Prepare for OpenACC porting in mpas_reconstruct_2d
Feb 7, 2025
607d858
Initial OpenACC port of mpas_vector_reconstruct_2d
Feb 14, 2025
e4b5bd4
Merge branch 'framework/acc_mpas_reconstruct_2d' into develop (PR #1289)
mgduda May 3, 2025
2957da3
Convert mpas_atm_get_bdy_tend from a function to a subroutine
mgduda May 6, 2025
52458ff
Eliminate data copies between mpas_atm_get_bdy_tend and atm_bdy_adjus…
mgduda May 6, 2025
0e12ead
Convert mpas_atm_get_bdy_state_{2d,3d} from functions to subroutines
mgduda May 6, 2025
81bbe97
Convert several loop bounds in atm_srk3 from integer pointers to simp…
mgduda May 6, 2025
2b4d8e5
Port code in atm_srk3 for setting 'u' and 'ru' in spec zone to GPUs w…
mgduda May 6, 2025
a142531
Eliminate host-device copying of LBC driving data from mpas_atm_get_b…
mgduda May 6, 2025
37d4345
Merge branch 'atmosphere/get_bdy_tend_subroutine' into develop (PR #1…
mgduda May 7, 2025
e42d454
Prepare summarize_timestep routine for OpenACC
May 7, 2025
fe1638a
Initial OpenACC port of summarize_timestep
May 7, 2025
8a054cc
Merge branch 'atmosphere/get_bdy_state_subroutine' into develop (PR #…
mgduda May 8, 2025
d32d84d
Merge branch 'atmosphere/acc_summarize_timestep' into develop (PR #1294)
mgduda May 8, 2025
1eb2b33
Merge branch 'cmake-nvhpc-support' into develop (PR #1286)
mgduda May 9, 2025
d2c0680
Merge branch 'GSL_UGWP_mdtoy' into develop (PR #1276)
mgduda May 12, 2025
8342cf7
Merge branch 'atmosphere/reduce_gwd_mem_usage' into develop (PR #1235)
mgduda May 12, 2025
bd4bb76
Enable GPU execution of atm_compute_dyn_tend_work routine via OpenACC…
mgduda May 7, 2025
42b473a
Merge branch 'atmosphere/openacc_dyn_tend' into develop (PR #1308)
mgduda May 13, 2025
bac5e9c
Merge branch 'mpas_16pt_init' into develop (PR #1303)
mgduda May 13, 2025
ba6b76f
Merge branch 'mpas_v8.2.3_noahmp_snowinit' into hotfix-v8.2.3 (PR #1300)
mgduda May 13, 2025
3fe7ae1
Merge branch 'icon_soil_init' into develop (PR #1298)
mgduda May 13, 2025
b245d21
Merge branch 'V8.2.2_bugfix_kdiff' into hotfix-v8.2.3 (PR #1302)
mgduda May 13, 2025
4225907
Bugfix in mpas_init_atm_cases regarding the mountain wave test case
MHBalsmeier May 13, 2025
a30ff38
Merge branch 'init_atm_cases_bugfix' into hotfix-v8.2.3 (PR #1312)
mgduda May 14, 2025
2e70463
Consolidating access to the config_dt namelist option via atm_setup_c…
abishekg7 Mar 7, 2025
11e6e01
Merge branch 'regional_lbc' into develop (PR #1304)
mgduda May 14, 2025
aa6de2b
Enable GPU execution of loops in atm_srk3 involving module level vari…
abishekg7 May 13, 2025
30b880b
This change updates the cmake files to incorporate NOAA's Unified For…
jim-p-w May 14, 2025
3efed62
Merge branch 'atmosphere/port_atm_srk3_module_vars' into develop (PR …
mgduda May 15, 2025
c797ba1
Merge branch 'atmosphere/cmake_noaa_ugwp' into develop (PR #1316)
mgduda May 15, 2025
956b020
Merge branch 'atmosphere/read_config_dt_once' into develop (PR #1293)
mgduda May 15, 2025
e000dbd
This change updates the core_init_atmosphere cmake file to add new files
jim-p-w May 15, 2025
abdc19b
Merge branch 'init_atmosphere/cmake_noaa_ugwp' into develop (PR #1320)
mgduda May 16, 2025
ddea0f0
Allow printing of values of type integer(kind=I8KIND) with mpas_log_w…
jim-p-w May 16, 2025
fe766bf
Merge branch 'mpas_log_int8' into develop (PR #1261)
mgduda May 16, 2025
fe2e528
Initial OpenACC port of the mpas_atm_update_bdy_tend subroutine
abishekg7 Apr 29, 2025
29f931b
Merge branch 'atmosphere/port_mpas_atm_update_bdy_tend' into develop …
mgduda May 20, 2025
d3473ec
* In ./src/core_atmosphere/physics/mpas_atmphys_driver_lsm_noahmp.F:
ldfowler58 May 20, 2025
4425a2b
Merge branch 'Noah-MP_v8.2.0/fix_2meter_diagnostics' into hotfix-v8.2…
mgduda May 20, 2025
66d310a
Provide consistency in setting of prevRingTime for alarms when changi…
mgduda Feb 13, 2025
1858b7d
Merge branch 'framework/adjust_alarm_prevRingTime' into hotfix-v8.2.3…
mgduda May 20, 2025
76b8269
Merge branch 'NSF-MPAS/atmosphere/rrtmg_lw' into develop (PR #1296)
mgduda May 20, 2025
5b98047
* In src/core_atmosphere/physics/updated the RRTMG shortwave radiatio…
ldfowler58 Mar 26, 2025
23d204b
* In ./src/core_atmosphere/physics/physics_wrf, continued to update m…
ldfowler58 Mar 26, 2025
44adf52
* In ./src/core_atmosphere/physics/physics_wrf/module_ra_rrtmg_sw.F, …
ldfowler58 Mar 26, 2025
9c7d1be
* In ./src/core_atmosphere/physics/physics_wrf/module_ra_rrtmg_sw.F, …
ldfowler58 Mar 26, 2025
64c2e89
Merge branch 'NSF-MPAS/atmosphere/rrtmg_sw' into develop (PR #1297)
mgduda May 20, 2025
64cd12a
There is index error in variable rvcuten whose index is set to (k,k) …
lo-y-wni Jan 29, 2025
cd775f3
Merge remote-tracking branch 'lo-y-wni/bug_fix' into hotfix-v8.2.3 (P…
mgduda May 21, 2025
b3be153
Added option for 30" BNU soil category data in init_atmosphere core
tanyasmirnova Dec 12, 2024
3d60910
Added option for 15" MODIS vegetation data in the init_atmosphere core
tanyasmirnova Dec 12, 2024
745251b
Added config_lu_supersample_factor for use with 30s or 15s MODIS land…
tanyasmirnova Dec 16, 2024
bcf13cf
Merge branch 'MPAS_ncar_static' into develop (PR #1322)
mgduda May 23, 2025
ac3866c
Merge branch 'hotfix-v8.2.3'
mgduda May 23, 2025
00d4c02
Merge branch 'master' into develop
mgduda May 27, 2025
0a5ac5b
Add 3-d radar reflectivity (refl10cm) to the 'da_state' output stream
weiwangncar May 26, 2025
bbc3ce3
Merge branch 'atmosphere/refl3d' into develop (PR #1323)
mgduda May 27, 2025
f70529b
Introduce new XML attribute, active_when, for <package> elements in t…
mgduda Nov 21, 2024
02b0d05
This change adds mpas_atmphys_sfc_diagnostics.F to the atmosphere cma…
jim-p-w May 27, 2025
59aded3
Catch nonzero return error codes in Registry parse_reg_xml function
mgduda May 21, 2025
957aad7
Add log messages to the registry-generated package-logic code
mgduda May 22, 2025
0ff910f
Add debug output to generated package logic when compiling MPAS with …
mgduda May 27, 2025
973879f
Connect generated package logic capability to the init_atmosphere core
mgduda May 22, 2025
a62065e
Connect generated package logic capability to the atmosphere core
mgduda May 22, 2025
736ce99
Merge branch 'framework/generated_package_logic' into develop (PR #1321)
mgduda May 27, 2025
888e4e8
Merge branch 'atmosphere/cmake_pr1242' into develop (PR #1324)
mgduda May 28, 2025
00debc1
Fix DEBUG build issues due to Fortran-only LDFLAGS for the 'intel' ta…
mgduda May 29, 2025
9c0b20d
Convert config_apply_lbcs from a logical pointer to a simple logical …
mgduda May 29, 2025
e1e932b
Eliminate intermediate refl10cm_p array when capturing 3-d refl10cm
mgduda May 29, 2025
4476492
Merge branch 'framework/makefile_intel_debug' into develop (PR #1327)
mgduda May 29, 2025
1459c49
Merge branch 'atmosphere/nonpointer_config_apply_lbcs' into develop (…
mgduda May 29, 2025
0c9479d
Merge branch 'atmosphere/remove_refl10cm_p' into develop (PR #1329)
mgduda May 30, 2025
621460c
Add new Python script for setting up an MPAS-Atmosphere run directory
mgduda May 28, 2025
691c707
Merge branch 'atmosphere/setup_run_dir' into develop (PR #1326)
mgduda May 30, 2025
00342f1
Fix OpenACC partially present error for rho_zz_int in atm_advance_sca…
mgduda May 30, 2025
f5d7c3b
Merge branch 'atmosphere/rho_zz_int_decl' into develop (PR #1330)
mgduda Jun 1, 2025
f6b0ea9
Add the environment helper scripts for testing
islas Jan 29, 2025
550412d
Add a compilation test script
islas Jan 29, 2025
10d0788
Add a framework to easily facilitate testing
islas Jan 29, 2025
d75ec82
Add a simple test definition for testing GNU 12.2.0 compilation
islas Jan 29, 2025
dea3c01
Preliminary
abishekg7 Feb 12, 2025
35b5c34
adding nvhpc-cpu test
abishekg7 Feb 21, 2025
f0283cf
adding nvhpc-cpu test
abishekg7 Feb 21, 2025
13ec669
Some cleanups and refactoring to be POSIX shell compliant
abishekg7 Mar 5, 2025
c3ca7f1
Adding double precision builds
abishekg7 Mar 5, 2025
3e4801b
Some more changes
abishekg7 Mar 5, 2025
4dccb2c
WIP: Enable testing on Eris
abishekg7 Jun 10, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 22 additions & 0 deletions .ci/env/derecho.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
#!/bin/sh

echo "Setting up derecho environment"
workingDirectory=$PWD
. /etc/profile.d/z00_modules.sh
echo "Loading modules : $*"
cmd="module --force purge"
echo $cmd && eval "${cmd}"

# We should be handed in the modules to load
while [ $# -gt 0 ]; do
cmd="module load $1"
echo $cmd && eval "${cmd}"
shift
done

# Go back to working directory if for unknown reason HPC config changing your directory on you
if [ "$workingDirectory" != "$PWD" ]; then
echo "derecho module loading changed working directory"
echo " Moving back to $workingDirectory"
cd $workingDirectory
fi
30 changes: 30 additions & 0 deletions .ci/env/eris.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
#!/bin/sh

echo "Setting up ERIS environment"
workingDirectory=$PWD

ulimit -s unlimited

source /nfs/coe-sw/lmod/8.7/init/bash

#module use /home/agopal/software/modules
# Overwriting the system value of MODULEPATH to include our own modules
export MODULEPATH=/home/agopal/software/modules/compilers:/home/agopal/software/modules/cdep

echo "Loading modules : $*"
cmd="module --force purge"
echo $cmd && eval "${cmd}"

# We should be handed in the modules to load
while [ $# -gt 0 ]; do
cmd="module load $1"
echo $cmd && eval "${cmd}"
shift
done

# Go back to working directory if for unknown reason HPC config changing your directory on you
if [ "$workingDirectory" != "$PWD" ]; then
echo "Eris module loading changed working directory"
echo " Moving back to $workingDirectory"
cd $workingDirectory
fi
46 changes: 46 additions & 0 deletions .ci/env/helpers.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
#!/bin/sh

# Useful string manipulation functions, leaving in for posterity
# https://stackoverflow.com/a/8811800
# contains(string, substring)
#
# Returns 0 if the specified string contains the specified substring,
# otherwise returns 1.
contains()
{
string="$1"
substring="$2"

if [ "${string#*"$substring"}" != "$string" ]; then
echo 0 # $substring is in $string
else
echo 1 # $substring is not in $string
fi
}

setenvStr()
{
# Changing IFS produces the most consistent results
tmpIFS=$IFS
IFS=","
string="$1"
for s in $string; do
if [ ! -z $s ]; then
eval "echo export \"$s\""
eval "export \"$s\""
fi
done
IFS=$tmpIFS
}

banner()
{
lengthBanner=$1
shift
# https://www.shellscript.sh/examples/banner/
printf "#%${lengthBanner}s#\n" | tr " " "="
printf "# %-$(( ${lengthBanner} - 2 ))s #\n" "`date`"
printf "# %-$(( ${lengthBanner} - 2 ))s #\n" " "
printf "# %-$(( ${lengthBanner} - 2 ))s #\n" "$*"
printf "#%${lengthBanner}s#\n" | tr " " "="
}
19 changes: 19 additions & 0 deletions .ci/env/hostenv.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/bin/sh

# Allow selection of hostname, and if none is provided use the current machine
# While this may seem unintuitive at first, it provides the flexibility of using
# "named" configurations without being explicitly tied to fqdn
hostname=$AS_HOST
if [ -z "$hostname" ]; then
hostname=$( python3 -c "import socket; print( socket.getfqdn() )" )
fi

if [ $( contains ${hostname} hsn.de.hpc ) -eq 0 ]; then
# Derecho HPC SuSE PBS
. .ci/env/derecho.sh
elif [ $( contains ${hostname} eris ) -eq 0 ]; then
# Derecho HPC SuSE PBS
. .ci/env/eris.sh
else
echo "No known environment for '${hostname}', using current"
fi
1 change: 1 addition & 0 deletions .ci/hpc-workflows
Submodule hpc-workflows added at 97ca80
48 changes: 48 additions & 0 deletions .ci/mpas_compilation.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
// MPAS Compilation tests
{
"submit_options" :
{
// Default values
"timelimit" : "00:15:00",
"working_directory" : "..",
"arguments" :
{
"base_env_numprocs" : [ "-e", "NUM_PROCS=4" ],

".*make.*::args_build_core" : [ "-c", "atmosphere" ],
".*debug.*::args_build_debug" : [ "-d" ],
".*make.*::args_build_options" : [ "-b", "-j $NUM_PROCS" ],
".*make.*gnu.*::args_target" : [ "-t", "gnu" ]
},
// Derecho-specifics
"hsn.de.hpc" :
{
"submission" : "PBS",
"queue" : "main",
"hpc_arguments" :
{
"node_select" : { "-l " : { "select" : 1, "ncpus" : 16 } },
"priority" : { "-l " : { "job_priority" : "economy" } }
},
"arguments" :
{
// We want NUM_PROCS to match ncpus
"base_env_numprocs" : [ "-e", "NUM_PROCS=16" ],
"very_last_modules" : [ "cray-mpich", "parallel-netcdf" ],
".*gnu.*::test_modules" : [ "gcc/12.2.0" ]
}
}
},
// Specific GNU compilation test
"make-gnu" :
{
"steps" :
{
// Eventually include debug and other compile modes
"optimized" :
{
"command" : ".ci/tests/build.sh"
}
}
}
}
179 changes: 179 additions & 0 deletions .ci/mpas_refgen.jsonc
Original file line number Diff line number Diff line change
@@ -0,0 +1,179 @@
// MPAS Compilation tests
{
"submit_options" :
{
// Default values
"timelimit" : "00:15:00",
"working_directory" : "..",
"arguments" :
{
"base_env_numprocs" : [ "-e", "NUM_PROCS=4" ],

".*make.*::args_build_core" : [ "-c", "atmosphere" ],
".*debug.*::args_build_debug" : [ "-d" ],
".*make.*double.*::args_build_precision" : [ "-p" ],
//".*make.*gpu.*::args_build_options_0" : [ "-g" ],
//".*make.*cpu.*::args_build_options" : [ "-b", "-j $NUM_PROCS" ],
".*make.*::args_build_options" : [ "-b", "-j $NUM_PROCS"],
".*gnu.*::args_target" : [ "-t", "gnu" ],
".*make.*nvhpc.*::args_target" : [ "-t", "nvhpc" ],
".*make.*nvhpc.*gpu.*::args_openacc" : [ "-g" ],
".*test_.*::args_namelist" : [ "-b", "atmosphere_model"],
".*test_jw.*::args_namelist" : [ "-f", "/glade/campaign/mmm/wmr/mpas_ci/jw_baroclinic"],
".*test_conus.*::args_namelist" : [ "-f", "/glade/campaign/mmm/wmr/mpas_ci/conus_lam"],
".*test_.*cpu.*::args_namelist" :
[
"-p", "mpiexec -n $CI_NTASKS -ppn $CI_TASKS_PER_NODE"
],
".*test_.*gpu.*::args_namelist" :
[
"-p", "mpiexec -n $CI_NTASKS -ppn $CI_TASKS_PER_NODE set_gpu_rank "
]
},
// Derecho-specifics
"hsn.de.hpc" :
{
"submission" : "PBS",
"queue" : "develop",
"-m" : "n",
"hpc_arguments" :
{
".*make.*::node_select" :
{
"-l " : { "select" : 1, "ncpus" : 64, "mpiprocs" : 16 }
},
".*test_jw.*(refgen|restart).*cpu.*::node_select" :
{
"-l " : { "select" : 1, "ncpus" : 1 }
},
".*test_conus.*refgen.*cpu.*::node_select" :
{
"-l " : { "select" : 1, "ncpus" : 64, "mpiprocs" : 1 }
},
".*test_jw.*parallel.*cpu.*::node_select" :
{
"-l " : { "select" : 1, "ncpus" : 16, "mpiprocs" : 4 }
},
".*test_jw.*perf.*cpu.*::node_select" :
{
"-l " : { "select" : 1, "ncpus" : 16, "mpiprocs" : 4 }
},
".*test_jw.*(refgen|restart).*gpu.*::node_select" :
{
"-l " : { "select": 1, "ncpus": 16, "mpiprocs":1, "ngpus":1 }
},
".*test_jw.*(multigpu|perf).*gpu.*::node_select" :
{
"-l " : { "select": 1, "ncpus": 16, "mpiprocs":2, "ngpus":2 }
},
".*test_conus.*(refgen|restart).*gpu.*::node_select" :
{
"-l " : { "select": 1, "ncpus": 16, "mpiprocs":2, "ngpus":2 }
},
"priority" : { "-l " : { "job_priority" : "economy" } },
"mail_events" : { "-m " : { "n" : ""}}
},
"arguments" :
{
// We want NUM_PROCS to match ncpus
//"base_env_numprocs" : [ "-e", "NUM_PROCS=16, LD_LIBRARY_PATH=/glade/u/apps/derecho/23.09/spack/opt/spack/parallel-netcdf/1.12.3/cray-mpich/8.1.27/gcc/12.2.0/sq5u/lib:/glade/u/apps/derecho/23.09/spack/opt/spack/netcdf/4.9.2/gcc/12.2.0/gjc6/lib:\\\\$LD_LIBRARY_PATH" ],
"base_env_numprocs" : [ "-e", "NUM_PROCS=16" ],
"global_modules" : [ "ncarenv/23.09"],
".*gnu.*::test_modules" : [ "gcc/12.2.0","cray-mpich", "parallel-netcdf", "netcdf" ],
".*nvhpc.*::test_modules" : [ "nvhpc/24.3","cray-mpich","ncarcompilers", "parallel-netcdf", "cuda" ]

}
}
},

"gnu" :
{
"submit_options" :
{
"arguments" :
{
// Remove auto-filled dir and supply sub-testcase specific ones
".*test_.*::args_namelist_dir" : ["-e", "LD_LIBRARY_PATH=/glade/u/apps/derecho/23.09/spack/opt/spack/parallel-netcdf/1.12.3/cray-mpich/8.1.27/gcc/12.2.0/sq5u/lib:/glade/u/apps/derecho/23.09/spack/opt/spack/netcdf/4.9.2/gcc/12.2.0/gjc6/lib:\\\\$LD_LIBRARY_PATH"]
}
},
"steps" :
{
// "make-release" :
// {
// "command" : ".ci/tests/build.sh"
// },
// "test_jw-refgen-cpu" :
// {
// "submit_options" : { "timelimit" : "00:15:00" },
// "command" : ".ci/tests/runTestCases.sh",
// "arguments" : ["-d", "cpu", "-t", "gnu", "-c", "jw", "-g", "refgen"],
// "dependencies" : { "make-release" : "afterok" }
// },
"test_conus-refgen-cpu" :
{
"submit_options" : { "timelimit" : "00:15:00" },
"command" : ".ci/tests/runTestCases.sh",
"arguments" : ["-d", "gpu", "-t", "nvhpc", "-c", "conus", "-g", "refgen"]
//"dependencies" : { "make-release" : "afterok" }
}
}
},
"gnu-double" :
{
"submit_options" :
{
"arguments" :
{
".*test_.*::args_namelist_dir" : ["-e", "LD_LIBRARY_PATH=/glade/u/apps/derecho/23.09/spack/opt/spack/parallel-netcdf/1.12.3/cray-mpich/8.1.27/gcc/12.2.0/sq5u/lib:/glade/u/apps/derecho/23.09/spack/opt/spack/netcdf/4.9.2/gcc/12.2.0/gjc6/lib:\\\\$LD_LIBRARY_PATH" ]
}
},
"steps" :
{
"make-release-double" :
{
"command" : ".ci/tests/build.sh"
},
"test_jw-refgen-cpu" :
{
"submit_options" : { "timelimit" : "00:15:00" },
"command" : ".ci/tests/runTestCases.sh",
"arguments" : ["-d", "cpu", "-t", "gnu", "-c", "jw", "-g", "refgen", "-n"],
"dependencies" : { "make-release-double" : "afterok" }
}
}
},
"nvhpc-cpu" :
{
"steps" :
{
"make-nvhpc-release-cpu" :
{
"command" : ".ci/tests/build.sh"
},
"test_jw-nvhpc-refgen-cpu" :
{
"submit_options" : { "timelimit" : "00:15:00" },
"command" : ".ci/tests/runTestCases.sh",
"arguments" : ["-d", "cpu", "-t", "nvhpc", "-c", "jw", "-g", "refgen"],
"dependencies" : { "make-nvhpc-release-cpu" : "afterok" }
}
}
},
"nvhpc-gpu" :
{
"steps" :
{
"make-nvhpc-release-gpu" :
{
"command" : ".ci/tests/build.sh"
},
"test_jw-nvhpc-refgen-gpu" :
{
"submit_options" : { "timelimit" : "00:15:00" },
"command" : ".ci/tests/runTestCases.sh",
"arguments" : ["-d", "gpu", "-t", "nvhpc", "-c", "jw", "-g", "refgen"],
"dependencies" : { "make-nvhpc-release-gpu" : "afterok" }
}
}
}
}
Loading