Skip to content

Commit

Permalink
Merge pull request #108 from GEOS-ESM/feature/mathomp4/update-to-base…
Browse files Browse the repository at this point in the history
…libs-7.15.1

Update to Baselibs 7.15.1
  • Loading branch information
mathomp4 committed Nov 20, 2023
2 parents 64c06ab + f1bd971 commit 5835d16
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 7 deletions.
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Removed
### Added

## [4.21.0] - 2023-11-20

### Changed

- Move to Open MPI 5.0.0 on SLES15 at NCCS
- Moved to Baselibs 7.15.1
- zlib 1.3
- curl 8.4.0
- HDF4 4.2.16-2
- HDF5 1.10.11
- nco 5.1.8
- CDO 2.2.2
- udunits2 2.2.28
- fortran\_udunits2 v1.0.0-rc.2 (GMAO-SI-Team fork)

### Added

- `g5_modules` now exports `UDUNITS2_XML_PATH`

## [4.20.6] - 2023-10-30

### Fixed
Expand Down
17 changes: 12 additions & 5 deletions g5_modules
Original file line number Diff line number Diff line change
Expand Up @@ -132,16 +132,16 @@ if ( $site == NCCS ) then
set mod3 = comp/intel/2021.6.0
set mod4 = mpi/impi/2021.6.0
set mod5 = python/GEOSpyD/Min4.11.0_py3.9_AND_Min4.8.3_py2.7
set basedir = /discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-7.14.0/x86_64-pc-linux-gnu/ifort_2021.6.0-intelmpi_2021.6.0
set basedir = /discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-7.15.1/x86_64-pc-linux-gnu/ifort_2021.6.0-intelmpi_2021.6.0-SLES12
set usemod1 = /discover/swdev/gmao_SIteam/modulefiles-SLES12

else

set mod2 = comp/gcc/12.3.0
set mod3 = comp/intel/2021.6.0
set mod4 = mpi/openmpi/4.1.5/intel-2021.6.0
set mod4 = mpi/openmpi/5.0.0/intel-2021.6.0
set mod5 = python/GEOSpyD/Min23.5.2-0_py3.11
set basedir = /discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-7.14.0/x86_64-pc-linux-gnu/ifort_2021.6.0-openmpi_4.1.5-SLES15
set basedir = /discover/swdev/gmao_SIteam/Baselibs/ESMA-Baselibs-7.15.1/x86_64-pc-linux-gnu/ifort_2021.6.0-openmpi_5.0.0-SLES15
set usemod1 = /discover/swdev/gmao_SIteam/modulefiles-SLES15

endif
Expand All @@ -160,7 +160,7 @@ else if ( $site == NAS ) then

set mod1 = GEOSenv

set basedir = /nobackup/gmao_SIteam/Baselibs/ESMA-Baselibs-7.14.0/x86_64-pc-linux-gnu/ifort_2022.1.0-mpt_2.28_25Apr23_rhel87-TOSS4
set basedir = /nobackup/gmao_SIteam/Baselibs/ESMA-Baselibs-7.15.1/x86_64-pc-linux-gnu/ifort_2022.1.0-mpt_2.28_25Apr23_rhel87-TOSS4
set mod2 = comp-gcc/11.2.0-TOSS4
set mod3 = comp-intel/2022.1.0
set mod4 = mpi-hpe/mpt
Expand All @@ -182,7 +182,7 @@ else if ( $site == NAS ) then
#=================#
else if ( $site == GMAO.desktop ) then

set basedir=/ford1/share/gmao_SIteam/Baselibs/ESMA-Baselibs-7.14.0/x86_64-pc-linux-gnu/ifort_2022.1.0-intelmpi_2022.1.0
set basedir=/ford1/share/gmao_SIteam/Baselibs/ESMA-Baselibs-7.15.1/x86_64-pc-linux-gnu/ifort_2022.1.0-intelmpi_2022.1.0

set mod1 = GEOSenv

Expand Down Expand Up @@ -317,6 +317,10 @@ if ($?LD_LIBRARY64_PATH) then
endif
endif

# Set UDUNITS2_XML_PATH
# ---------------------
setenv UDUNITS2_XML_PATH $BASEDIR/$arch/share/udunits/udunits2.xml

# load library modules
#---------------------
if (-e $modinit) then
Expand Down Expand Up @@ -361,6 +365,9 @@ if ($wrapper) then
if ($?LD_LIBRARY64_PATH) then
echo "export LD_LIBRARY64_PATH=$LD_LIBRARY64_PATH" >> $outfil
endif
if ($?UDUNITS2_XML_PATH) then
echo "export UDUNITS2_XML_PATH=$UDUNITS2_XML_PATH" >> $outfil
endif

set modulecmd = `which modulecmd`
if ($status) set modulecmd = "/usr/bin/modulecmd"
Expand Down
6 changes: 5 additions & 1 deletion g5_modules.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/sh
#=======================================================================
# name - g5_modules.bash
# purpose -
# purpose -
# This script can be "sourced" from the bash shell to set environment
# variables and modules needed for building and running the GEOS system.
#
Expand All @@ -23,6 +23,10 @@ fi
# Basedir
export BASEDIR=$(csh $g5modules basedir)

# UDUNITS2_XML_PATH
arch=$(uname -s)
export UDUNITS2_XML_PATH=$BASEDIR/$arch/share/udunits/udunits2.xml

# Modules
source $MODULESHOME/init/bash
module purge
Expand Down
6 changes: 5 additions & 1 deletion g5_modules.zsh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/sh
#=======================================================================
# name - g5_modules.zsh
# purpose -
# purpose -
# This script can be "sourced" from the zsh shell to set environment
# variables and modules needed for building and running the GEOS system.
#
Expand All @@ -23,6 +23,10 @@ fi
# Basedir
export BASEDIR=$(csh $g5modules basedir)

# UDUNITS2_XML_PATH
arch=$(uname -s)
export UDUNITS2_XML_PATH=$BASEDIR/$arch/share/udunits/udunits2.xml

# Modules
source $MODULESHOME/init/zsh
module purge
Expand Down

0 comments on commit 5835d16

Please sign in to comment.