Advertisement
lamiastella

.bash in .slurm doesn't execute

Sep 14th, 2021
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1. #!/bin/bash
  2. #SBATCH --partition=gpu-L --gres=gpu:1
  3. # -------------------------> ask for 1 GPU
  4. d=$(date)
  5. h=$(hostname)
  6. echo $d $h env # show CUDA related Env vars
  7. env|grep -i cuda
  8. # nvidia-smi
  9. # actual work
  10. echo "Miu"
  11. /research/jalal/slurm/torch_gpu_sanity_venv385-11.bash
  12.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement