Age | Commit message (Collapse) | Author | Files | Lines |
|
* Implement Higginson's nuclear fusion algorithm
* Fix uninitialized variable
* Typo fix and compute probability in a more robust way numerically
* Set mask to false when no fusion
* Update NuclearFusionFunc Doxystring
|
|
* Python Analysis of Restart Tests: Small Cleanup
* Remove Unused Import
|
|
|
|
On pushes to mainline, if mainline contains multiple branches, these
branches cancelled each other. This should fix this.
|
|
(#2380)
|
|
Way easier :D
|
|
|
|
|
|
Compiling Python modules with NVHPC again after work-arounding the
mpi4py build issue.
|
|
* Capitalize python environment variables in CI workflows
* Python Envs: Update Cori/Summit Docs
* NVHPC: Disable MPI4PY
https://github.com/mpi4py/mpi4py/issues/114
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
Add NVHPC (21.9) CUDA builds to CI.
Uses the `nvcc -cbin nvc++` compiler combination, as currently set by
Cray systems with the `PrgEnv-nvidia` environment (e.g., Perlmutter
at NERSC).
|
|
* Parse my_constants always as double
* remove debug print out
* add comment
* fix comment
* add additional comment
|
|
* initial commit for adding a spatially varying potential for EBs
* refactored logic to set the boundary conditions and boundary values for the electrostatic solver
* style change
* removed extra semi-colon
* fixed issue causing oneAPI DPC++ build failure
* fixed issue that led to CI test failure
* fixed incorrect placement of definePhiBCs() call from previous commit
* avoid the more expensive function to set the EB potential if it does not vary spatially
* have to make a new parser when phi EB is only a function of time
* fixed typo in previous commit
|
|
* Add structure for proton-boron fusion module
* Fix clang compile error
* Generalize structure for other nuclear fusion types
* Workaround: try to use std::vectors to fix clang compile error
* Simplify workaround for clang
* Rebase on 2245 and add empty particle creation functor
* Apply suggestions from code review
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* Add couple of consts and runtime assert
* Add another const
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
* Update: AMReX/PICSAR to 21.10
* WarpX: 21.10
|
|
* Initialize lasers when restarting + recalculate z position at each iteration
* Fix restart for rigid-injected particles
* Fix laser injection box at restart
* Use correct positions for the moving window of the BTD
* implement restart for laser particles
* add CI test for laser acceleration restarting
* writespace
* Revert "Fix restart for rigid-injected particles"
This reverts commit 33bf3a60126539b9566ead3115ff2bcdf4b80516.
* don't add lasers to all full diags, only checkpoints
* fix unused parameter warning
* move the call to reset the m_laser_injection_box into PostRestart
* bugfix for non-boosted frame simulations
* Read the mean velocity of the injected species
* Remove unused line
* Revert "Initialize lasers when restarting + recalculate z position at each iteration"
This reverts commit 322634c35aa996649d0e8fff9fb683d04f2ee121.
* Add new ReadHeader / WriteHeader functions
* Add WriteHeader/ReadHeader for laser particles
* Revert "add CI test for laser acceleration restarting"
This reverts commit 6ba0fb3c121027eecf8b5845f55080e5b187375d.
* Fix merge commit
* Correct reading of updated position
* Add laser in restart test
* Remove unused parameters
* Update regression tests
* Add benchmark files
* Update boundary conditions for restart_psatd
Co-authored-by: Remi Lehe <remi.lehe@normalesup.org>
|
|
|
|
* Activate rigid injected species in restart tests
* Fix reading of injection position and velocity
* Update checksum
* Update Examples/Tests/restart/analysis_restart.py
|
|
Add spaces before definitions in the old BTD.
Was just adding them as we looked for a solution to fix restarts with
the old particle BTD.
|
|
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`)
|
|
|
|
* Remove unused function
* Remove `focused` and `projected` for rigid particles
|
|
Update pulls in:
- Intel DPC++ 2021.4.0 support (SYCL)
- Nvidia NVHPC 21.9 support (CUDA)
|
|
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`.
|
|
|
|
|
|
* 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
|
|
|
|
* 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
|
|
* Summit: Known Issues Since RHEL8
Document all known issues and work-arounds for Summit users.
* Summit: libfabric developer notes
|
|
* Allow more work for OpenMP threads in AuxilaryData
* Better parallelization in stagger-to-nodal current interpolation
|
|
```
./Tools/Release/updateAMReX.py
```
|
|
Document on how to disable CCache.
Add CCache control to Python builds.
|
|
* ParticleIO: Fix All Container Restart
* Fix comment
|
|
* 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.
|
|
Sporadic segfaults in `dpcpp` with shared objects since last release.
Needs to be triaged. Disabled to unblock community devs.
|
|
* 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
|
|
* 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
|
|
|
|
Print those quanitites both during setup and after restart.
|
|
* Try to exchange fewer guard cells with standard PSATD solver
* Add ng_afterPushPSATD variable in GuardCellManager
|
|
|
|
* 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>
|
|
|
|
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
|
|
Cori deprecated the old CMake module today.
```
Module Deprecation Warning: upgrade to 3.21.3 (new default on 2021-09-21)
```
|
|
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.
|
|
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.
|
|
|
|
* 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>
|