Text size
Line height
Text spacing
Dear hackathon attendee,
on Day 2 of the hackathon we will open a survey to get your feedback about the event. The survey is a standard ELIXIR short-term feedback survey and its results will be uploaded to the ELIXIR Training Metrics Database. The survey is anonymous.
Run the command line, the simplest way is to press a special key on the keyboard (supertype on Linux, command and space keys on macOS or Windows key on Windows), write “terminal” and click on the proposed program. In the command line of the terminal (the window that opens) write:
ssh <name>@nsc-login.ijs.si
[<name>@nsc-login ~]$
$ hostname
nsc-login.ijs.si
hostname
$ exit
logout
Connection to nsc-login.ijs.si closed.
exit
$ sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
gridlong* up 14-00:00:0 4 drain* nsc-gsv001,nsc-lou001,nsc-msv001,nsc-vfp002
gridlong* up 14-00:00:0 3 down* nsc-fp003,nsc-gsv003,nsc-msv006
gridlong* up 14-00:00:0 1 drain nsc-vfp001
gridlong* up 14-00:00:0 3 alloc nsc-lou002,nsc-msv[003,018]
gridlong* up 14-00:00:0 3 resv nsc-fp[005-006],nsc-msv002
gridlong* up 14-00:00:0 24 mix nsc-fp[002,004,007-008],nsc-gsv[002,004-007],nsc-msv[004-005,007-017,019-020]
gridlong* up 14-00:00:0 1 idle nsc-fp001
e7 up 14-00:00:0 2 drain* nsc-lou001,nsc-vfp002
e7 up 14-00:00:0 1 drain nsc-vfp001
e7 up 14-00:00:0 1 alloc nsc-lou002
sinfo
$ sinfo --Node --long
Tue Jan 05 11:06:02 2021
NODELIST NODES PARTITION STATE CPUS S:C:T MEMORY TMP_DISK WEIGHT AVAIL_FE REASON
nsc-fp001 1 gridlong* allocated 16 2:8:1 64200 0 1000 intel,gp none
nsc-fp002 1 gridlong* allocated 16 2:8:1 64200 0 1000 intel,gp none
nsc-fp003 1 gridlong* allocated 16 2:8:1 64200 0 1000 intel,gp none
nsc-fp004 1 gridlong* allocated 16 2:8:1 64200 0 1000 intel,gp none
nsc-fp005 1 gridlong* reserved 16 2:8:1 64200 0 1000 intel,gp none
nsc-fp006 1 gridlong* reserved 16 2:8:1 64200 0 1000 intel,gp none
nsc-fp007 1 gridlong* allocated 16 2:8:1 64200 0 1000 intel,gp none
nsc-fp008 1 gridlong* allocated 16 2:8:1 64200 0 1000 intel,gp none
nsc-gsv001 1 gridlong* reserved 64 4:16:1 515970 0 1 AMD,bigm none
nsc-gsv002 1 gridlong* allocated 64 4:16:1 515970 0 1 AMD,bigm none
sinfo --Node --long
$ sinfo --reservation
RESV_NAME STATE START_TIME END_TIME DURATION NODELIST
fri ACTIVE 2020-10-13T13:57:32 2021-10-13T13:57:32 365-00:00:00 nsc-fp[005-006],nsc-gsv001,nsc-msv002
sinfo --reservation
$ squeue
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
387388 gridlong mc15_14T prdatlas PD 0:00 1 (Priority)
387372 gridlong mc15_14T prdatlas PD 0:00 1 (Resources)
387437 gridlong mc15_14T prdatlas PD 0:00 1 (Priority)
387436 gridlong mc15_14T prdatlas PD 0:00 1 (Priority)
385913 gridlong mc15_14T prdatlas R 15:57:58 1 nsc-msv004
385949 gridlong mc15_14T prdatlas R 13:47:49 1 nsc-msv017
squeue
$ squeue --user gen012
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
381650 gridlong pmfuzzy_ gen012 R 7-03:13:06 1 nsc-msv020
381649 gridlong pmfuzzy_ gen012 R 7-03:15:06 1 nsc-msv018
381646 gridlong pmfuzzy_ gen012 R 7-03:18:28 1 nsc-msv008
381643 gridlong pmautocc gen012 R 7-03:25:38 1 nsc-msv017
381641 gridlong pmautocc gen012 R 7-03:28:26 1 nsc-msv007
381639 gridlong pmautocc gen012 R 7-03:32:40 1 nsc-msv004
squeue --user gen012
$ squeue --states=PD
JOBID PARTITION NAME USER ST TIME NODES NODELIST(REASON)
387438 gridlong mc15_14T prdatlas PD 0:00 1 (Priority)
387437 gridlong mc15_14T prdatlas PD 0:00 1 (Priority)
387436 gridlong mc15_14T prdatlas PD 0:00 1 (Priority)
387435 gridlong mc15_14T prdatlas PD 0:00 1 (Priority)
387434 gridlong mc15_14T prdatlas PD 0:00 1 (Resources)
squeue --states=PD
$ scontrol show partition
PartitionName=gridlong
AllowGroups=ALL AllowAccounts=ALL AllowQos=ALL
AllocNodes=ALL Default=YES QoS=N/A
DefaultTime=00:30:00 DisableRootJobs=NO ExclusiveUser=NO GraceTime=0 Hidden=NO
MaxNodes=UNLIMITED MaxTime=14-00:00:00 MinNodes=0 LLN=NO MaxCPUsPerNode=UNLIMITED
Nodes=nsc-msv0[01-20],nsc-gsv0[01-07],nsc-fp0[01-08]
PriorityJobFactor=1 PriorityTier=1 RootOnly=NO ReqResv=NO OverSubscribe=NO
OverTimeLimit=NONE PreemptMode=OFF
State=UP TotalCPUs=1856 TotalNodes=35 SelectTypeParameters=NONE
JobDefaults=(null)
DefMemPerCPU=2000 MaxMemPerNode=UNLIMITED
TRESBillingWeights=CPU=1.0,Mem=0.25G
scontrol show partition
$ scontrol show node nsc-fp005
NodeName=nsc-fp005 Arch=x86_64 CoresPerSocket=8
CPUAlloc=0 CPUTot=16 CPULoad=0.00
AvailableFeatures=intel,gpu,k40
ActiveFeatures=intel,gpu,k40
Gres=gpu:2
NodeAddr=nsc-fp005 NodeHostName=nsc-fp005 Version=20.02.5
OS=Linux 5.7.12-1.el8.elrepo.x86_64 #1 SMP Fri Jul 31 16:22:54 EDT 2020
RealMemory=64200 AllocMem=0 FreeMem=56851 Sockets=2 Boards=1
State=RESERVED ThreadsPerCore=1 TmpDisk=0 Weight=1000 Owner=N/A MCS_label=N/A
Partitions=gridlong
BootTime=2020-11-09T12:54:17 SlurmdStartTime=2020-12-01T10:36:37
CfgTRES=cpu=16,mem=64200M,billing=16,gres/gpu=2
AllocTRES=
CapWatts=n/a
CurrentWatts=0 AveWatts=0
ExtSensorsJoules=n/s ExtSensorsWatts=0 ExtSensorsTemp=n/s
scontrol show node nsc-fp005
$ sacct --starttime '2021-01-10' --enddtime '2021-01-13' --user <name>
391812 ffmpeg gridlong fri-users 1 CANCELLED+ 0:0
391812.exte+ extern fri-users 1 COMPLETED 0:0
391812.0 ffmpeg fri-users 1 FAILED 127:0
391813 ffmpeg gridlong fri-users 1 COMPLETED 0:0
391813.exte+ extern fri-users 1 COMPLETED 0:0
391813.0 ffmpeg fri-users 1 COMPLETED 0:0
391825 ffmpeg gridlong fri-users 1 COMPLETED 0:0
391825.exte+ extern fri-users 1 COMPLETED 0:0
391825.0 ffmpeg fri-users 1 COMPLETED 0:0
sacct --starttime '2021-01-10' --enddtime '2021-01-13' --user <name>
$ srun --ntasks=1 hostname
nsc-msv002.ijs.si
srun --ntasks=1 hostname
$ srun --ntasks=4 hostname
nsc-msv002.ijs.si
nsc-msv002.ijs.si
nsc-msv002.ijs.si
nsc-msv002.ijs.si
srun --ntasks=4 hostname
#!/bin/bash
#SBATCH --job-name=ime_mojega_posla
#SBATCH --partition=gridlong
#SBATCH --ntasks=4
#SBATCH --nodes=1
#SBATCH --mem-per-cpu=100MB
#SBATCH --output=moj_posel.out
#SBATCH --time=00:01:00
srun hostname
$ sbatch ./job.sh
Submitted batch job 387508
sbatch ./job.sh
$ cat ./my_job.out
nsc-msv002.ijs.si
nsc-msv002.ijs.si
nsc-msv002.ijs.si
nsc-msv002.ijs.si
cat ./my_job.out
$ scancel 387508
scancel 387508
$ salloc --time=00:01:00 --ntasks=2
salloc: Granted job allocation 389035
salloc: Waiting for resource configuration
salloc: Nodes nsc-msv002 are ready for job
$ srun hostname
nsc-msv002.ijs.si
nsc-msv002.ijs.si
$ exit
salloc --time=00:01:00 --ntasks=2
srun hostname
exit
$ salloc --time=00:05:00 --ntasks=1
salloc: Granted job allocation 389039
salloc: Waiting for resource configuration
salloc: Nodes nsc-fp005 are ready for job
$ ssh nsc-fp005
$ hostname
nsc-fp005.ijs.si
$ exit
$ exit
salloc --time=00:05:00 --ntasks=1
ssh nsc-fp005
hostname
exit
exit
$ module load FFmpeg
module load FFmpeg
$ module list
Currently Loaded Modules:
1) GCCcore/9.3.0 5) x264/20191217-GCCcore-9.3.0 9) expat/2.2.9-GCCcore-9.3.0 13) fontconfig/2.13.92-GCCcore-9.3.0 17) FriBidi/1.0.9-GCCcore-9.3.0
2) NASM/2.14.02-GCCcore-9.3.0 6) ncurses/6.2-GCCcore-9.3.0 10) libpng/1.6.37-GCCcore-9.3.0 14) xorg-macros/1.19.2-GCCcore-9.3.0 18) FFmpeg/4.2.2-GCCcore-9.3.0
3) zlib/1.2.11-GCCcore-9.3.0 7) LAME/3.100-GCCcore-9.3.0 11) freetype/2.10.1-GCCcore-9.3.0 15) libpciaccess/0.16-GCCcore-9.3.0
4) bzip2/1.0.8-GCCcore-9.3.0 8) x265/3.3-GCCcore-9.3.0 12) util-linux/2.35-GCCcore-9.3.0 16) X11/20200222-GCCcore-9.3.0
module list
$ singularity exec ffmpeg_alpine.sif ffmpeg -version
singularity exec ffmpeg_alpine.sif ffmpeg -version