-
Notifications
You must be signed in to change notification settings - Fork 138
Description
When using GPU computation, the ID list in trackparticle seems to be reassigned based on the current position at each timestamp, while with CPU computation, particle IDs are inherited across different timestamps, allowing for tracking.
Description
Please refer to the attached image and code.
I attempted to perform a TNSA simulation and tracked some particles that moved to the back of the simulation area (x > 50) using their IDs, as shown in the figure. It can be seen that the results from the CPU and GPU are completely different. In the GPU version, these IDs seem to be reassigned based on position at each step, so they always appear together. In the final time step, they suddenly moved to the back of the simulation area.
CPU
GPU
input_gpu.py.txt
input_cpu.py.txt
plot.py.txt
Parameters
- Smilei Version : 5.0-206-g456444957-master
- HDF5 version 1.14.2
- Python version 3.10.15
- GPU: A100-PCIE-40GB
- CUDA Version: 12.1

