add SKYBRICKS_DIR and make module file more portable using DESI_ROOT #732
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.
@geordie666 this PR updates the etc/desitarget.module file to
$DESI_ROOT
instead of/global/cfs/cdirs/desi
SKYBRICKS_DIR=$DESI_ROOT/target/skybricks/v3
$DUST_DIR
from...cosmo/data/dust/v0_1
to...desi/external/dust/v0_1
, which at NERSC is the same thing via links, but allows everything to be under$DESI_ROOT
for environment portabilityYou can inspect the environment that would be installed with this at NERSC via:
(the last two lines are the same as a
module swap desitarget/modulefile
, but allows you to inspect the environment in between to ensure that it really is unsettingCMX_DIR
etc. before resetting correctly with the new environment file.I'd like to tag this as 1.0.1 to get the
$SKYBRICKS_DIR
update.