Skip to content

Tweak for the shell example #1

Open
lev opened this issue Jul 19, 2022 · 1 comment
Open

Tweak for the shell example #1

lev opened this issue Jul 19, 2022 · 1 comment

Comments

@lev
Copy link

lev commented Jul 19, 2022

Currently says

module use /depot/bioroc/etc/modulefiles
module load openfoam.com/2112

rcac-foam-shell # initialize singularity container 

RCAC_SCRATCH=/scratch/halstead/w/wu979
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

cp -rp ${FOAM_TUTORIALS} ${RCAC_SCRATCH}
exit    # exit out of singularity container 

Two comments:
a) Halstead-specific and wu979-specific example for the RCAC_SCRATCH line can be a ticket factory.
b) And more importantly, this line is not necessary (singularity shell does pass environment variables into the container, so $RCAC_SCRATCH is defined inside of that shell session anyways).

So safe to remove this line altogether.

@wu979
Copy link
Owner

wu979 commented Jul 23, 2022

You are right. RCAC_SCRATCH env is passed into the container. I deleted the line accordingly. Thanks for point this out!

Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants