$ ssh <login>@ares.cyfronet.pl
<login> = username starting with “plg”
Add infor about ssh key
Add how to share files
$ module avail
Lists all available libraries/packages
$ module list
Lists loaded libraries/packages
$ module load <package>
Loads specified package
$ module spider <keyword>
Searches available packages with the keyword
$ module purge
Purges the environment
$ hpc-grants
Shows available grants, resource allocations, consumed resourced
$ hpc-fs
Shows available storage
$ hpc-jobs
Shows currently pending/running jobs
$ hpc-jobs-history
: Shows information about past jobs
module load python/2.7.18-gcccore-11.2.0 module load libtool module load emacs module load gcc/11.2.0 module load gcccore/11.2.0 module load cmake/3.22.1-gcccore-11.2.0 module load gsl/2.7-gcc-11.2.0
$ cd $PLG_GROUPS_STORAGE/<groupname>
$ wget https://herwig.hepforge.org/downloads/herwig-bootstrap $ chmod +x herwig-bootstrap
$ srun -p plgrid-now -t 5:00:00 --mem=5GB -A <grantname-cpu> --pty /bin/bash
Note: Only one interactive plgrid-now session can be run at a time. Adjust the session duration and memory allocation as required. The above specified parameters should suffice in general.
[ares][username@ac0787 ~]$ ./herwig-bootstrap -j4 $PWD/Herwig [ares][username@ac0787 ~]$ exit
Note: The login01 node changes to ac0xxx when in a computing node.
$ ./herwig-bootstrap --help
$ source Herwig/bin/activate
Run script (run.sh) :
#!/bin/bash #SBATCH --job-name=Sample_Run #SBATCH --nodes=1 #SBATCH --ntasks-per-node=1 #SBATCH --cpus-per-task=1 #SBATCH --mem-per-cpu=1GB # set wall time to 1 day #SBATCH --time=1-00:00:00 ## Name of partition #SBATCH -p plgrid cd <Run directory> source <path/to/>Herwig/bin/activate export HW=Herwig ${HW} run *.run --seed=$seed -N 1000000 > /dev/null & HWPID="$!" wait "${HWPID}"
$ sbatch --array=0-5 -A <grantname-suffix> run.sh
sprio
: show status of pending jobssshare
: show usage of available grants$ srun -p plgrid-now -t 1:00:00 --mem=1GB -A <grantname-cpu> --pty /bin/bash