slurm now uses megabytes

This commit is contained in:
ville rantanen
2013-09-16 16:26:30 +03:00
parent e053dd386c
commit 160e70ac41

View File

@@ -43,6 +43,6 @@ do [[ ${!i} == "--possess" ]] && {
break break
} }
done done
MEM=$(( 1024*$MEM ))
echo Running command: srun $SHARE -c $CPU --mem $MEM "${argv[@]}" echo Running command: srun $SHARE -c $CPU --mem $MEM "${argv[@]}"
srun -v $SHARE -c $CPU --mem $MEM "${argv[@]}" srun -v $SHARE -c $CPU --mem $MEM "${argv[@]}"