Comments (3)
Thanks for raising this issue.
Could you share your full WarpX input script (or a modified version thereof that still exhibits the problem), so that we can try to reproduce the issue?
from warpx.
Thanks for raising this issue. Could you share your full WarpX input script (or a modified version thereof that still exhibits the problem), so that we can try to reproduce the issue?
Thank you for your reply.
This issue can be reproduced by using inputs from the Examples/Tests/embedded_circle/inputs_2d. I removed the collisional part (lines 62-81) (The full inputs are attached below). Then when saving the diag3 files, it encountered an error: "terminate called after throwing an instance of 'std::runtime_error'
what(): Unknown file format! Did you specify a file ending?
SIGABRT".
But the code was compiled with the openpmd format on. The executive file name is warpx.2d.MPI.OMP.DP.PDP.OPMD.PSATD.QED and the version is 23.08.
Maybe I missed something. Please help me check. Thank you very much.
Full inputs:
max_step = 11
warpx.const_dt = 3.99e-13
warpx.do_electrostatic = labframe
warpx.self_fields_required_precision = 1e-06
warpx.eb_implicit_function = -((x-0.00005)**2+(z-0.00005)**2-1e-05**2)
warpx.eb_potential(x,y,z,t) = -10
warpx.self_fields_absolute_tolerance = 0.02
algo.load_balance_intervals = 5
algo.load_balance_costs_update = timers
algo.load_balance_efficiency_ratio_threshold = 1.001
algo.load_balance_with_sfc = 0
algo.load_balance_knapsack_factor = 2
amr.n_cell = 128 128
amr.max_grid_size = 16
amr.max_level = 0
geometry.dims = 2
geometry.prob_lo = 0.0 0.0
geometry.prob_hi = 0.0001 0.0001
boundary.field_lo = pec periodic
boundary.field_hi = pec periodic
boundary.particle_lo = absorbing periodic
boundary.particle_hi = absorbing periodic
algo.particle_shape = 1
particles.species_names = electrons ar_ions
electrons.species_type = electron
electrons.injection_style = nuniformpercell
electrons.initialize_self_fields = 1
electrons.num_particles_per_cell_each_dim = 2 2
electrons.density = 10.2e16
electrons.profile = constant
electrons.momentum_distribution_type = maxwell_boltzmann
electrons.theta = (kb*30000/(m_e*clight^2))
electrons.save_particles_at_xlo = 1
electrons.save_particles_at_xhi = 1
electrons.save_particles_at_eb = 1
ar_ions.species_type = argon
ar_ions.charge = q_e
ar_ions.injection_style = nuniformpercell
ar_ions.initialize_self_fields = 1
ar_ions.num_particles_per_cell_each_dim = 2 2
ar_ions.profile = constant
ar_ions.density = 10.2e16
ar_ions.momentum_distribution_type = gaussian
ar_ions.ux_m = 0.0
ar_ions.uy_m = 0.0
ar_ions.uz_m = 0.0
ar_ions.ux_th = 2.6285641070031447e-06
ar_ions.uy_th = 2.6285641070031447e-06
ar_ions.uz_th = 2.6285641070031447e-06
ar_ions.save_particles_at_xlo = 1
ar_ions.save_particles_at_xhi = 1
ar_ions.save_particles_at_eb = 1
diagnostics.diags_names = diag1 diag3
diag1.diag_type = Full
diag1.format = plotfile
diag1.intervals = 1
diag1.fields_to_plot = phi rho_electrons rho_ar_ions
diag3.diag_type = BoundaryScraping
diag3.format = openpmd
diag3.intervals = 5
from warpx.
I have solved this problem. It should be the library problem. When I compiled the code, I didn't see any error so I thought everything was correct, but it turned out that the openPMD was not correctly included. Maybe the developers could consider adding a condition to give an error if the openPMD was not correctly included.
from warpx.
Related Issues (20)
- CUDA initialization failed HOT 5
- CMake: Finalize WarpX/ABLASTR Installer HOT 2
- CI: CUDA RZ PSATD
- NERSC Perlmutter Compilation Error (pre-#4986) HOT 3
- Error recompiling on Lassen HOT 3
- Some basic AMR questions`1 HOT 2
- Adios2 using Blosc2 HOT 3
- Poor scaling to multiple GPUs with electrostatic solver HOT 5
- PICMI documentation is gone HOT 4
- Issue with Limiting External Electric Field to Specific Boundary in 3D Simulation HOT 8
- Clean code: remove `tmp_particle_data`
- Bug: Invalid memory access occurred during AMReX::GpuDevice::streamSynchronize HOT 10
- Convergence behavior of electrostatic solver changes whether embedded boundary support is on or off HOT 1
- Cannot get FFT method to work for electrostatic solver HOT 4
- NumPy 2.0 Compatibility HOT 5
- Runtime error with Laser Ion acceleration test run HOT 2
- Clean code: avoid duplication in Source/Parallelization/WarpXComm.cpp
- Segfault converting SOA particles to conduit blueprint
- How to utilize WarpX to investigate the evolution of relativistic electron beams in vacuum HOT 1
- Laser injected at an angle having non-physical effects HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from warpx.