aboutsummaryrefslogtreecommitdiff
path: root/Examples/Tests/pass_mpi_communicator/analysis.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/analysis.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/analysis.py')
-rwxr-xr-xExamples/Tests/pass_mpi_communicator/analysis.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/Tests/pass_mpi_communicator/analysis.py b/Examples/Tests/pass_mpi_communicator/analysis.py
index 3c2405bcb..9c1be3e51 100755
--- a/Examples/Tests/pass_mpi_communicator/analysis.py
+++ b/Examples/Tests/pass_mpi_communicator/analysis.py
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!/usr/bin/env python3
# This is a script that analyses the simulation results from
# the script `PICMI_inputs_2d`.