calcoloscientifico:userguide
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
calcoloscientifico:userguide [15/04/2025 22:54] – fabio.spataro | calcoloscientifico:userguide [21/05/2025 17:34] (versione attuale) – [Table] fabio.spataro | ||
---|---|---|---|
Linea 143: | Linea 143: | ||
| wn48 | NVIDIA Corporation Device 2231 [RTX A5000 24GB] (rev a1) | | | wn48 | NVIDIA Corporation Device 2231 [RTX A5000 24GB] (rev a1) | | ||
| wn49-wn50 | | wn49-wn50 | ||
+ | | wn51 | NVIDIA Corporation Device 2321 [H100 NVL 96GB] (rev a1) | | ||
**Peak Performance** | **Peak Performance** | ||
Linea 269: | Linea 270: | ||
| cpu_guest | | cpu_guest | ||
| gpu | gpu | wn[41-42, | | gpu | gpu | wn[41-42, | ||
- | | gpu_vbd | + | | gpu_vbd |
| gpu_hylab | | gpu_hylab | ||
+ | | gpu_fisstat | ||
| gpu_guest | | gpu_guest | ||
- | | knl | knl | wn[51-54] | ||
| vrt | vrt | wn[61-64] | | vrt | vrt | wn[61-64] | ||
| mngt | | all | | UNLIMITED | | mngt | | all | | UNLIMITED | ||
Linea 328: | Linea 329: | ||
hpc-sinfo-cpu --partition=cpu | hpc-sinfo-cpu --partition=cpu | ||
hpc-sinfo-cpu --partition=cpu_guest | hpc-sinfo-cpu --partition=cpu_guest | ||
- | hpc-sinfo-cpu --partition=knl | ||
hpc-sinfo-gpu --partition=gpu | hpc-sinfo-gpu --partition=gpu | ||
hpc-sinfo-gpu --partition=gpu_guest | hpc-sinfo-gpu --partition=gpu_guest | ||
Linea 340: | Linea 340: | ||
hpc-squeue --partition=cpu | hpc-squeue --partition=cpu | ||
hpc-squeue --partition=cpu_guest | hpc-squeue --partition=cpu_guest | ||
- | hpc-squeue --partition=knl | ||
hpc-squeue --partition=gpu | hpc-squeue --partition=gpu | ||
hpc-squeue --partition=gpu_guest | hpc-squeue --partition=gpu_guest | ||
Linea 609: | Linea 608: | ||
< | < | ||
srun --nodes=1 --nodelist=wn34 --pty bash | srun --nodes=1 --nodelist=wn34 --pty bash | ||
- | </ | ||
- | |||
- | Reserve 1 chunk of 272 CPUs type KNL (a whole KNL node): | ||
- | <code bash> | ||
- | srun --nodes=1 --ntasks-per-node=272 --partition=knl --qos=knl --mem=8G --pty bash | ||
</ | </ | ||
Linea 1136: | Linea 1130: | ||
sbatch matrix-vector-product.sh | sbatch matrix-vector-product.sh | ||
</ | </ | ||
- | |||
- | ===== KNL jobs ===== | ||
- | |||
- | The compiler to be used is Intel. | ||
- | |||
- | The selection of the KNL cluster is done by specifying '' | ||
- | |||
- | Each knl node includes 68 physical core and each physical core includes 4 virtual cores with hyperthreading technology. The maximum number of cores (ncpus) selectable per node is 272. | ||
- | |||
- | MPI + OpenMP example on KNL: | ||
- | |||
- | cp / | ||
- | |||
- | <code c mpiomp_hello.c> | ||
- | #include < | ||
- | #include < | ||
- | #include < | ||
- | |||
- | int main(int argc, char *argv[]) { | ||
- | int numprocs, rank, namelen; | ||
- | char processor_name[MPI_MAX_PROCESSOR_NAME]; | ||
- | int iam = 0, np = 1; | ||
- | |||
- | MPI_Init(& | ||
- | MPI_Comm_size(MPI_COMM_WORLD, | ||
- | MPI_Comm_rank(MPI_COMM_WORLD, | ||
- | MPI_Get_processor_name(processor_name, | ||
- | |||
- | #pragma omp parallel default(shared) private(iam, | ||
- | { | ||
- | np = omp_get_num_threads(); | ||
- | iam = omp_get_thread_num(); | ||
- | printf(" | ||
- | iam + 1, np, rank + 1, numprocs, processor_name); | ||
- | } | ||
- | |||
- | MPI_Finalize(); | ||
- | } | ||
- | </ | ||
- | |||
- | Sumbission script '' | ||
- | |||
- | <code bash mpiomp_hello_knl.bash> | ||
- | #!/bin/sh | ||
- | |||
- | #< 2 nodes. Executes 1 MPI process per node and 68 threads per process | ||
- | |||
- | #SBATCH --partition=knl | ||
- | #SBATCH --qos=knl | ||
- | #SBATCH --nodes=2 | ||
- | #SBATCH --ntasks=2 | ||
- | #SBATCH --cpus-per-task=68 | ||
- | #SBATCH --time=0-00: | ||
- | #SBATCH --mem=4G | ||
- | |||
- | ## Uncomment the following line if you want to use an account other than your default account | ||
- | ##SBATCH --account=< | ||
- | |||
- | export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK | ||
- | |||
- | module load intel intelmpi | ||
- | mpicc -qopenmp mpiomp_hello.c -o mpiomp_hello_knl | ||
- | mpirun mpiomp_hello_knl | ||
- | </ | ||
- | |||
- | ===Submission=== | ||
- | |||
- | sbatch mpiomp_hello_knl.bash | ||
===== GPU jobs ===== | ===== GPU jobs ===== |
calcoloscientifico/userguide.1744750490.txt.gz · Ultima modifica: 15/04/2025 22:54 da fabio.spataro