ssh username@login.hpcwales.co.uk
hpcwhosts
sinfo
slurmtop
sftp sftp.hpcwales.co.uk
Show filezilla
Home dirs are in /hpcw/cf
, /hpcw/sw
and /hpcw/ba
salloc -n 1 --ntasks-per-node=1
srun --pty -n 1 /bin/bash
squeue
nano batchjob.sh
Copy example batch job to batchjob.sh Explain #! and comments
sbatch batchjob.sh
explain job id
cat hostname.out.<jobid>
cat hostname.err.<jobid>
add sleep 70 to script
resubmit
show time limit error
run sbatch --time 0-0:2 batchjob.sh
scancel
sacct
sbatch --array=0-2 batchjob.sh
squeue
show output files
sacct -j JOBID --format=JobID,JobName,ReqMem,MaxRSS,Elapsed
Talk about mem, time, nodes and core allocations.
sinfo
show different partitions
sbatch -p <part name> batchjob.sh
#SBATCH --mail-user=abc1@aber.ac.uk
#SBATCH --mail-type=ALL
python3
- command not found
module avail
module load python/3.5.1
module load http-proxy
pip3 install --user <mod>
pip3 install --user sklearn
from sklearn import datasets
digits = datasets.load_digits()
print(digits.data)