Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| h7mumuj:start [2024/10/29 10:48] – asiodmok | h7mumuj:start [2025/11/07 10:13] (current) – asiodmok | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Cyfronet ====== | ====== Cyfronet ====== | ||
| - | == Applying for grant and access to Cluster == | + | ==== Applying for grant and access to Cluster |
| + | - Sign up at https:// | ||
| + | - Apply for grant and activate it at https:// | ||
| + | * **Note:** Access to the Ares cluster at the Cyfronet centre [grant required] | ||
| + | ==== Login to Ares ==== | ||
| - | Sign up at https:// | + | '' |
| - | Apply for grant and activate it at https:// | + | |
| - | Access to the Ares cluster at the Cyfronet centre [grant required] | + | |
| - | Login to cluster | + | < |
| - | ssh < | + | '' |
| - | < | + | ==== Storages ==== |
| - | Install libraries/ | + | * $HOME |
| + | * $SCRATCH | ||
| + | * $PLG_GROUPS_STORAGE (starts with “plgg”) | ||
| - | module avail : lists available libraries/ | + | '' |
| - | module list : lists loaded libraries/ | + | ==== Install libraries/ |
| - | module load < | + | < |
| - | module spider < | + | < |
| - | module purge : purges | + | < |
| + | < | ||
| + | < | ||
| - | System utilities | + | ==== System utilities |
| - | hpc-grants | + | < |
| - | hpc-fs | + | < |
| - | hpc-jobs | + | < |
| - | hpc-jobs-history : shows information about past jobs | + | < |
| - | Storages | + | ==== Install Herwig7 ==== |
| - | $HOME | + | - Load necessary modules: < |
| - | $SCRATCH | + | |
| - | $PLG_GROUPS_STORAGE (starts with “plgg”) | + | module load libtool |
| + | module load emacs | ||
| + | module load gcc/ | ||
| + | module load gcccore/ | ||
| + | module load cmake/ | ||
| + | module load gsl/ | ||
| + | </ | ||
| + | - Move to $SCRATCH | ||
| + | - Download bootstrap script and make it executable: < | ||
| + | $ chmod +x herwig-bootstrap </ | ||
| + | - Start an interactive node session (Easier to debug if installation fails): < | ||
| + | - Run bootstrap and exit session when completed: < | ||
| + | [ares][username@ac0787 ~]$ exit </ | ||
| + | - More options for running bootstrap can be found with < | ||
| + | - Activate Herwig environment : < | ||
| - | Install Herwig7 | + | ==== A sample run script (and common slurm commands) ==== |
| + | Run script (run.sh) : | ||
| - | Load necessary modules | + | # |
| - | module load python/ | + | # |
| - | module load libtool | + | # |
| - | module load emacs | + | #SBATCH --ntasks-per-node=1 |
| - | module load gcc/11.2.0 | + | #SBATCH --cpus-per-task=1 |
| - | module load gcccore/ | + | #SBATCH --mem-per-cpu=1GB |
| - | module load cmake/ | + | # set wall time to 1 day |
| - | Module load gsl/2.7-gcc-11.2.0 | + | # |
| - | Download bootstrap script from https://herwig.hepforge.org/downloads.html | + | ## Name of partition |
| - | Move to $SCRATCH or $PLG_GROUPS_STORAGE (preferred) and | + | # |
| - | $./herwig-bootstrap | + | cd <Run directory> |
| - | Activate Herwig environment : $ source Herwig/ | + | |
| + | export HW=Herwig | ||
| + | | ||
| + | HWPID=" | ||
| + | wait " | ||
| - | A sample run script (and common slurm commands) | ||
| - | run.sh : | + | ==== Run commands from CLI ==== |
| - | #!/bin/bash | + | - Submit parallel jobs: < |
| + | * Suffix = cpu, cpu-bigmem, gpu | ||
| + | - '' | ||
| + | - '' | ||
| + | - Run interactive bash session: < | ||
| - | #SBATCH | + | ==== More Links ==== |
| + | - Detailed information about Ares - [[https:// | ||
| + | - Slurm documentation | ||
| - | #SBATCH --nodes=1 | ||
| - | #SBATCH --ntasks-per-node=1 | ||
| - | #SBATCH --cpus-per-task=1 | ||
| - | #SBATCH --mem-per-cpu=1GB | ||
| - | # set wall time to 1 day | + | ==== Miscellaneous ==== |
| - | # | + | |
| + | - Warnings are posted at the top when login to ARES (as of 07.11.2025): | ||
| + | < | ||
| + | | ||
| - | ## Name of partition | + | To increase the availability |
| - | ##SBATCH -p plgrid | + | policy was changed to allow for automatic removal of files that meet at least |
| + | one condition: | ||
| + | * The file was created at least 30 days ago. | ||
| + | * slurm_jobdir/< | ||
| + | * All contents of $SCRATCH if a user hasn't submitted a job for at least | ||
| + | 30 days. | ||
| - | sleep $((RANDOM % 30)) | + | The policy is being implemented immediately. Please contact helpdesk: |
| - | + | | |
| - | cd <Run directory> | + | if your $SCRATCH dir contained any important data. |
| - | + | </code> | |
| - | source < | + | |
| - | + | ||
| - | export HW=Herwig | + | |
| - | + | ||
| - | ${HW} run *.run --seed=$seed -N 1000000 > /dev/null & | + | |
| - | + | ||
| - | HWPID=" | + | |
| - | wait " | + | |
| - | + | ||
| - | Run commands from CLI - | + | |
| - | Submit parallel jobs: sbatch --array=0-5 -A < | + | |
| - | Suffix = cpu, cpu-bigmem, gpu | + | |
| - | sprio: show status of pending jobs | + | |
| - | sshare : show usage of available grants | + | |
| - | + | ||
| - | Run interactive bash session - | + | |
| - | srun -p plgrid-now -t 1:00:00 --mem=1GB -A < | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | Detailed information about Ares - https://docs.cyfronet.pl/display/ | + | |
| - | + | ||
| - | Slurm documentation - https:// | + | |