forked from danieljprice/phantom
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(nci) updated docs and queue script to use /g/data instead of /scratc…
…h on nci
- Loading branch information
1 parent
9a1c257
commit 25b465e
Showing
3 changed files
with
18 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,24 +22,26 @@ First edit your .bashrc file in your favourite text editor:: | |
Mine has:: | ||
|
||
export SYSTEM=nci | ||
export PROJECT=wk74 | ||
export OMP_STACKSIZE=512M | ||
export OMP_NUM_THREADS=32 | ||
export PATH=$PATH:/scratch/fu7/splash/bin | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/scratch/fu7/splash/giza/lib | ||
export SPLASH_DIR=/g/data/$PROJECT/splash | ||
export PATH=$PATH:$SPLASH_DIR/bin | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$SPLASH_DIR/giza/lib | ||
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/apps/hdf5/1.10.5/lib | ||
export MAXP=2000000 | ||
ulimit -s unlimited | ||
source ~/.modules | ||
|
||
If you are using phantom+mcfost, you will need the following lines:: | ||
|
||
export MCFOST_DIR=/scratch/fu7/mcfost-src/ | ||
export MCFOST_DIR=/g/data/$PROJECT/mcfost-src/ | ||
export MCFOST_AUTO_UPDATE=0 | ||
export MCFOST_INSTALL=/scratch/fu7/mcfost/ | ||
export MCFOST_INSTALL=/g/data/$PROJECT/mcfost/ | ||
export MCFOST_GIT=1 | ||
export MCFOST_NO_XGBOOST=1 | ||
export MCFOST_LIBS=/scratch/fu7/mcfost | ||
export MCFOST_UTILS=/scratch/fu7/mcfost/utils | ||
export MCFOST_LIBS=/g/data/$PROJECT/mcfost | ||
export MCFOST_UTILS=/g/data/$PROJECT/mcfost/utils | ||
export HDF5ROOT=/apps/hdf5/1.10.5/lib | ||
|
||
Then relevant modules in your .modules file:: | ||
|
@@ -55,12 +57,12 @@ Mine contains:: | |
|
||
where the last line is needed for git's large file storage (LFS) to work. | ||
|
||
Finally, make a shortcut to the /scratch filesystem:: | ||
Finally, make a shortcut to the /g/data filesystem:: | ||
|
||
cd /scratch/fu7 | ||
cd /g/data/$PROJECT | ||
mkdir $USER | ||
cd | ||
ln -s /scratch/fu7/$USER runs | ||
ln -s /scratch/$PROJECT/$USER runs | ||
cd runs | ||
pwd -P | ||
|
||
|
@@ -104,13 +106,14 @@ should produce something like:: | |
#PBS -l ncpus=48 | ||
#PBS -N myrun | ||
#PBS -q normal | ||
#PBS -P fu7 | ||
#PBS -P wk74 | ||
#PBS -o tde.in.pbsout | ||
#PBS -j oe | ||
#PBS -m e | ||
#PBS -M [email protected] | ||
#PBS -l walltime=48:00:00 | ||
#PBS -l mem=16G | ||
#PBS -l storage=gdata/wk74 | ||
#PBS -l other=hyperthread | ||
## phantom jobs can be restarted: | ||
#PBS -r y | ||
|