Commit 134d9d43 authored by Martin Khannouz's avatar Martin Khannouz Committed by Berenger Bramas

Add exclusive in jobs and barrier to have a good checking of the time.

parent b44e8b71
......@@ -202,7 +202,12 @@ int main(int argc, char* argv[]){
MatrixKernelClass MatrixKernel;
KernelClass kernels(TreeHeight, loader.getBoxWidth(), loader.getCenterOfBox(), &MatrixKernel);
FmmClass algorithm(mpiComm.global(),&treeCheck, &kernels);
mpiComm.global().barrier();
timer.tic();
algorithm.execute();
mpiComm.global().barrier();
timer.tac();
timeAverage(mpiComm.global().processId(), mpiComm.global().processCount(), timer.elapsed());
//std::cout << "Algo is over" << std::endl;
groupedTree.forEachCellWithLevel([&](GroupCellClass gcell, const int level){
......
......@@ -5,6 +5,7 @@
## Resources: (nodes, procs, tasks, walltime, ... etc)
#SBATCH -c 24
#SBATCH --time=00:30:00
#SBATCH --exclusive
# # output error message
#SBATCH -e explicit_%j.err
#SBATCH --mail-type=END,FAIL,TIME_LIMIT --mail-user=martin.khannouz@inria.fr
......@@ -12,7 +13,6 @@
source $HOME/env.sh
## variable for the job
export GROUP_SIZE=500
export TREE_HEIGHT=8
export NB_NODE=$SLURM_JOB_NUM_NODES
export STARPU_NCPU=24
......@@ -31,7 +31,7 @@ echo "Tree height: " $TREE_HEIGHT >> $FINAL_DIR/stdout
echo "Group size: " $GROUP_SIZE >> $FINAL_DIR/stdout
echo "Algorithm: explicit" >> $FINAL_DIR/stdout
echo "Total particles: " $NB_PARTICLE >> $FINAL_DIR/stdout
mpiexec -n $NB_NODE $NUMACTL ./Build/Tests/Release/testBlockedMpiChebyshev -nb $NB_PARTICLE -bs $GROUP_SIZE -h $TREE_HEIGHT -no-validation >> $FINAL_DIR/stdout 2>&1
mpiexec -n $NB_NODE $NUMACTL ./Build/Tests/Release/testBlockedMpiChebyshev -nb $NB_PARTICLE -bs $GROUP_SIZE -h $TREE_HEIGHT >> $FINAL_DIR/stdout 2>&1
#Create argument list for starpu_fxt_tool
cd $FINAL_DIR
......
......@@ -5,6 +5,7 @@
## Resources: (nodes, procs, tasks, walltime, ... etc)
#SBATCH -c 24
#SBATCH --time=00:30:00
#SBATCH --exclusive
# # output error message
#SBATCH -e implicit_%j.err
#SBATCH --mail-type=END,FAIL,TIME_LIMIT --mail-user=martin.khannouz@inria.fr
......@@ -12,7 +13,6 @@
source $HOME/env.sh
## variable for the job
export GROUP_SIZE=500
export TREE_HEIGHT=8
export NB_NODE=$SLURM_JOB_NUM_NODES
export STARPU_NCPU=24
......
......@@ -7,6 +7,7 @@
#SBATCH -N 1
#SBATCH -c 24
#SBATCH --time=02:00:00
#SBATCH --exclusive
# # output error message
#SBATCH -e starpu_50M_%j.err
#SBATCH --mail-type=END,FAIL,TIME_LIMIT --mail-user=martin.khannouz@inria.fr
......@@ -14,7 +15,6 @@
source $HOME/env.sh
##Setting variable for the job
export GROUP_SIZE=500
export TREE_HEIGHT=8
export NB_NODE=$SLURM_JOB_NUM_NODES
export STARPU_NCPU=24
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment