Advertisement
Guest User

Untitled

a guest
Mar 21st, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.56 KB | None | 0 0
  1. #!/bin/bash
  2. #!/bin/bash
  3. #SBATCH --nodes=2
  4. #SBATCH --time=00:10:00
  5. #SBATCH --image=docker:underworldcode/underworld2_untested:dev_magnus_test
  6.  
  7. echo "PRINTING ENVIRONMENT"
  8. env
  9.  
  10. echo "PRINTING SLURM SCRIPT"
  11. scontrol show job ${SLURM_JOBID} -ddd
  12.  
  13. module load shifter
  14.  
  15. # you can ignore the next two lines.. this is just pulling a script from *within* the container.
  16. #shifter cp /opt/underworld2/docs/examples/1_06_Rayleigh_Taylor.ipynb .
  17. #shifter /opt/underworld2/utils/ipynb_to_py.sh 1_06_Rayleigh_Taylor.ipynb
  18.  
  19. srun -n 48 shifter python 1_06_Rayleigh_Taylor.py
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement