From 536e0993b50232be3215cfb7a26dea5a9d9e0039 Mon Sep 17 00:00:00 2001 From: lykos98 <francy273998@gmail.com> Date: Thu, 13 Jun 2024 09:43:01 +0200 Subject: [PATCH] last update on H1 --- Untitled.ipynb | 6 ++++++ run_pleiadi | 34 ++++++++++++++++++++++++++++++++++ src/tree/tree.c | 2 +- 3 files changed, 41 insertions(+), 1 deletion(-) create mode 100644 Untitled.ipynb create mode 100644 run_pleiadi diff --git a/Untitled.ipynb b/Untitled.ipynb new file mode 100644 index 0000000..363fcab --- /dev/null +++ b/Untitled.ipynb @@ -0,0 +1,6 @@ +{ + "cells": [], + "metadata": {}, + "nbformat": 4, + "nbformat_minor": 5 +} diff --git a/run_pleiadi b/run_pleiadi new file mode 100644 index 0000000..2e1a0e1 --- /dev/null +++ b/run_pleiadi @@ -0,0 +1,34 @@ +#!/bin/bash + +#SBATCH --nodes=4 +#SBATCH --ntasks-per-node=2 +#SBATCH --cpus-per-task=18 +#SBATCH --time=01:00:00 +#SBATCH --job-name=dADP-test +#SBATCH --account=ulearn +#SBATCH --partition=pleiadi +#SBATCH --output=out_pleiadi +#SBATCH --error=err_pleiadi +#SBATCH --mem=230G + + + +cd $SLURM_SUBMIT_DIR +module restore dev_pleiadi +source /u/ftomba/my_envs/dadac-dev/bin/activate +make clean +make +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/* + +#time mpirun -n ${SLURM_NTASKS} --map-by ppr:1:node:PE=${SLURM_CPUS_PER_TASK} main +time mpirun -n ${SLURM_NTASKS} --map-by ppr:1:socket:PE=${SLURM_CPUS_PER_TASK} main +#time mpirun -n ${SLURM_NTASKS} main + +#time python3 check.py + diff --git a/src/tree/tree.c b/src/tree/tree.c index 8a46690..0f7a091 100644 --- a/src/tree/tree.c +++ b/src/tree/tree.c @@ -3515,7 +3515,7 @@ clusters_t Heuristic1(global_context_t *ctx, int verbose) */ - DB_PRINT("rank %d proc %d\n", ctx -> mpi_rank, proc_points); + //DB_PRINT("rank %d proc %d\n", ctx -> mpi_rank, proc_points); MPI_Allreduce(MPI_IN_PLACE, &completed, 1, MPI_INT, MPI_SUM, ctx -> mpi_communicator); completed = completed == ctx -> world_size ? 1 : 0; /* copy cluster idx into buffer */ -- GitLab