From 9b4a2351c9dff546c25ef138cad8ec9fd874f9c9 Mon Sep 17 00:00:00 2001 From: lykos98 <francy273998@gmail.com> Date: Thu, 6 Mar 2025 14:45:05 +0100 Subject: [PATCH] added run leo script --- run_leo | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 run_leo diff --git a/run_leo b/run_leo new file mode 100644 index 0000000..1f74f83 --- /dev/null +++ b/run_leo @@ -0,0 +1,40 @@ +#!/bin/bash + +#SBATCH --nodes=6 +#SBATCH --ntasks-per-node=2 +#SBATCH --cpus-per-task=56 +#SBATCH --time=04:00:00 +#SBATCH --job-name=dadp_test +#SBATCH --partition=dcgp_usr_prod +#SBATCH --account=IscrC_dadp +#SBATCH --output=out_leo +#SBATCH --error=err_leo +#SBATCH --mem=480G + + + +cd $SLURM_SUBMIT_DIR +module restore my_gcc +#module restore my_intel +make clean +make +ulimit -s unlimited +export OMP_NUM_THREADS=${SLURM_CPUS_PER_TASK} +export OMP_PLACES=cores +export OMP_PROC_BIND=close +export PSM2_MQ_SENDREQS_MAX=268435456 +export PSM2_MQ_RECVREQS_MAX=268435456 + +rm bb/* +mkdir bb + +OUT_ASSIGNMENT=/leonardo_scratch/large/userexternal/ftomba00/assignment +OUT_DATA=/leonardo_scratch/large/userexternal/ftomba00/data + +IN_DATA=/leonardo_work/IscrC_dadp + +#10^6 points +time mpirun -n ${SLURM_NTASKS} --map-by ppr:1:socket:PE=${SLURM_CPUS_PER_TASK} ./main -t f32 -i ${IN_DATA}/norm_data/std_LR_091_0001 -d 5 -a ${OUT_ASSIGNMENT} -o ${OUT_DATA} + +#200 * 10^6 points +#time mpirun -n ${SLURM_NTASKS} --map-by ppr:1:socket:PE=${SLURM_CPUS_PER_TASK} ./main -t f32 -i ${IN_DATA}/norm_data/std_g2980844_091_0000 -d 5 -a ${OUT_ASSIGNMENT} -o ${OUT_DATA} -- GitLab