lamiastella icon

.bash in .slurm doesn't execute

lamiastella | PRO | 09/14/21 08:06:21 PM UTC | 0 ⭐ | 453 👁️ | Never ⏰ | []
text |

290 B

|

None

|

0 👍

/

0 👎

#!/bin/bash
#SBATCH --partition=gpu-L --gres=gpu:1 
# -------------------------> ask for 1 GPU
d=$(date)
h=$(hostname)
echo $d $h env         # show CUDA related Env vars 
env|grep -i cuda
# nvidia-smi
#          actual work
echo "Miu"
/research/jalal/slurm/torch_gpu_sanity_venv385-11.bash
 

Comments