GEOS-ESM / GEOSgcm_App

Repo containing the scripts for running the GEOS Earth System Model GCM
Apache License 2.0
2 stars 1 forks source link

Updates for non-Baselibs runs #611

Closed mathomp4 closed 5 months ago

mathomp4 commented 5 months ago

In testing building and running GEOSgcm with Spack as libraries instead of Baselibs, it was found that you can't do things like:

setenv @LD_LIBRARY_PATH_CMD ${LD_LIBRARY_PATH}:${BASEDIR}/${ARCH}/lib:${GEOSDIR}/lib

if BASEDIR is not defined.

So, we only add BASEDIR if it is defined in the environment.