2021-03-31

I got no output using echo $SLURM_NTASKS

I create this batch file myfirst_slurm_job.sh that contain the following code:

#!/bin/bash
#SBATCH --output="slurm1.txt"
cd $HOME/..
echo $PWD
echo $SLURMD_NODENAME
echo $SLURM_NTASKS

and then I run this command line:

sbatch myfirst_slurm_job.sh

note: it's my first post



from Recent Questions - Stack Overflow https://ift.tt/3rDqN5W
https://ift.tt/eA8V8J

No comments:

Post a Comment