aboutsummaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorGravatar Remi Lehe <remi.lehe@normalesup.org> 2018-09-28 17:41:04 -0700
committerGravatar Remi Lehe <remi.lehe@normalesup.org> 2018-09-28 17:41:04 -0700
commite7d080e437334d71d5f7fe7b6ad0f0598a9836a0 (patch)
treea02d6a24c785b8596a3a004d704dbe91592b00e4 /Python
parent2e171b679bf3a1518ba99dc75102bdac7f55b308 (diff)
parent944e07d8b2512370300acb5b317471583bd3ee80 (diff)
downloadWarpX-e7d080e437334d71d5f7fe7b6ad0f0598a9836a0.tar.gz
WarpX-e7d080e437334d71d5f7fe7b6ad0f0598a9836a0.tar.zst
WarpX-e7d080e437334d71d5f7fe7b6ad0f0598a9836a0.zip
Merge remote-tracking branch 'origin/Reorg_examples'
Diffstat (limited to 'Python')
-rw-r--r--Python/GNUmakefile22
-rw-r--r--Python/Make.package2
-rw-r--r--Python/README6
3 files changed, 3 insertions, 27 deletions
diff --git a/Python/GNUmakefile b/Python/GNUmakefile
deleted file mode 100644
index 2aefb78be..000000000
--- a/Python/GNUmakefile
+++ /dev/null
@@ -1,22 +0,0 @@
-AMREX_HOME ?= ../../amrex
-PICSAR_HOME ?= ../../picsar
-
-DEBUG = FALSE
-#DEBUG = TRUE
-
-DIM = 3
-
-COMP = gcc
-
-TINY_PROFILE = TRUE
-TINY_PROFILE = FALSE
-
-USE_MPI = TRUE
-USE_OMP = TRUE
-
-EBASE = main
-
-USE_PYTHON_MAIN = TRUE
-
-WARPX_HOME := ..
-include $(WARPX_HOME)/Source/Make.WarpX
diff --git a/Python/Make.package b/Python/Make.package
deleted file mode 100644
index 11c30fbe4..000000000
--- a/Python/Make.package
+++ /dev/null
@@ -1,2 +0,0 @@
-# Add problem specific stuff here.
-
diff --git a/Python/README b/Python/README
index 3440f0bed..d0e3a343f 100644
--- a/Python/README
+++ b/Python/README
@@ -2,8 +2,8 @@ The initial python wrapped version. This has the main capability of allowing spe
input parameters (i.e. the input file) in python, passing that into amrex and then running the time steps.
It also includes pgroups that can be used with Warp species.
-To build it, run "make" in the Python directory. This will compile the code and install the wrapper in the
-Python site-packages directory.
+To build it, run "make" in the main WarpX directory setting USE_PYTHON_MAIN to TRUE in the GNUmakefile or
+on the command line. This will compile the code and install the wrapper in the Python site-packages directory.
-There is a python script langmuir.py in tests/Langmuir which can run it.
+There are several example python scripts in the "Examples" subdirectories.