amrvac / AGILE-experimental

MPI-AMRVAC: A Parallel Adaptive Mesh Refinement Framework
https://amrvac.org/
GNU General Public License v3.0
2 stars 1 forks source link

nvidia compiler #7

Closed beevageeva closed 2 months ago

beevageeva commented 2 months ago

1) added new files with compiler flags nvidia and nvidiadebug -C flag which checks array bounds in 1D (mod_thermal_emission.f) gives a segmetation fault at compilation (probably because a 0 size array) 2) shiftr and shiftl are implemented in mod_random.t using rshift and lshift when nvidia compiler is used or when it is explicitly set USE_INTRINSIC_SHIFT=0 in amrvac.h 3) there was a bug in amrvac.t which tried to close an unopened log file for regression tests
The tests which use supertimestepping fail (a compiler bug?)