Created
July 16, 2014 11:07
-
-
Save sanromd/85011c7429443f06e5a3 to your computer and use it in GitHub Desktop.
submission script example for Shaheen
This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
# @ job_name = test_pyclaw_convergence | |
# @ job_type = bluegene | |
# @ output = ./$(job_name)_$(jobid).out | |
# @ error = ./$(job_name)_$(jobid).err | |
# @ environment = COPY_ALL; | |
# @ wall_clock_limit = 24:00:00,24:00:00 | |
# @ notification = always | |
# @ bg_size = 512 | |
# @ account_no = k193 | |
# @ queue | |
emdir=/home/sanromd/devel/sandbox/clawpack/pyclaw/examples/acoustics_3d_variable | |
projdir=/home/sanromd/devel | |
builddir=${projdir}/opt/share | |
pythondir=${builddir}/python/2.7.2/bgp | |
ldpath=${pythondir}/lib | |
numpy_path=${builddir}/numpy/1.6.2/bgp/lib/python | |
nose_path=${builddir}/nose/1.1.2/bgp/lib/python | |
clawpack_path=${builddir}/clawpack/dev/bgp/lib/python | |
petsc4py_path=${builddir}/petsc4py/1.2/bgp/lib/python | |
bgp_python_path=${numpy_path}:${nose_path}:${clawpack_path}:${petsc4py_path} | |
sandbox=${projdir}/sandbox | |
ldpath=${pythondir}/lib | |
logdir=${builddir}/logs | |
mpirun -env LD_LIBRARY_PATH=${ldpath} -env PYTHONPATH=${bgp_python_path} \ | |
-mode VN -exp_env HOME -n 1 ${pythondir}/bin/python \ | |
${emdir}/acoustics_3d_interface.py use_petsc=True \ | |
| tee ${logdir}/test_clawpack_convergence.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment