Skip to content

Commit 45b8a9a

Browse files
committed
fix UDUNITS error
1 parent 7e64aa4 commit 45b8a9a

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1515

1616
### Fixed
1717

18+
- Fixed error from MAPL's ApplicationSupport.F90 to init UDUNITS
19+
1820
### Removed
1921

2022
### Deprecated

GEOSldas_App/lenkf_j_template.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,9 @@
104104
setenv LD_LIBRARY_PATH ${{BASEDIR}}/${{ARCH}}/lib:${{ESMADIR}}/lib:${{LD_LIBRARY_PATH}}
105105
106106
module load nco
107+
# the nco module prepends to UDUNITS2_XML_PATH which Baselibs/g5_modules has already set
108+
# So here we reset to the one in Baselibs
109+
setenv UDUNITS2_XML_PATH ${{BASEDIR}}/${{ARCH}}/share/udunits/udunits2.xml
107110
108111
setenv RUN_CMD "$GEOSBIN/esma_mpirun -np "
109112

0 commit comments

Comments
 (0)