Running make '-j' 'FFLAGS_DOUBLE=-fdefault-real-8 -fdefault-double-8' 'CFLAGS_DOUBLE=-DDOUBLE_PRECISION' 'LD_MPI=' 'CFLAGS_FFTW3=' 'FFLAGS_FFTW3=' 'LD_FFTW3=' 'CFLAGS_FFTW2=' 'FFLAGS_FFTW2=' 'LD_FFTW2=' 'FC=mpif90' 'F77=mpif77' 'FFLAGS=-O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check' 'LDFLAGS_HELPER=-Bdynamic' 'FFLAG_HEAP_ALLOC=-fmax-stack-var-size=512000 -fno-stack-arrays' 'OMPFFLAGS=-fopenmp' 'OMPLFLAGS=-lgomp' 'PPFLAGS=-cpp' 'FSTD_95=-std=f95' 'FSTD_2003=-std=f2003' 'FSTD_2008=-std=f2008' 'FSTD_2018=-std=f2018' 'MODULE_PREFIX=__' 'MODULE_INFIX=_MOD_' 'MODULE_SUFFIX=' 'CC=mpicc' 'CSTD=-std=c99' 'CFLAGS=-DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all' 'CMAKE_BUILD_TYPE=Debug' 'GPU=gpu_astaroth' 'MULTITHREADING=openmp' 'RUNTIME_COMPILATION=on' 'TRANSPILATION=on' 'GENERATE_DSL_CODE=on' 'MPICOMM=mpicomm' 'CUDACXX=/usr/local/cuda-12.9/bin/nvcc' 'LDFLAGS=-fsanitize=undefined -fstack-protector-all -no-pie -fstack-check' 'CUDA_AWARE_MPI=OFF' 'default_to_be' MAKING src/Makefile.inc precision-check: No such file src/.current-precision -- creating new one at ./src/scripts/precision-check line 36. ===== make FROM_PARENT=src/ -f Makefile.src code ===== make[1]: Entering directory '/home/pencil/GPU/samples/geodynamo/src' Compiler: gfortran GCC version: 13 Makefile.src:3062: GCC version > 9 ==> allowing argument mismatch in mpicomm.f90, noparticles_mpicomm.f90, syscalls.f90 and fftpack.f90. scripts/mkcparam --dynamic-aux=64 --num-special=1 noascalar.f90 noborder_profiles.f90 nochemistry.f90 nochiral.f90 nocoala.f90 nocosmicray.f90 nocosmicrayflux.f90 density.f90 deriv.f90 nodetonate.f90 nodriver.f90 nodustdensity.f90 nodustvelocity.f90 entropy.f90 eos_idealgas.f90 nofixed_point.f90 noforcing.f90 gravity_r.f90 gpu_astaroth.f90 grid.f90 noheatflux.f90 hydro.f90 nohyperresi_strict.f90 nohypervisc_strict.f90 noimplicit_diffusion.f90 noimplicit_physics.f90 noinitial_condition.f90 nointerstellar.f90 nolorenz_gauge.f90 magnetic.f90 magnetic/nomeanfield.f90 magnetic/nomeanfield_demfdt.f90 mpicomm.f90 noneutraldensity.f90 noneutralvelocity.f90 noNSCBC.f90 noopacity.f90 noparticles.f90 noparticles_adaptation.f90 noparticles_coagulation.f90 noparticles_breakup.f90 noparticles_condensation.f90 noparticles_collisions.f90 noparticles_map.f90 noparticles_density.f90 noparticles_mass.f90 noparticles_number.f90 noparticles_radius.f90 noparticles_potential.f90 noparticles_grad.f90 noparticles_selfgravity.f90 noparticles_sink.f90 noparticles_drag.f90 noparticles_spin.f90 noparticles_stalker.f90 noparticles_lyapunov.f90 noparticles_caustics.f90 noparticles_tetrad.f90 noparticles_stirring.f90 noparticles_diagnos_dv.f90 noparticles_diagnos_state.f90 noparticles_persistence.f90 noparticles_temperature.f90 noparticles_adsorbed.f90 noparticles_surfspec.f90 noparticles_chemistry.f90 nopointmasses.f90 nopoisson.f90 nopolymer.f90 nopower_spectrum.f90 nopython.f90 nopscalar.f90 noradiation.f90 noselfgravity.f90 noSGS_hydro.f90 noshear.f90 noshock.f90 nosignal_handling.f90 nosolid_cells.f90 nostreamlines.f90 notestfield.f90 notestflow.f90 notestscalar.f90 notimeavg.f90 timestep.f90 notraining.f90 viscosity.f90 cparam.local nospecial.f90 make[2]: Entering directory '/home/pencil/GPU/samples/geodynamo/src' Compiler: gfortran GCC version: 13 Makefile:3067: GCC version > 9 ==> allowing argument mismatch in mpicomm.f90, noparticles_mpicomm.f90, syscalls.f90 and fftpack.f90. make[2]: Leaving directory '/home/pencil/GPU/samples/geodynamo/src' make -f Makefile.src start.o run.o start.x run.x make[2]: Entering directory '/home/pencil/GPU/samples/geodynamo/src' Compiler: gfortran GCC version: 13 Makefile.src:3062: GCC version > 9 ==> allowing argument mismatch in mpicomm.f90, noparticles_mpicomm.f90, syscalls.f90 and fftpack.f90. mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o cparam.o -c cparam.f90 mpicc -DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all -std=c99 -o syscalls_ansi.o -c syscalls_ansi.c mpicc -DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all -std=c99 -o morton_helper.o -c morton_helper.c mpicc -DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all -std=c99 -o pthread.o -c pthread.c scripts/mkdummyinc -d noeos.f90 -s eos_idealgas.f90 -o eos_dummies.inc mpicc -DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all -std=c99 -o gpu_astaroth_ansi.o -c gpu_astaroth_ansi.c scripts/mkdummyinc -d file_io_common.f90 -s file_io_f95.f90 -o file_io_common.inc mpicc -DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all -std=c99 -o shared_mem.o -c shared_mem.c mpicc -DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all -std=c99 -o nogsl.o -c nogsl.c scripts/mkdummyinc -d noentropy.f90 -s entropy.f90 -o energy_dummies.inc morton_helper.c:1:9: warning: #pragma once in main file 1 | #pragma once | ^~~~ mpicc -DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all -std=c99 -o nogpu_astaroth_ansi.o -c nogpu_astaroth_ansi.c rm -f astaroth/DSL/local/boundconds.h mkdir -p astaroth/DSL/local cparam.f90:81:39: 81 | integer, parameter :: nrcylrun=max(nx/20,1) | 1 Warning: Integer division truncated to constant ‘3’ at (1) [-Winteger-division] touch astaroth/DSL/local/boundconds.h Boundary conditions encoded for Astaroth from start.in -> later change of them in run.in renders build invalid! mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o cdata.o -c cdata.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -c geometrical_types.f90 -o geometrical_types.o mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o quiet.o -c quiet.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -fallow-argument-mismatch -o syscalls.o -c syscalls.f90 syscalls.f90:509:21: 509 | call copy_addr_c(var,caddr) | 1 ...... 518 | call copy_addr_c(var,caddr) | 2 Warning: Type mismatch between actual argument at (1) and actual argument at (2) (REAL(4)/TYPE(torus_rect)). mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o particles_cdata.o -c particles_cdata.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noyinyang.o -c noyinyang.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nodebug.o -c nodebug.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nokt_transport.o -c nokt_transport.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noforcing.o -c noforcing.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noimplicit_diffusion.o -c noimplicit_diffusion.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nointerstellar.o -c nointerstellar.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noweno_transport.o -c noweno_transport.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noSGS_hydro.o -c noSGS_hydro.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o notraining.o -c notraining.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nodriver.o -c nodriver.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nofixed_point.o -c nofixed_point.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noghostfold.o -c noghostfold.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2008 -o nolsode_for_chemistry.o -c nolsode_for_chemistry.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noNSCBC.o -c noNSCBC.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nochiral.o -c nochiral.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nocosmicrayflux.o -c nocosmicrayflux.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nodetonate.o -c nodetonate.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nodustdensity.o -c nodustdensity.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noheatflux.o -c noheatflux.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nohyperresi_strict.o -c nohyperresi_strict.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nohypervisc_strict.o -c nohypervisc_strict.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noimplicit_physics.o -c noimplicit_physics.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nolorenz_gauge.o -c nolorenz_gauge.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noneutraldensity.o -c noneutraldensity.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noopacity.o -c noopacity.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noparticles_main.o -c noparticles_main.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nopolymer.o -c nopolymer.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noradiation.o -c noradiation.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o noascalar.o -c noascalar.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o notestfield.o -c notestfield.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o notestflow.o -c notestflow.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o notestscalar.o -c notestscalar.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nopower_spectrum.o -c nopower_spectrum.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nopython.o -c nopython.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o notestperturb.o -c notestperturb.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nosignal_handling.o -c nosignal_handling.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nostreamlines.o -c nostreamlines.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nostruct_func.o -c nostruct_func.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nosolid_cells_mpicomm.o -c nosolid_cells_mpicomm.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o nocoala.o -c nocoala.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o magnetic/nomeanfield_demfdt.o -c magnetic/nomeanfield_demfdt.f90 Building Astaroth and interface libraries - see src/astaroth/ac_build.log! cd astaroth && make MPICOMM=mpicomm RUNTIME_COMPILATION=on TRAINING=notraining PRECISION=default READ_OVERRIDES=off TRANSPILATION=on GENERATE_DSL_CODE=on CPU_BUILD=off >& ac_build.log ar: creating noparticles_main.a mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o general.o -c general.f90 mpif90 -O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check -fopenmp -std=f2018 -o magnetic/nomeanfield.o -c magnetic/nomeanfield.f90 make[2]: *** [Makefile.src:3271: astaroth/libastaroth_sgl.so] Error 2 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory '/home/pencil/GPU/samples/geodynamo/src' make[1]: *** [Makefile.src:3746: code] Error 2 make[1]: Leaving directory '/home/pencil/GPU/samples/geodynamo/src' make: *** [Makefile:25: default_to_be] Error 2 'make -j FFLAGS_DOUBLE=-fdefault-real-8 -fdefault-double-8 CFLAGS_DOUBLE=-DDOUBLE_PRECISION LD_MPI= CFLAGS_FFTW3= FFLAGS_FFTW3= LD_FFTW3= CFLAGS_FFTW2= FFLAGS_FFTW2= LD_FFTW2= FC=mpif90 F77=mpif77 FFLAGS=-O -Og -Wall -Wno-zerotrip -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -O -mcmodel=large -finit-real=sNaN -finit-integer=-99999999 -fcheck=bounds -fcheck=bits -fcheck=do -fcheck=pointer -fmax-errors=1 -fbacktrace -Og -g -fsanitize=null -fsanitize=undefined -fstack-protector-all -fstack-check LDFLAGS_HELPER=-Bdynamic FFLAG_HEAP_ALLOC=-fmax-stack-var-size=512000 -fno-stack-arrays OMPFFLAGS=-fopenmp OMPLFLAGS=-lgomp PPFLAGS=-cpp FSTD_95=-std=f95 FSTD_2003=-std=f2003 FSTD_2008=-std=f2008 FSTD_2018=-std=f2018 MODULE_PREFIX=__ MODULE_INFIX=_MOD_ MODULE_SUFFIX= CC=mpicc CSTD=-std=c99 CFLAGS=-DFUNDERSC=1 -mcmodel=large -fmax-errors=1 -Og -g -fsanitize=undefined -fsanitize=null -fstack-protector-all CMAKE_BUILD_TYPE=Debug GPU=gpu_astaroth MULTITHREADING=openmp RUNTIME_COMPILATION=on TRANSPILATION=on GENERATE_DSL_CODE=on MPICOMM=mpicomm CUDACXX=/usr/local/cuda-12.9/bin/nvcc LDFLAGS=-fsanitize=undefined -fstack-protector-all -no-pie -fstack-check CUDA_AWARE_MPI=OFF default_to_be' failed: [' pc_build --config-files=GNU-GCC_MPI+GNU-GCC_debug+GNU-GCC_GPU ' reported: ]make[3]: Entering directory '/home/pencil/GPU/samples/geodynamo/src/astaroth' MPI enabled processing ../hydro.f90 ... processing ../density.f90 ... processing ../entropy.f90 ... processing ../magnetic.f90 ... processing ../eos_idealgas.f90 ... processing ../gravity_r.f90 ... processing ../viscosity.f90 ... processing ../timestep.f90 ... processing ../magnetic/nomeanfield.f90 ... processing ../nodustdensity.f90 ... processing ../nochemistry.f90 ... processing ../global_pushpars.f90 ... processing ../gpu_astaroth.f90 ... rm -f PC_modulesources_old.h python3 transpile.py Traceback (most recent call last): File "/home/pencil/GPU/samples/geodynamo/src/astaroth/transpile.py", line 66, in main() File "/home/pencil/GPU/samples/geodynamo/src/astaroth/transpile.py", line 52, in main run_cmd(command) File "/home/pencil/GPU/samples/geodynamo/src/astaroth/transpile.py", line 15, in run_cmd raise RuntimeError(f"""Running `{command}` failed with return code {p.returncode}. RuntimeError: Running `python3 /home/pencil/GPU/fortran-parser/parse.py -f rhs_cpu -F /home/pencil/GPU/samples/geodynamo/src/equ.f90 -o -s --sample-dir /home/pencil/GPU/samples/geodynamo --dir /home/pencil/GPU/samples/geodynamo/src` failed with return code 1. STDOUT: ------- WARNING: shared variable target is not pushed to the GPU: cs_t__mod__viscosity cs_t__mod__equationofstate WARNING: shared variable target is not pushed to the GPU: cs_t__mod__viscosity cs_t__mod__equationofstate WARNING: no target for shared variable, assuming it is never used: lgr_metric__mod__density WARNING: no target for shared variable, assuming it is never used: etat_x__mod__viscosity WARNING: no target for shared variable, assuming it is never used: etat_y__mod__viscosity WARNING: no target for shared variable, assuming it is never used: etat_z__mod__viscosity WARNING: no target for shared variable, assuming it is never used: detat_x__mod__viscosity WARNING: no target for shared variable, assuming it is never used: etat_y__mod__viscosity WARNING: no target for shared variable, assuming it is never used: etat_z__mod__viscosity WARNING: no target for shared variable, assuming it is never used: etat_x__mod__viscosity WARNING: no target for shared variable, assuming it is never used: detat_y__mod__viscosity WARNING: no target for shared variable, assuming it is never used: etat_z__mod__viscosity WARNING: no target for shared variable, assuming it is never used: etat_x__mod__viscosity WARNING: no target for shared variable, assuming it is never used: etat_y__mod__viscosity WARNING: no target for shared variable, assuming it is never used: detat_z__mod__viscosity WARNING: no target for shared variable, assuming it is never used: lrho_chi__mod__magnetic WARNING: no target for shared variable, assuming it is never used: lrho_chi__mod__magnetic WARNING: no target for shared variable, assuming it is never used: lgr_metric__mod__hydro WARNING: no target for shared variable, assuming it is never used: lgr_metric__mod__density WARNING: no target for shared variable, assuming it is never used: lgr_metric__mod__magnetic DONE inlining Unrolling constant loops Check unroll file Check inlined file real real pencil_case real logical ERROR: out of bounds access ac_transformed_pencil_r_mn1(l1:l2): ac_transformed_pencil_r_mn1 is declared with dimension (nx) but indexed up to l2=nghost+nx with nghost=3. Use ac_transformed_pencil_r_mn1, ac_transformed_pencil_r_mn1(:) or ac_transformed_pencil_r_mn1(1:nx) instead. In line: geta_r__mod__magnetic(:,1)=tmp1_107_129_130_151*x__mod__cdata(l1__mod__cparam:l2__mod__cdata)*ac_transformed_pencil_r_mn1(l1__mod__cparam:l2__mod__cdata) STDERR: ------- make[3]: *** [Makefile:211: DSL/local/rhs.h] Error 1 make[3]: Leaving directory '/home/pencil/GPU/samples/geodynamo/src/astaroth'