diff --git a/Dockerfile b/Dockerfile index 831cd90107f3b0992cc0528e58461fd1200e5a63..2ce287771b92d35368d4645551445a63a64d4b1d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -51,4 +51,4 @@ RUN cmake \ RUN ninja && ninja install ENV PGPASSWORD=postgres EXPOSE 8000 -ENTRYPOINT [ "/insite-build/run_brunel_simulation.sh" ] \ No newline at end of file +ENTRYPOINT [ "/insite-build/run_brunel_simulation.sh" 1000 2500 2 ] \ No newline at end of file diff --git a/examples/run_brunel_simulation.sh.in b/examples/run_brunel_simulation.sh.in index a205a27823f938bc5a7d38365f141010a125532c..2981edecfe752e37a110d2d6aa8b5655dcf56392 100755 --- a/examples/run_brunel_simulation.sh.in +++ b/examples/run_brunel_simulation.sh.in @@ -1,4 +1,4 @@ #!/bin/bash source @NEST_INSTALL_PREFIX@/bin/nest_vars.sh export LD_LIBRARY_PATH=$NEST_MODULE_PATH:/usr/local/lib/:$LD_LIBRARY_PATH -mpirun -n 2 --allow-run-as-root python3 @CMAKE_SOURCE_DIR@/examples/brunel_simulation.py $1 \ No newline at end of file +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