From 031ceee30bf5a3b5eda036b5d173ebb57c006a6f Mon Sep 17 00:00:00 2001
From: Simon Oehrl <simon.oehrl@rwth-aachen.de>
Date: Sun, 5 Apr 2020 16:50:05 +0200
Subject: [PATCH] Time the run

---
 examples/run_brunel_simulation.sh.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/examples/run_brunel_simulation.sh.in b/examples/run_brunel_simulation.sh.in
index a436d21..be009df 100755
--- a/examples/run_brunel_simulation.sh.in
+++ b/examples/run_brunel_simulation.sh.in
@@ -1,5 +1,5 @@
 #!/bin/bash
 source @NEST_INSTALL_PREFIX@/bin/nest_vars.sh
 export LD_LIBRARY_PATH=$NEST_MODULE_PATH:/usr/local/lib/:$LD_LIBRARY_PATH
-#python3 @CMAKE_SOURCE_DIR@/examples/brunel_simulation.py $1 $2 # Uncomment this to run normally
-mpirun -n $3 --allow-run-as-root -x PYTHONPATH python3 @CMAKE_SOURCE_DIR@/examples/brunel_simulation.py $1 $2
\ No newline at end of file
+# python3 @CMAKE_SOURCE_DIR@/examples/brunel_simulation.py $1 $2 # Uncomment this to run normally
+time mpirun -n $3 --mca btl_vader_single_copy_mechanism none --allow-run-as-root -x PYTHONPATH python3 @CMAKE_SOURCE_DIR@/examples/brunel_simulation.py $1 $2
\ No newline at end of file
-- 
GitLab