aboutsummaryrefslogtreecommitdiff
path: root/Python/pywarpx/Geometry.py (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2021-09-30CMake: More Robust git STRIP (#2358)Gravatar Axel Huebl 1-1/+1
Sometimes a `git` executable can be found but is unusable. Quoting the result for empty strings makes the build logic more robust in such scenarios. Mitigates: ``` CMake Error at cmake/WarpXFunctions.cmake:289 (string): string sub-command STRIP requires two arguments. Call Stack (most recent call first): CMakeLists.txt:256 (get_source_version) ``` Provoked via: Mixing of brew and Spack (git from brew + Spack env with `export DYLD_LIBRARY_PATH=/Users/axel/src/spack/var/spack/environments/warpx-dev/.spack-env/view/lib`)
2021-09-30Remove array of ints `done_injecting` (#2365)Gravatar Remi Lehe 3-17/+1
2021-09-30Rigid injected species: Remove unused function and variables (#2350)Gravatar Remi Lehe 14-136/+0
* Remove unused function * Remove `focused` and `projected` for rigid particles
2021-09-30Update AMReX (#2362)Gravatar Axel Huebl 5-6/+8
Update pulls in: - Intel DPC++ 2021.4.0 support (SYCL) - Nvidia NVHPC 21.9 support (CUDA)
2021-09-29CI: Update HIP Repo URL (#2359)Gravatar Axel Huebl 1-1/+1
Thanks to @wyphan in https://github.com/AMReX-Codes/amrex/pull/2366 > This updates the repo line for HIP to the latest version as documented on https://rocmdocs.amd.com/en/latest/Installation_Guide/Installation-Guide.html#installing-a-rocm-package-from-a-debian-repository > Notably, `xenial` is now `ubuntu`.
2021-09-28Use correct positions for the moving window of the BTD (#2356)Gravatar Remi Lehe 1-2/+3
2021-09-27Update read_raw_data to RZ (with multiple modes) (#2313)Gravatar David Grote 1-2/+10
2021-09-28Stencil: Fix non-3D Compiles on GPU (#2353)Gravatar Axel Huebl 2-2/+51
* CI: HIP 2D Add a HIP 2D Test to compilation. * Stencil: Fix non-3D Compiles on GPU Overlooked the `#else` branch severely. * CI: HIP 2D DP
2021-09-27Comoving PSATD: New Input psatd.use_default_v_comoving (#2304)Gravatar Edoardo Zoni 2-2/+23
2021-09-27SumBoundary: Use Fewer Guard Cells for J/rho (#2323)Gravatar Edoardo Zoni 2-21/+65
* SumBoundary: Use Fewer Guard Cells for J/rho * Account for Stencil of Bilinear Filter * Revert Last Commit, Replace SumBoundary/Copy With ParallelAdd * Account for Stencil of Bilinear Filter * Reset Benchmarks of Averaged Galilean Hybrid Tests * Revert Last Commit This reverts commit 7963176b46708eb08e7c41e67a3b0a6fe6cb2147. * Account for Stencil of Current Centering
2021-09-27Summit: Known Issues Since RHEL8 (#2349)Gravatar Axel Huebl 1-0/+60
* Summit: Known Issues Since RHEL8 Document all known issues and work-arounds for Summit users. * Summit: libfabric developer notes
2021-09-27Allow more work for OpenMP threads in `WarpX::UpdateAuxilaryData` (#2342)Gravatar Remi Lehe 1-7/+7
* Allow more work for OpenMP threads in AuxilaryData * Better parallelization in stagger-to-nodal current interpolation
2021-09-27AMReX: Weekly Update (#2348)Gravatar Axel Huebl 4-4/+4
``` ./Tools/Release/updateAMReX.py ```
2021-09-27Doc: Disable CCache (#2339)Gravatar Axel Huebl 2-0/+5
Document on how to disable CCache. Add CCache control to Python builds.
2021-09-24ParticleIO: Fix All Container Restart (#2341)Gravatar Axel Huebl 2-36/+48
* ParticleIO: Fix All Container Restart * Fix comment
2021-09-24Restart: Handle Header File Read Errors (#2335)Gravatar Axel Huebl 6-19/+17
* Restart: Handle Read Errors `std::istringstream` does not throw automatically if errors occur. This leads to silently skipped reads. Enable throwing on all errors to avoid hard to debug follow-up errors. * Fix: Write All Particle Containers Forgot to write laser particle containers but then tried to read them in. The mass & charge of those are not essential for us to restore, but it avoids confusion and extra logic if we just write them properly at the general location.
2021-09-24DPC++: Disable -fPIC (#2338)Gravatar Axel Huebl 1-1/+4
Sporadic segfaults in `dpcpp` with shared objects since last release. Needs to be triaged. Disabled to unblock community devs.
2021-09-24Python Install Env Vars: All CAPS (#2317)Gravatar Axel Huebl 2-63/+65
* Python Install Env Vars: All CAPS On Windows, environment variable names are case insensitive and often mapped to all CAPS spelling. - https://stackoverflow.com/questions/7797269/python-environment-case-senstivity-os-environ - https://en.wikipedia.org/wiki/Environment_variable#Syntax This leads to an inconsistency between Unix and Windows like systems if we use case sensitive environment variable names for install control in Python. Luckily, it is quite common to use all-CAPS variables in UNIX for environment controls as well, so we will make a breaking change to unify on that. Existing usage will see a warning of an unused variable with `python3 -m pip install -v .` * setup.py: Caps Python Vars from Env
2021-09-24Stochastic particle reflection from absorbing domain boundaries (#2281)Gravatar Roelof Groenewald 13-62/+344
* added tunable particle reflection from absorbing domain boundaries * extended picmi.py to allow setting boundary reflection coefficients and added a CI test for the reflection implementation * allow R(E) to be specified, except for embedded boundaries * changed approach for particle reflection, now the ParticleBoundaries object will hold the reflection coefficient; reflection from EBs not implemented * added functionality to reflect from EB; still needs to be tested for accuracy * added support for energy dependent reflection models for domain boundaries * fixed at least one issue causing CI fails - building reflection model parsers for not physical particle containers * switched reflection coefficients to be functions of the velocity component perpendicular to the boundary rather than energy * reverted initial work on reflecting from EBs * changed naming convention for new CI test for particle reflection * switched useMPI back to 1 in test * breaking changes while trying to sort out GPU issue * fixed issue with CUDA compilation - hopefully :) * various code improvements from PR review suggestions * fix of major issues * no need to parse the reflection models at every step * skip particles that are already flagged for removal in ApplyBoundaryConditions
2021-09-24Fix nvcc compilation bug (#2333)Gravatar Remi Lehe 1-1/+1
2021-09-24Print Restart: dt,dx,dy,dz (#2334)Gravatar Axel Huebl 3-5/+14
Print those quanitites both during setup and after restart.
2021-09-24Exchange fewer guard cells with standard PSATD solver (#2266)Gravatar Neïl Zaim 3-3/+14
* Try to exchange fewer guard cells with standard PSATD solver * Add ng_afterPushPSATD variable in GuardCellManager
2021-09-23Initialize the BTD buffers to 0.0 (#2329)Gravatar Andrew Myers 1-0/+1
2021-09-22Docs: Cori V100 GPU Job Script (#2328)Gravatar Axel Huebl 2-2/+67
* Docs: Cori V100 GPU Job Script Add a job script template for Cori V100 GPU nodes. * Add concrete cgpu allocation * Update Tools/BatchScripts/batch_cori_gpu.sh Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja> * Update: 1 Rank per GPU - 1 rank per GPU - more doc hints * Slurm: CUDA_VISIBLE_DEVICES Set `--gpus-per-task=1` * Visible devices for real * Doc for GPU Binding Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2021-09-22Move RandomizeVelocity to ParticleUtils (#2326)Gravatar Neïl Zaim 3-57/+65
2021-09-22External Poisson solver: wrappers to copy the full domain rho and phi ↵Gravatar Roelof Groenewald 6-27/+266
between C++ and Python (#2285) * added missing parts to allow an external Poisson solver to be used instead of the MLMG solver * added rho and phi wrappers to fields.py * added an example of using an external Poisson solver * need to run PICMI test on 2 processors same as non-PICMI version in order to compare plotfiles * changes requested during PR review * pass dictionary to eval statement when calculating boundary potential
2021-09-22Docs: Cori Newer CMake (#2324)Gravatar Axel Huebl 1-3/+3
Cori deprecated the old CMake module today. ``` Module Deprecation Warning: upgrade to 3.21.3 (new default on 2021-09-21) ```
2021-09-21leveling_thinning: 2 MPI Ranks (#2321)Gravatar Axel Huebl 2-33/+33
Public CI only offers two virtual cores and thus only 2 MPI ranks. Oversubscription generally leads to unstable builds (sporadic suspension of processes by the host system) and newer MPI versions won't start at all without requesting oversubscription.
2021-09-21Python CI: Only 2 Ranks (#2320)Gravatar Axel Huebl 2-3/+3
Public CI only offers two virtual cores and thus only 2 MPI ranks. Oversubscription generally leads to unstable builds (sporadic suspension of processes by the host system) and newer MPI versions won't start at all without requesting oversubscription.
2021-09-21Rename eb_potential parameter (#2310)Gravatar Remi Lehe 4-5/+5
2021-09-21Fix Bug in PSATD Restart with Time Averaging (#2318)Gravatar Edoardo Zoni 6-1/+165
* Fix Bug in PSATD Restart with Time Averaging * PSATD Time Avg Restart: Add CI Test - restart test - use recommended boundary conditions for the spectral solver in z Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-09-20AMReX/PICSAR: Weekly Update (#2316)Gravatar Axel Huebl 5-8/+8
2021-09-20Rename WarpXWrappers.(h->H) (#2261)Gravatar Axel Huebl 5-4/+2
* Rename WarpXWrappers.(h->H) All our other header files use `.H`, so renaming this one for consistency. * Remove unused includes of WarpXWrappers.H
2021-09-20Docs: Link Older Developer Tutorial (#2311)Gravatar Axel Huebl 1-0/+7
Link slides from Maxence in 03/2020.
2021-09-20Fix: Status CUDA CIGravatar Axel Huebl 1-4/+1
Regression from #2312
2021-09-20Performance: ApplyStencil w/o Temporaries (#2314)Gravatar Axel Huebl 1-49/+23
* Performance: ApplyStencil w/o Temporaries Most of the time in this code is spend in allocating/freeing the temporary. Wrap invalid values to zero on the fly instead. * Filter: Fix scomp forwarding Update Source/Filter/Filter.cpp Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
2021-09-17Evolve: Mark Step in Profile (#2308)Gravatar Axel Huebl 1-0/+2
Mark individual steps in the profiler. This makes it easier to see the individual step timing in our tiny profiler and it also helps to see with NVTX (and equivalent) annotations to find the exact start/end of a time step in traces.
2021-09-17CI: Skip & Fail Draft PRs (#2312)Gravatar Axel Huebl 8-1/+17
Save resources on PRs marked as "Draft" by skipping & failing CI.
2021-09-17Set EB (electrostatic) potential with a function of space and time (#2297)Gravatar Roelof Groenewald 4-8/+73
* initial commit for adding a spatially varying potential for EBs * removed extra semi-colon * fixed issue causing oneAPI DPC++ build failure
2021-09-17Add picmi parameter (#2306)Gravatar Michael Kieburtz 1-1/+3
2021-09-17Move QEDEvents() before OneStep functions (#2289)Gravatar Neïl Zaim 14-211/+228
* Move QEDEvents() before OneStep functions * Update BW and QS automated tests * Fix a couple of bugs * Update benchmarks * Forgot to update one benchmark value
2021-09-14AMReX/PICSAR: Weekly Update (#2299)Gravatar Axel Huebl 5-8/+8
* PICSAR: Weekly Update * AMReX: Weekly Update
2021-09-13Docs: Spock CMake 3.20.2, ROCm 4.3.0 (#2288)Gravatar Axel Huebl 1-3/+3
* Docs: Spock CMake 3.20.2 Slightly update CMake to avoid that we run into https://gitlab.kitware.com/cmake/cmake/-/issues/21887 at some point. (Proactively guarding this.) * Spock: ROCm 4.3.0 Update ROCm (tested)
2021-09-13Store and read in (if present) dmaps in checkpoint files (#2248)Gravatar Andrew Myers 4-4/+71
* Store and read in (if present) dmaps in checkpoint files * also write number of procs to checkpoint
2021-09-13Enable particle creation from binary collisions (#2245)Gravatar Neïl Zaim 5-29/+312
* Enable particle creation from binary collisions * Do not directly use DeviceVector * Make defineAllParticleTiles () public
2021-09-13Remove unused variable from backtransformed diagnostics (#2296)Gravatar Neïl Zaim 2-5/+0
* Remove unused variable from backtransformed diagnostics * Also remove zmin_lab
2021-09-10Various updates related to defining embedded boundaries in Python (#2280)Gravatar David Grote 3-24/+48
* Various updated related to defining embedded boundaries in Python * Fix typo in comment Co-authored-by: Roelof Groenewald <40245517+roelof-groenewald@users.noreply.github.com>
2021-09-10warpx_py_beforeEsolve & _afterEsolve with electrostatic solver (#2286)Gravatar Roelof Groenewald 1-0/+2
2021-09-10Initialize physical_species (#2273)Gravatar Neïl Zaim 1-1/+1
2021-09-10Include Diagnostics in Evolve Timer (#2278)Gravatar Tiberius Rheaume 1-11/+12
* Include Diagnostics in Evolve Timer * Update WarpXEvolve.cpp * Update WarpXEvolve.cpp * Update WarpXEvolve.cpp Removed White Spaces * return warpx_py_afterstep and adds comments * Update Source/Evolve/WarpXEvolve.cpp Co-authored-by: Neïl Zaim <49716072+NeilZaim@users.noreply.github.com>