entity-toolkit / entity

New generation astrophysical plasma simulation code with CPU/GPU portability
https://entity-toolkit.github.io/wiki/
Other
27 stars 2 forks source link

Segmentation fault #32

Closed StaticObserver closed 7 months ago

StaticObserver commented 8 months ago

I'm testing the code using weibel.toml file as input code build with " cmake ../ -B build -D output=ON -D pgen=weibel -D engine=pic -D precision=double -DKokkos_ENABLE_OPENMP=ON" In the file weibel.toml, when resolution = [512, 512] or larger than 512 I got error: /tmp/slurmd/job29753857/slurm_script: line 17: 771687 Segmentation fault (core dumped) ./build/src/entity.xc -input ./weibel.toml

All the maxnparts are set to 1e6 to reduce running time, others remained as defaults.

StaticObserver commented 7 months ago

Problem solved. I just need to increase maxnpart. It generates an accurate error message on another device telling me maxnpart is not big enough. I don't know why on this device there's nothing in the *.err output.

Anyway, it was a silly mistake.