Started by user Jeremy Enos Running as SYSTEM Building in workspace /var/lib/jenkins/jobs/pytorch_train/workspace [SSH] script: TARGETNODE=""hydro01"" module load anaconda3_gpu/4.13.0 module load cuda/11.7.0 cd pytorch_train rm -f train_results_jenkins.csv # Slurm Arguments sargs="--nodes=1 " sargs+="--ntasks-per-node=1 " sargs+="--mem=16g " sargs+="--time=00:10:00 " sargs+="--account=bbmb-hydro " sargs+="--gpus-per-node=1 " sargs+="--gpu-bind=closest " # Add Target node if it exists if [[ ! -z ${TARGETNODE} ]] then PARTITION=`sinfo --format="%R,%N" -n hydro61 | grep hydro61 | cut -d',' -f1 | tail -1` sargs+="--partition=${PARTITION} " sargs+="--nodelist=${TARGETNODE} " else sargs+="--partition=a100 " fi # Executable to run scmd="python train.py | tee time.txt" # Run the command start_time=`date +%s.%N` echo $"Starting srun with command" echo "srun $sargs $scmd" srun $sargs $scmd end_time=`date +%s.%N` runtime=$( echo "$end_time - $start_time" | bc -l ) echo "YVALUE=$runtime" > time.txt printf "Pytorch test completed in %0.3f secs\n" $runtime [SSH] executing... Starting srun with command srun --nodes=1 --ntasks-per-node=1 --mem=16g --time=00:10:00 --account=bbmb-hydro --gpus-per-node=1 --gpu-bind=closest --partition=all --nodelist=hydro01 python train.py | tee time.txt srun: error: GPU resources cannot be requested on a CPU-only partition. srun: error: If GPUs are needed, please specify an a100 partition. srun: error: Unable to allocate resources: Access/permission denied Pytorch test completed in 0.016 secs [SSH] completed [SSH] exit-status: 0 [workspace] $ /bin/sh -xe /tmp/jenkins12009673392861461895.sh + scp 'HYDRO_REMOTE:~svchydrojenkins/pytorch_train/time.txt' /var/lib/jenkins/jobs/pytorch_train/workspace Recording plot data Saving plot series data from: /var/lib/jenkins/jobs/pytorch_train/workspace/time.txt Finished: SUCCESS