-
Notifications
You must be signed in to change notification settings - Fork 44
Make GDASApp compiler with container #2066
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
RussTreadon-NOAA
merged 18 commits into
NOAA-EMC:develop
from
NOAA-EPIC:feature/use_container_spack-stack-1.9.2
Feb 13, 2026
Merged
Changes from all commits
Commits
Show all changes
18 commits
Select commit
Hold shift + click to select a range
4d3f01f
compile on noaa-cloud
weihuang-jedi 342c872
Merge branch 'NOAA-EMC:develop' into aws-epic-rocky8
weihuang-jedi 9c8e5b0
Merge branch 'NOAA-EMC:develop' into aws-epic-rocky8
weihuang-jedi ae0f819
Merge branch 'develop' into aws-epic-rocky8
weihuang-jedi 7e974bf
sync
weihuang-jedi 2b278fa
update container ss191
weihuang-jedi e0adcbf
Merge branch 'NOAA-EMC:develop' into feature/use_container_spack-stac…
weihuang-jedi a8960cc
using ss192 in container
weihuang-jedi 1df1bea
move gdas_common inside contaoner.intel, and use ss192 in container
weihuang-jedi 0f099c8
Merge branch 'NOAA-EMC:develop' into feature/use_container_spack-stac…
weihuang-jedi 32e56ce
Merge branch 'NOAA-EMC:develop' into feature/use_container_spack-stac…
weihuang-jedi 55d663d
update noaacloud testdata path
weihuang-jedi e969b5e
Merge branch 'NOAA-EMC:develop' into feature/use_container_spack-stac…
weihuang-jedi 705d05e
sync
weihuang-jedi 01695a4
Merge branch 'NOAA-EMC:develop' into feature/use_container_spack-stac…
weihuang-jedi bec2bee
add env for ursa
weihuang-jedi 3599410
add GDASApp testdata for /contrib as comment
weihuang-jedi af58814
add else back
weihuang-jedi 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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,116 @@ | ||
| help([[ | ||
| Load environment for running the GDAS application with Intel compilers and MPI. | ||
| ]]) | ||
|
|
||
| local pkgName = myModuleName() | ||
| local pkgVersion = myModuleVersion() | ||
| local pkgNameVer = myModuleFullName() | ||
|
|
||
| prepend_path("MODULEPATH", "/opt/spack-stack/spack-stack-1.9.2/envs/unified-env/install/modulefiles/Core") | ||
|
|
||
| stack_oneapi_ver=os.getenv("stack_oneapi_ver") or "2024.2.0" | ||
| stack_impi_ver=os.getenv("stack_impi_ver") or "2021.13" | ||
|
|
||
| load(pathJoin("stack-oneapi", stack_oneapi_ver)) | ||
| load(pathJoin("stack-intel-oneapi-mpi", stack_impi_ver)) | ||
|
|
||
| -- {["pkg-config"] = "1.4.2"}, | ||
| -- {["openblas"] = "0.3.24"}, | ||
| -- {["fftw"] = "3.3.10"}, | ||
| -- {["wget"] = "1.19.5"}, | ||
|
|
||
| local gdas_modules = { | ||
| {["cmake"] = "3.27.9"}, | ||
| {["jasper"] = "2.0.32"}, | ||
| {["gettext"] = "0.22.5"}, | ||
| {["curl"] = "7.81.0"}, | ||
| {["zlib"] = "1.2.11"}, | ||
| {["git"] = "2.34.1"}, | ||
| {["parallel-netcdf"] = "1.12.3"}, | ||
| {["netcdf-c"] = "4.9.2"}, | ||
| {["hdf5"] = "1.14.3"}, | ||
| {["nccmp"] = "1.9.0.1"}, | ||
| {["netcdf-fortran"] = "4.6.1"}, | ||
| {["nco"] = "5.2.4"}, | ||
| {["parallelio"] = "2.6.2"}, | ||
| {["boost"] = "1.84.0"}, | ||
| {["bufr"] = "12.1.0"}, | ||
| {["git-lfs"] = "3.0.2"}, | ||
| {["ecbuild"] = "3.7.2"}, | ||
| {["openjpeg"] = "2.3.1"}, | ||
| {["eccodes"] = "2.33.0"}, | ||
| {["eigen"] = "3.4.0"}, | ||
| {["eckit"] = "1.28.3"}, | ||
| {["fckit"] = "0.13.2"}, | ||
| {["fiat"] = "1.4.1"}, | ||
| {["ectrans"] = "1.5.0"}, | ||
| {["fms"] = "2024.02"}, | ||
| {["atlas"] = "0.40.0"}, | ||
| {["sp"] = "2.5.0"}, | ||
| {["gsl-lite"] = "0.37.0"}, | ||
| {["libjpeg"] = "2.1.0"}, | ||
| {["krb5"] = "1.15.1"}, | ||
| {["libtirpc"] = "1.3.3"}, | ||
| {["hdf"] = "4.2.15"}, | ||
| {["jedi-cmake"] = "1.4.0"}, | ||
| {["libpng"] = "1.6.37"}, | ||
| {["libxt"] = "1.3.0"}, | ||
| {["libxmu"] = "1.2.1"}, | ||
| {["libxpm"] = "4.11.0"}, | ||
| {["libxaw"] = "1.0.16"}, | ||
| {["udunits"] = "2.2.28"}, | ||
| {["ncview"] = "2.1.9"}, | ||
| {["netcdf-cxx4"] = "4.3.1"}, | ||
| {["json"] = "3.11.3"}, | ||
| {["crtm"] = "2.4.0.1"}, | ||
| {["esmf"] = "8.8.0"}, | ||
| {["prod_util"] = "2.1.1"}, | ||
| {["py-jinja2"] = "3.1.4"}, | ||
| {["py-netcdf4"] = "1.7.1.post2"}, | ||
| {["py-pybind11"] = "2.13.5"}, | ||
| {["py-pycodestyle"] = "2.11.0"}, | ||
| {["py-pyyaml"] = "6.0"}, | ||
| {["py-scipy"] = "1.14.1"}, | ||
| {["py-xarray"] = "2024.7.0"}, | ||
| {["py-f90nml"] = "1.4.3"}, | ||
| {["py-pip"] = "23.1.2"}, | ||
| } | ||
|
|
||
| for i = 1, #gdas_modules do | ||
| for name, default_version in pairs(gdas_modules[i]) do | ||
| local env_version_name = string.gsub(name, "-", "_") .. "_ver" | ||
| load(pathJoin(name, os.getenv(env_version_name) or default_version)) | ||
| end | ||
| end | ||
|
|
||
| setenv("CC","/opt/intel/oneapi/compiler/2024.2/bin/icx") | ||
| setenv("CXX","/opt/intel/oneapi/compiler/2024.2/bin/icpx") | ||
| setenv("FC","/opt/intel/oneapi/compiler/2024.2/bin/ifort") | ||
| setenv("MPICC","mpiicx") | ||
| setenv("MPICXX","mpiicpx") | ||
| setenv("MPIF77","mpiifort") | ||
| setenv("MPIF90","mpiifort") | ||
| setenv("MPI_CC","mpiicx") | ||
| setenv("MPI_CXX","mpiicpx") | ||
| setenv("MPI_F77","mpiifort") | ||
| setenv("MPI_F90","mpiifort") | ||
|
|
||
| local mpiexec = '/opt/intel/oneapi/mpi/2021.13/bin/mpiexec' | ||
| local mpinproc = '-n' | ||
| setenv('MPIEXEC_EXEC', mpiexec) | ||
| setenv('MPIEXEC_NPROC', mpinproc) | ||
|
|
||
| -- for ursa | ||
| setenv("CRTM_FIX","/scratch3/NCEPDEV/da/role.jedipara/GDASApp/fix/crtm/2.4.0") | ||
| setenv("GDASAPP_TESTDATA","/scratch3/NCEPDEV/da/role.jedipara/GDASApp/testdata") | ||
| setenv("GDASAPP_UNIT_TEST_DATA_PATH", "/scratch3/NCEPDEV/da/role.jedipara/GDASApp/unittestdata") | ||
|
|
||
weihuang-jedi marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| -- for noaacloud (AWS) | ||
| -- setenv("CRTM_FIX","/contrib/global-workflow-shared-data/GDASApp/fix/crtm/2.4.0") | ||
| -- setenv("GDASAPP_TESTDATA","/contrib/global-workflow-shared-data/GDASApp/testdata") | ||
| -- setenv("GDASAPP_UNIT_TEST_DATA_PATH", "/contrib/global-workflow-shared-data/GDASApp/unittestdata") | ||
|
|
||
| whatis("Name: ".. pkgName) | ||
| whatis("Version: ".. pkgVersion) | ||
| whatis("Category: GDASApp") | ||
| whatis("Description: Load all libraries needed for GDASApp in container") | ||
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
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.
Uh oh!
There was an error while loading. Please reload this page.