Commit da8f3b99 authored by Mathis Rosenhauer's avatar Mathis Rosenhauer
Browse files

Remove nodelist file

parent f6de9fd7
......@@ -125,7 +125,7 @@ clean_up () {
if [[ -n ${job_id:-} ]]; then
echo "Removing job ${job_id}."
ssh_frontend "scancel -Q ${job_id}; sleep 1; \
cd .startvnc && rm -f out.${job_id} nodelist_${job_id}.txt"
cd .startvnc && rm -f out.${job_id}"
echo "Job ID not available. Make sure the vncjob is not running!"
ssh_frontend "squeue -u ${SVNC_USERNAME}"
......@@ -224,9 +224,6 @@ ${sbatch_resources}
#SBATCH --parsable
#SBATCH --dkrzepilog=0
cd \${HOME}
scontrol show hostname \${SLURM_JOB_NODELIST} | \
awk '{print \$0":0";print \$0":1";print \$0":2";print \$0":3"}' > \
/opt/TurboVNC/bin/vncserver -fg -geometry "${SVNC_GEOMETRY}" -localhost
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment