Age | Commit message (Collapse) | Author | Files | Lines |
|
(#2397)
* fix kinetic energy calculation in single precision
* really fix the issue...
* add missing _rt
* we don't need m2 now
* remove unused variable
* always perform kinetic energy calculation in double precision
* put w where it was
* fixed bug
* fixed bug
* use threshold for kinetic energy
* fix bug
* increase order of Taylor expansion
* increase order of Taylor expansion
* reduce classical/relativistic threshold for kinetic energy
* reset threshold to 1.005
* improve test
|
|
|
|
* 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
* added option to use Neumann boundary conditions with the electrostatic solver
* cleaned up logic for whether or not boundary potential values should be set
* avoid using reference to __host__ variable
* added CI test for mixed boundary conditions for the electrostatic solver
* added documentation
|
|
Update to the latest Ubuntu LTS release (20.04) on our Azure CI
tests.
The sytem compiler updates from 7.4.0 to 9.3.0
|
|
|
|
* multi-J RZ PSATD: Serialize RNG
This test uses:
- RZ particles (default: random theta angle)
- a temperature for the driver
which are all RNG dependent. Serialize the RNG to avoid discrepancies
with varying compile/runtime environments.
* Fix: galilean_rz_psatd
Uses a temperature on particles and thus should serialize the RNG.
|
|
- slightly more user-facing info / context
- add doxygen string to member variable
|
|
Weekly update to latest AMReX.
Weekly update to latest PICSAR (no changes).
```
./Tools/Release/updatePICSAR.py
./Tools/Release/updateAMReX.py
```
|
|
|
|
* add component names to checkpoint
* read in particle components and add the missing ones on restart
* do not add components if one by the name already exists
* sign error
* Better warning messages
* Update Source/Diagnostics/ParticleIO.cpp
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
* add CI test for restarting particles with runtime-added attributes
* remove unused module
Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
|
|
* Check All Particle Species, All Directions
* Check also Particle Momenta
* Add Check on Particle Weight, Fields
* Smaller Field Tolerance (1e-12)
* Single Loop over Particles and Fields
* Cleaning
* Add ds.force_periodicity() for yt-4.0
|
|
|
|
* interpolate mu to B-location when computing H
* add comments
* modify comment to reflect interpolation
* eol
* add struct to compute macroparameters at x,y,z, and util function to compute cellcoordinates
* fix eol
* remove unused variables, multifabs, and initialization of macro multifabs
* host device function
* fix typo
* doxygen comments
|
|
A temporary MultiFab was not properly deleted.
|
|
* 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.
|