Update Cray info

This commit is contained in:
2024-08-02 17:42:04 +02:00
parent db5d7b368b
commit e58920bc31
7 changed files with 129 additions and 97 deletions

View File

@ -30,3 +30,46 @@ module purge
module load $MODULE_NAME # where $MODULE_NAME is a software in PModules
srun $MYEXEC # where $MYEXEC is a path to your binary file
```
## Multi-core based jobs example
### Pure MPI
```bash
#!/bin/bash
#SBATCH --job-name=purempi
#SBATCH --partition=daily # Using 'daily' will grant higher priority
#SBATCH --time=24:00:00 # Define max time job will run
#SBATCH --output=%x-%j.out # Define your output file
#SBATCH --error=%x-%j.err # Define your error file
#SBATCH --exclusive
#SBATCH --nodes=1
#SBATCH --ntasks=128
#SBATCH --hint=nomultithread
##SBATCH --cpus-per-task=1
module purge
module load $MODULE_NAME # where $MODULE_NAME is a software in PModules
srun $MYEXEC # where $MYEXEC is a path to your binary file
```
### Hybrid
```bash
#!/bin/bash
#SBATCH --job-name=hybrid
#SBATCH --partition=daily # Using 'daily' will grant higher priority
#SBATCH --time=24:00:00 # Define max time job will run
#SBATCH --output=%x-%j.out # Define your output file
#SBATCH --error=%x-%j.err # Define your error file
#SBATCH --exclusive
#SBATCH --nodes=1
#SBATCH --ntasks=128
#SBATCH --hint=multithread
#SBATCH --cpus-per-task=2
module purge
module load $MODULE_NAME # where $MODULE_NAME is a software in PModules
srun $MYEXEC # where $MYEXEC is a path to your binary file
```