Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaumevernieres committed Jan 21, 2024
1 parent 3652d9c commit b0eafe2
Show file tree
Hide file tree
Showing 4 changed files with 40 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@
path = sorc/fms
url = https://github.com/jcsda/fms.git
branch = release-stable
[submodule "sorc/daml"]
path = sorc/daml
url = https://github.com/NOAA-EMC/daml.git
branch = develop
32 changes: 32 additions & 0 deletions modulefiles/GDAS/orion.gnu.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
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", '/work/noaa/epic/role-epic/spack-stack/orion/spack-stack-1.5.1/envs/unified-env/install/modulefiles/Core')
prepend_path("MODULEPATH", '/work2/noaa/da/python/opt/modulefiles/stack')

-- below two lines get us access to the spack-stack modules
load("stack-gcc/10.2.0")
load("stack-openmpi/4.0.4")
load("stack-python/3.10.8")
load("jedi-fv3-env")
load("soca-env")
load("mkl/2020.2")

setenv("CC","mpiicc")
setenv("FC","mpiifort")
setenv("CXX","mpiicpc")
local mpiexec = '/opt/slurm/bin/srun'
local mpinproc = '-n'
setenv('MPIEXEC_EXEC', mpiexec)
setenv('MPIEXEC_NPROC', mpinproc)

setenv("CRTM_FIX","/work2/noaa/da/cmartin/GDASApp/fix/crtm/2.4.0")
setenv("GDASAPP_TESTDATA","/work2/noaa/da/cmartin/CI/GDASApp/data")
prepend_path("PATH","/apps/contrib/NCEP/libs/hpc-stack/intel-2018.4/prod_util/1.2.2/bin")

execute{cmd="ulimit -s unlimited",modeA={"load"}}
3 changes: 3 additions & 0 deletions sorc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,9 @@ if(BUILD_GDASBUNDLE)
ecbuild_bundle( PROJECT land-imsproc SOURCE "./land-imsproc" )
ecbuild_bundle( PROJECT land-jediincr SOURCE "./land-jediincr" )

# DAML
ecbuild_bundle( PROJECT daml SOURCE "./daml" )

# GDASApp
ecbuild_bundle( PROJECT gdas SOURCE "../")

Expand Down
1 change: 1 addition & 0 deletions sorc/daml
Submodule daml added at 1d019a

0 comments on commit b0eafe2

Please sign in to comment.