-
Notifications
You must be signed in to change notification settings - Fork 278
Expand file tree
/
Copy pathufs_common.lua
More file actions
30 lines (27 loc) · 980 Bytes
/
ufs_common.lua
File metadata and controls
30 lines (27 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
whatis("Description: UFS build environment common libraries")
help([[Load UFS Model common libraries]])
local ufs_modules = {
{["jasper"] = "2.0.32"},
{["libpng"] = "1.6.37"},
{["hdf5"] = "1.14.3"},
{["netcdf-c"] = "4.9.2"},
{["netcdf-fortran"] = "4.6.1"},
{["parallelio"] = "2.6.2"},
{["esmf"] = "8.8.0"},
{["fms"] = "2024.02"},
{["bacio"] = "2.4.1"},
{["crtm"] = "2.4.0.1"},
{["g2"] = "3.5.1"},
{["g2tmpl"] = "1.13.0"},
{["ip"] = "5.1.0"},
{["sp"] = "2.5.0"},
{["w3emc"] = "2.10.0"},
{["gftl-shared"] = "1.9.0"},
{["mapl"] = "2.53.4-esmf-8.8.0"},
}
for i = 1, #ufs_modules do
for name, default_version in pairs(ufs_modules[i]) do
local env_version_name = string.gsub(name, "-", "_") .. "_ver"
load(pathJoin(name, os.getenv(env_version_name) or default_version))
end
end