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 -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow' 'LDFLAGS_HELPER=-dynamic' 'OMPFFLAGS=-fopenmp' 'OMPLFLAGS=-lgomp' 'PPFLAGS=-cpp' 'FSTD_95=-std=f95' 'FSTD_2003=-std=f2003' 'CC=mpicc' 'CFLAGS=-DFUNDERSC=1' 'default_to_be' MAKING src/Makefile.inc touch src/.build-history echo "@"`hostname` "("`date`")" >> src/.build-history ( cd src && \ echo "===== " make FROM_PARENT=src/ -f Makefile.src code "====="; \ make FROM_PARENT=src/ -f Makefile.src default_to_be \ ) ===== make FROM_PARENT=src/ -f Makefile.src code ===== make[1]: Entering directory '/home/pencil/daily/samples/testfield_nonlin_z/src' Compiler: gfortran GCC version: 11 Makefile.src:2799: GCC version > 9 ==> allowing argument mismatch in mpicomm.f90, noparticles_mpicomm.f90, syscalls.f90 and fftpack.f90. scripts/mkcparam -b noascalar.f90 noborder_profiles.f90 nochemistry.f90 nochiral.f90 nocosmicray.f90 nocosmicrayflux.f90 nodensity.f90 deriv.f90 nodetonate.f90 nodustdensity.f90 nodustvelocity.f90 noentropy.f90 noeos.f90 nofixed_point.f90 forcing.f90 nogravity.f90 nogpu.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_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 test_methods/testfield_general.f90 test_methods/testfield_nonlin_z.f90 notestflow.f90 notestscalar.f90 notimeavg.f90 notraining.f90 viscosity.f90 cparam.local nospecial.f90 ${PENCIL_HOME}/utils/pc_identify_revision --reset make -f Makefile.src start.o run.o start.x run.x make[2]: Entering directory '/home/pencil/daily/samples/testfield_nonlin_z/src' Compiler: gfortran GCC version: 11 Makefile.src:2799: GCC version > 9 ==> allowing argument mismatch in mpicomm.f90, noparticles_mpicomm.f90, syscalls.f90 and fftpack.f90. scripts/mkcparam -b noascalar.f90 noborder_profiles.f90 nochemistry.f90 nochiral.f90 nocosmicray.f90 nocosmicrayflux.f90 nodensity.f90 deriv.f90 nodetonate.f90 nodustdensity.f90 nodustvelocity.f90 noentropy.f90 noeos.f90 nofixed_point.f90 forcing.f90 nogravity.f90 nogpu.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_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 test_methods/testfield_general.f90 test_methods/testfield_nonlin_z.f90 notestflow.f90 notestscalar.f90 notimeavg.f90 notraining.f90 viscosity.f90 cparam.local nospecial.f90 scripts/mkcparam -b noascalar.f90 noborder_profiles.f90 nochemistry.f90 nochiral.f90 nocosmicray.f90 nocosmicrayflux.f90 nodensity.f90 deriv.f90 nodetonate.f90 nodustdensity.f90 nodustvelocity.f90 noentropy.f90 noeos.f90 nofixed_point.f90 forcing.f90 nogravity.f90 nogpu.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_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 test_methods/testfield_general.f90 test_methods/testfield_nonlin_z.f90 notestflow.f90 notestscalar.f90 notimeavg.f90 notraining.f90 viscosity.f90 cparam.local nospecial.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o magnetic.o -c magnetic.f90 magnetic.f90:417:1: 417 | lpropagate_borderaa, lremove_meanaz, lremove_meanax, lremove_meanay, lremove_meanaxy, lremove_meanaxz, & | 1 Warning: Limit of 39 continuations exceeded in statement at (1) magnetic.f90:8929:27: 8929 | f(l1:l2,m,n,iuu+0)=f(l1:l2,m,n,iuu+0)+ampl*fac/(4*kz)*sin(kz*z(n)) | 1 Warning: Possible change of value in conversion from COMPLEX(8) to REAL(8) at (1) [-Wconversion] magnetic.f90:323:42: 323 | real, dimension(nx,ny,nz,3) :: A_relprof | 1 Warning: Array ‘a_relprof’ at (1) is larger than limit set by ‘-fmax-stack-var-size=’, moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the ‘-fmax-stack-var-size=’ limit (or use ‘-frecursive’, which implies unlimited ‘-fmax-stack-var-size’) - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising] magnetic.f90:94:46: 94 | real, dimension (:,:,:,:), allocatable :: ap | 1 Warning: Unused PRIVATE module variable ‘ap’ declared at (1) [-Wunused-value] magnetic.f90:153:52: 153 | real :: kpeak_aa=10., kgaussian_aa=0., brms_target=1.0, rescaling_fraction=1.0 | 1 Warning: Unused PRIVATE module variable ‘brms_target’ declared at (1) [-Wunused-value] magnetic.f90:161:14: 161 | real :: damp=0., two_step_factor=1. | 1 Warning: Unused PRIVATE module variable ‘damp’ declared at (1) [-Wunused-value] magnetic.f90:111:39: 111 | integer :: nzav=0,indzav=0,izav_start=1 | 1 Warning: Unused PRIVATE module variable ‘izav_start’ declared at (1) [-Wunused-value] magnetic.f90:310:28: 310 | real :: k1x_ff=1.0, k1y_ff=1.0, k1z_ff=1.0 | 1 Warning: Unused PRIVATE module variable ‘k1y_ff’ declared at (1) [-Wunused-value] magnetic.f90:238:25: 238 | logical :: lbeta_as_aux=.false. | 1 Warning: Unused PRIVATE module variable ‘lbeta_as_aux’ declared at (1) [-Wunused-value] magnetic.f90:252:23: 252 | logical :: lbraginsky=.false., l2d_aa=.false. | 1 Warning: Unused PRIVATE module variable ‘lbraginsky’ declared at (1) [-Wunused-value] magnetic.f90:336:30: 336 | logical :: lelectron_inertia=.false. | 1 Warning: Unused PRIVATE module variable ‘lelectron_inertia’ declared at (1) [-Wunused-value] magnetic.f90:144:14: 144 | real :: mu_r=-0.5 !(still needed for backwards compatibility) | 1 Warning: Unused PRIVATE module variable ‘mu_r’ declared at (1) [-Wunused-value] magnetic.f90:134:31: 134 | real :: relhel_aa=1., nexp_aa=0. | 1 Warning: Unused PRIVATE module variable ‘nexp_aa’ declared at (1) [-Wunused-value] magnetic.f90:153:76: 153 | real :: kpeak_aa=10., kgaussian_aa=0., brms_target=1.0, rescaling_fraction=1.0 | 1 Warning: Unused PRIVATE module variable ‘rescaling_fraction’ declared at (1) [-Wunused-value] magnetic.f90:10897:35: 10897 | subroutine magnetic_after_mn(df) | 1 Warning: Unused dummy argument ‘df’ at (1) [-Wunused-dummy-argument] magnetic.f90:9033:41: 9033 | real, dimension(mx,my,mz) :: Ax_ext,Ay_ext | 1 Warning: Array ‘ax_ext’ at (1) is larger than limit set by ‘-fmax-stack-var-size=’, moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the ‘-fmax-stack-var-size=’ limit (or use ‘-frecursive’, which implies unlimited ‘-fmax-stack-var-size’) - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising] magnetic.f90:9033:48: 9033 | real, dimension(mx,my,mz) :: Ax_ext,Ay_ext | 1 Warning: Array ‘ay_ext’ at (1) is larger than limit set by ‘-fmax-stack-var-size=’, moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the ‘-fmax-stack-var-size=’ limit (or use ‘-frecursive’, which implies unlimited ‘-fmax-stack-var-size’) - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising] magnetic.f90:7802:38: 7802 | subroutine forcing_continuous(df,p) | 1 Warning: Unused dummy argument ‘p’ at (1) [-Wunused-dummy-argument] magnetic.f90:7355:31: 7355 | real :: Eaver, Baver, b2m | 1 Warning: Unused variable ‘b2m’ declared at (1) [-Wunused-variable] magnetic.f90:7355:26: 7355 | real :: Eaver, Baver, b2m | 1 Warning: Unused variable ‘baver’ declared at (1) [-Wunused-variable] magnetic.f90:7355:19: 7355 | real :: Eaver, Baver, b2m | 1 Warning: Unused variable ‘eaver’ declared at (1) [-Wunused-variable] magnetic.f90:4770:49: 4770 | real, dimension (nx) :: vdrift, va2max_beta | 1 Warning: Unused variable ‘va2max_beta’ declared at (1) [-Wunused-variable] magnetic.f90:4700:51: 4700 | real, dimension (nx,3) :: gchi_diamag, Bk_Bki, jj_diamag, tmp | 1 Warning: Unused variable ‘bk_bki’ declared at (1) [-Wunused-variable] magnetic.f90:3791:28: 3791 | type(pencil_case) :: p | 1 Warning: Array ‘p’ at (1) is larger than limit set by ‘-fmax-stack-var-size=’, moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the ‘-fmax-stack-var-size=’ limit (or use ‘-frecursive’, which implies unlimited ‘-fmax-stack-var-size’) - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising] magnetic.f90:7692:25: 7692 | subroutine curflux_dS(uxb,jj) | ^ Warning: ‘curflux_ds’ defined but not used [-Wunused-function] magnetic.f90:10917:24: 10917 | subroutine braginsky | ^ Warning: ‘braginsky’ defined but not used [-Wunused-function] magnetic.f90:10999:36: 10999 | subroutine remove_volume_average(f) | ^ Warning: ‘remove_volume_average’ defined but not used [-Wunused-function] mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o hydro.o -c hydro.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o nopower_spectrum.o -c nopower_spectrum.f90 hydro.f90:264:18: 264 | real :: cdt_tauf=1.0, ulev=impossible | 1 Warning: Unused PRIVATE module variable ‘cdt_tauf’ declared at (1) [-Wunused-value] hydro.f90:140:45: 140 | logical :: luuk_as_aux=.false., look_as_aux=.false. | 1 Warning: Unused PRIVATE module variable ‘look_as_aux’ declared at (1) [-Wunused-value] hydro.f90:140:24: 140 | logical :: luuk_as_aux=.false., look_as_aux=.false. | 1 Warning: Unused PRIVATE module variable ‘luuk_as_aux’ declared at (1) [-Wunused-value] hydro.f90:877:46: 877 | real, dimension (nx) :: prof_amp1, prof_amp2 | 1 Warning: Unused PRIVATE module variable ‘prof_amp2’ declared at (1) [-Wunused-value] hydro.f90:112:19: 112 | real :: u_out_kep=0.0, velocity_ceiling=.0, w_sldchar_hyd=1.0 | 1 Warning: Unused PRIVATE module variable ‘u_out_kep’ declared at (1) [-Wunused-value] hydro.f90:214:45: 214 | real :: width_ff_uu=1.,x1_ff_uu=0.,x2_ff_uu=0. | 1 Warning: Unused PRIVATE module variable ‘x2_ff_uu’ declared at (1) [-Wunused-value] hydro.f90:6073:55: 6073 | real, dimension (nx) :: pdamp,fint_work,fext_work | 1 Warning: Unused variable ‘fext_work’ declared at (1) [-Wunused-variable] hydro.f90:6073:45: 6073 | real, dimension (nx) :: pdamp,fint_work,fext_work | 1 Warning: Unused variable ‘fint_work’ declared at (1) [-Wunused-variable] hydro.f90:4092:40: 4092 | real, dimension (nx,3) :: uxo,temp | 1 Warning: Unused variable ‘temp’ declared at (1) [-Wunused-variable] hydro.f90:4097:21: 4097 | real :: kx,zbot | 1 Warning: Unused variable ‘zbot’ declared at (1) [-Wunused-variable] hydro.f90:3666:19: 3666 | integer :: j | 1 Warning: Unused variable ‘j’ declared at (1) [-Wunused-variable] hydro.f90:5845:39: 5845 | subroutine coriolis_spherical_del2p(f,p) | ^ Warning: ‘coriolis_spherical_del2p’ defined but not used [-Wunused-function] hydro.f90:5936:41: 5936 | subroutine coriolis_cylindrical_del2p(f,p) | ^ Warning: ‘coriolis_cylindrical_del2p’ defined but not used [-Wunused-function] hydro.f90:7349:4: 7349 | function decomp_prepare() result (ldecomp) | ^ Warning: ‘decomp_prepare’ defined but not used [-Wunused-function] mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o persist.o -c persist.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o test_methods/testfield_general.o -c test_methods/testfield_general.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o notestflow.o -c notestflow.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o notestscalar.o -c notestscalar.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o snapshot.o -c snapshot.f90 snapshot.f90:354:41: 354 | subroutine read_predef_snaptimes(file,snaptimes) | 1 Warning: Unused dummy argument ‘file’ at (1) [-Wunused-dummy-argument] snapshot.f90:354:51: 354 | subroutine read_predef_snaptimes(file,snaptimes) | 1 Warning: Dummy argument ‘snaptimes’ at (1) was declared INTENT(OUT) but was not set [-Wunused-dummy-argument] snapshot.f90:272:56: 272 | real, dimension(:), allocatable, save :: snaptimes | 1 Warning: Unused variable ‘snaptimes’ declared at (1) [-Wunused-variable] snapshot.f90:354:36: 354 | subroutine read_predef_snaptimes(file,snaptimes) | ^ Warning: ‘read_predef_snaptimes’ defined but not used [-Wunused-function] test_methods/testfield_general.f90:1065:10: 1065 | use Cdata, only: m, n, lroot, l2davgfirst, iaxtest, iaztest, iaatest | 1 Warning: Unused module variable ‘lroot’ which has been explicitly imported at (1) [-Wunused-variable] test_methods/testfield_general.f90:712:82: 712 | subroutine calc_coefficients(idiags,idiags_z,idiags_xz,idiags_Eij,idiags_Eij_z,idiags_Eij_xz, & | 1 Warning: Unused dummy argument ‘idiags_eij_z’ at (1) [-Wunused-dummy-argument] mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o test_methods/testfield_nonlin_z.o -c test_methods/testfield_nonlin_z.f90 test_methods/testfield_nonlin_z.f90:175:24: 175 | integer :: idiag_b0max=0 ! DIAG_DOC: $\operatorname{max}\left|\boldsymbol{b}_{0}\right|$ | 1 Warning: Unused PRIVATE module variable ‘idiag_b0max’ declared at (1) [-Wunused-value] test_methods/testfield_nonlin_z.f90:174:24: 174 | integer :: idiag_u0max=0 ! DIAG_DOC: $\operatorname{max}\left|\boldsymbol{u}_{0}\right|$ | 1 Warning: Unused PRIVATE module variable ‘idiag_u0max’ declared at (1) [-Wunused-value] test_methods/testfield_nonlin_z.f90:1826:45: 1826 | subroutine rprint_testfield(lreset,lwrite) | 1 Warning: Unused dummy argument ‘lwrite’ at (1) [-Wunused-dummy-argument] test_methods/testfield_nonlin_z.f90:1313:10: 1313 | use Magnetic, only: calc_pencils_magnetic,aamz,lcalc_aameanz,B_ext_inv,beltrami_phase | 1 Warning: Unused module variable ‘b_ext_inv’ which has been explicitly imported at (1) [-Wunused-variable] test_methods/testfield_nonlin_z.f90:1330:26: 1330 | real :: fac, bcosphz, bsinphz | 1 Warning: Unused variable ‘bcosphz’ declared at (1) [-Wunused-variable] test_methods/testfield_nonlin_z.f90:1330:35: 1330 | real :: fac, bcosphz, bsinphz | 1 Warning: Unused variable ‘bsinphz’ declared at (1) [-Wunused-variable] test_methods/testfield_nonlin_z.f90:1331:29: 1331 | type (pencil_case) :: p | 1 Warning: Array ‘p’ at (1) is larger than limit set by ‘-fmax-stack-var-size=’, moved from stack to static storage. This makes the procedure unsafe when called recursively, or concurrently from multiple threads. Consider increasing the ‘-fmax-stack-var-size=’ limit (or use ‘-frecursive’, which implies unlimited ‘-fmax-stack-var-size’) - or change the code to use an ALLOCATABLE array. If the variable is never accessed concurrently, this warning can be ignored, and the variable could also be declared with the SAVE attribute. [-Wsurprising] test_methods/testfield_nonlin_z.f90:1687:34: 1687 | subroutine set_B0test_Beltrami(B0test,jtest) | ^ Warning: ‘set_b0test_beltrami’ defined but not used [-Wunused-function] test_methods/testfield_nonlin_z.f90:1708:33: 1708 | subroutine set_B0test_B11_B21(B0test,jtest) | ^ Warning: ‘set_b0test_b11_b21’ defined but not used [-Wunused-function] test_methods/testfield_nonlin_z.f90:1731:33: 1731 | subroutine set_J0test_B11_B21(J0test,jtest) | ^ Warning: ‘set_j0test_b11_b21’ defined but not used [-Wunused-function] mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o equ.o -c equ.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o slices.o -c slices.f90 slices.f90:243:36: 243 | lwrite_slice_xy=(ipz==nprocz/2) | 1 Warning: Integer division truncated to constant ‘0’ at (1) [-Winteger-division] slices.f90:279:37: 279 | lwrite_slice_xy2=(ipz==nprocz/4); if (lwrite_slice_xy2) iz2_loc=n2 | 1 Warning: Integer division truncated to constant ‘0’ at (1) [-Winteger-division] slices.f90:318:37: 318 | lwrite_slice_xy2=(ipz==nprocz/4) | 1 Warning: Integer division truncated to constant ‘0’ at (1) [-Winteger-division] slices.f90:462:21: 462 | if (ipz<=nprocz/3) then | 1 Warning: Integer division truncated to constant ‘0’ at (1) [-Winteger-division] slices.f90:462:21: 462 | if (ipz<=nprocz/3) then | 1 Warning: Integer division truncated to constant ‘0’ at (1) [-Winteger-division] slices.f90:471:21: 471 | elseif (ipz>=2*nprocz/3) then | 1 Warning: Integer division truncated to constant ‘0’ at (1) [-Winteger-division] slices.f90:471:21: 471 | elseif (ipz>=2*nprocz/3) then | 1 Warning: Integer division truncated to constant ‘0’ at (1) [-Winteger-division] slices.f90:453:34: 453 | subroutine prep_xy_slice(izloc) | 1 Warning: Unused dummy argument ‘izloc’ at (1) [-Wunused-dummy-argument] slices.f90:453:28: 453 | subroutine prep_xy_slice(izloc) | ^ Warning: ‘prep_xy_slice’ defined but not used [-Wunused-function] equ.f90:21:44: 21 | logical :: ldiagnos_save, l1davgfirst_save, l1dphiavg_save, l2davgfirst_save | 1 Warning: Unused PRIVATE module variable ‘l1davgfirst_save’ declared at (1) [-Wunused-value] equ.f90:21:60: 21 | logical :: ldiagnos_save, l1davgfirst_save, l1dphiavg_save, l2davgfirst_save | 1 Warning: Unused PRIVATE module variable ‘l1dphiavg_save’ declared at (1) [-Wunused-value] equ.f90:21:78: 21 | logical :: ldiagnos_save, l1davgfirst_save, l1dphiavg_save, l2davgfirst_save | 1 Warning: Unused PRIVATE module variable ‘l2davgfirst_save’ declared at (1) [-Wunused-value] equ.f90:21:26: 21 | logical :: ldiagnos_save, l1davgfirst_save, l1dphiavg_save, l2davgfirst_save | 1 Warning: Unused PRIVATE module variable ‘ldiagnos_save’ declared at (1) [-Wunused-value] equ.f90:20:43: 20 | logical :: started_finalizing_diagnostics = .false. | 1 Warning: Unused PRIVATE module variable ‘started_finalizing_diagnostics’ declared at (1) [-Wunused-value] equ.f90:1323:23: 1323 | real :: dt1_preac | 1 Warning: Unused variable ‘dt1_preac’ declared at (1) [-Wunused-variable] mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o timestep.o -c timestep.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o pencil_check.o -c pencil_check.f90 timestep.f90:317:31: 317 | subroutine pushpars2c(p_par) | 1 Warning: Unused dummy argument ‘p_par’ at (1) [-Wunused-dummy-argument] mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -o param_io.o -c param_io.f90 param_io.f90:80:26: 80 | integer :: niter_poisson ! dummy | 1 Warning: Unused PRIVATE module variable ‘niter_poisson’ declared at (1) [-Wunused-value] mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o register.o -c register.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o start.o -c start.f90 mpif90 -O -O0 -Wall -finit-real=sNaN -finit-integer=-2147483648 -g -fbacktrace -fimplicit-none -fcheck=all -ffpe-trap=invalid,zero,overflow -fdefault-real-8 -fdefault-double-8 -std=f95 -o run.o -c run.f90 run.f90:967:62: 967 | wall_clock_time/icount/(nw+npar/ncpus)/ncpus/1.0e-6 | 1 Warning: Integer division truncated to constant ‘0’ at (1) [-Winteger-division] mpif90 cparam.o cdata.o mpicomm.o noborder_profiles.o boundcond.o nodebug.o debug_io_dist.o deriv.o diagnostics.o nofarray_alloc.o farray.o filter.o nofixed_point.o nofourier.o general.o geometrical_types.o ghost_check.o noghostfold.o grid.o nogsl.o noimplicit_diffusion.o initcond.o noinitial_condition.o nohdf5_io.o io_dist.o file_io_f95.o nolsode_for_chemistry.o messages.o noNSCBC.o persist.o nopower_spectrum.o nopython.o register.o shared_variables.o nosignal_handling.o slices.o slices_methods.o snapshot.o nosolid_cells_mpicomm.o nosolid_cells.o nostreamlines.o nostruct_func.o sub.o syscalls.o syscalls_ansi.o notestperturb.o notimeavg.o notraining.o noweno_transport.o noyinyang.o noyinyang_mpi.o magnetic.a noparticles_main.a nochemistry.o nochiral.o nocosmicray.o nocosmicrayflux.o nodensity.o nodensity_methods.o nodetonate.o nodustdensity.o nodustvelocity.o noentropy.o noeos.o forcing.o nogravity.o noheatflux.o hydro.o nohyperresi_strict.o nohypervisc_strict.o noimplicit_physics.o nointerstellar.o nolorenz_gauge.o noneutraldensity.o noneutralvelocity.o noopacity.o nopointmasses.o nopoisson.o nopolymer.o nopscalar.o noradiation.o noselfgravity.o noSGS_hydro.o noshear.o noshock.o nospecial.o noascalar.o test_methods/testfield_general.o test_methods/testfield_nonlin_z.o notestflow.o notestscalar.o viscosity.o param_io.o nogpu.o start.o -ldl -o start.x mpif90 cparam.o cdata.o mpicomm.o noborder_profiles.o boundcond.o nodebug.o debug_io_dist.o deriv.o diagnostics.o nofarray_alloc.o farray.o filter.o nofixed_point.o nofourier.o general.o geometrical_types.o ghost_check.o noghostfold.o grid.o nogsl.o noimplicit_diffusion.o initcond.o noinitial_condition.o nohdf5_io.o io_dist.o file_io_f95.o nolsode_for_chemistry.o messages.o noNSCBC.o persist.o nopower_spectrum.o nopython.o register.o shared_variables.o nosignal_handling.o slices.o slices_methods.o snapshot.o nosolid_cells_mpicomm.o nosolid_cells.o nostreamlines.o nostruct_func.o sub.o syscalls.o syscalls_ansi.o notestperturb.o notimeavg.o notraining.o noweno_transport.o noyinyang.o noyinyang_mpi.o magnetic.a noparticles_main.a nochemistry.o nochiral.o nocosmicray.o nocosmicrayflux.o nodensity.o nodensity_methods.o nodetonate.o nodustdensity.o nodustvelocity.o noentropy.o noeos.o forcing.o nogravity.o noheatflux.o hydro.o nohyperresi_strict.o nohypervisc_strict.o noimplicit_physics.o nointerstellar.o nolorenz_gauge.o noneutraldensity.o noneutralvelocity.o noopacity.o nopointmasses.o nopoisson.o nopolymer.o nopscalar.o noradiation.o noselfgravity.o noSGS_hydro.o noshear.o noshock.o nospecial.o noascalar.o test_methods/testfield_general.o test_methods/testfield_nonlin_z.o notestflow.o notestscalar.o viscosity.o nogpu.o timestep.o equ.o pencil_check.o param_io.o run.o -ldl -o run.x make[2]: Leaving directory '/home/pencil/daily/samples/testfield_nonlin_z/src' ${PENCIL_HOME}/utils/pc_identify_revision --write make[1]: Leaving directory '/home/pencil/daily/samples/testfield_nonlin_z/src'