aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2021-12-15 11:17:55 -0800
committerGravatar GitHub <noreply@github.com> 2021-12-15 11:17:55 -0800
commitfc8a2ae271bb3ddd3cff3da42dff990547a7bfa1 (patch)
tree77e1ce29fc1253b5bf7669a56e0c177f0a3550b5 /Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py
parent603f75d295f5d87baf3284807319e027a4b93a1c (diff)
downloadWarpX-fc8a2ae271bb3ddd3cff3da42dff990547a7bfa1.tar.gz
WarpX-fc8a2ae271bb3ddd3cff3da42dff990547a7bfa1.tar.zst
WarpX-fc8a2ae271bb3ddd3cff3da42dff990547a7bfa1.zip
Examples: Python ShellBang & Executable (#2673)
* Examples: Python ShellBang & Executable Make sure that all PICMI scripts and all analysis Python scripts in `Examples/` are: - executable (`chmod a+x`) - start with a shell-bang to `python3` Now, all scripts can be run directly without a `python3 ...` prefix and also default to the only right executable of Python on older systems. (New systems always have a `python3` alias, too.) * Revert a moved numpy
Diffstat (limited to 'Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py')
-rwxr-xr-x[-rw-r--r--]Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py b/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py
index 8eb5839c3..0d87699c5 100644..100755
--- a/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py
+++ b/Examples/Tests/pass_mpi_communicator/PICMI_inputs_2d.py
@@ -1,3 +1,5 @@
+#!/usr/bin/env python3
+#
# --- Test if MPI_communicator is correctly passed from Python to CPP
# --- This test should be run with MPI enabled
# --- Inputs taken from langmuir_2d. Runs 10 steps, and will check