Skip to content

Instantly share code, notes, and snippets.

@smhr
Last active July 23, 2019 12:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save smhr/0b4ca6f7af997b999c7f21bbdd7a52f3 to your computer and use it in GitHub Desktop.
Save smhr/0b4ca6f7af997b999c7f21bbdd7a52f3 to your computer and use it in GitHub Desktop.
Phantom environment variables
#================== Phantom compile =====================
export OMP_SCHEDULE="dynamic"
export OMP_STACKSIZE=512M
ulimit -s unlimited
export SYSTEM=gfortran
#================== Phantom run =========================
export OMP_NUM_THREADS=9
export I_WILL_NOT_PUBLISH_CRAP=yes
modelName="N450M37rho16hac120"
./phantomsetup $modelName < "${modelName}.input"
nohup /usr/bin/time -p -o time.txt ./phantom $modelName.in > out.log & 2>&1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment