../src/main/eos.F90 call equationofstate(eos_type,ponrhoi,spsoundi,rhoi,xyzi(1),xyzi(2),xyzi(3),vxyzui(4)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/eos.F90 call equationofstate(eos_type,ponrhoi,spsoundi,rhoi,xyzi(1),xyzi(2),xyzi(3),vxyzui(4)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/h2cooling.f90 * (neff / co_rot_n05)**co_rot_alpha ^ Warning: ‘co_rot_n05’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/main/h2cooling.f90 ‘co_rot_lte’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/main/h2cooling.f90 ‘co_rot_l0’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/main/h2cooling.f90 ‘co_rot_alpha’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/main/readwrite_dumps.F90 call equationofstate(ieos,ponrhoi,spsoundi,rhoi,xyzh(1,i),xyzh(2,i),xyzh(3,i),vxyzu(4,i)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/readwrite_dumps.F90 integer(kind=8) :: nparttot,npartoftypetot(maxtypes),npartoftypetotact(maxtypes) 1 Warning: Unused variable ‘npartoftypetotact’ declared at (1) [-Wunused-variable] ../src/main/linklist_kdtree.F90 use io, only:nprocs,id 1 Warning: Unused module variable ‘id’ which has been explicitly imported at (1) [-Wunused-variable] ../src/main/linklist_kdtree.F90 hmax(nodemap(i)) = node(i)%hmax ^ Warning: iteration 1000000 invokes undefined behavior [-Waggressive-loop-optimizations] ../src/main/linklist_kdtree.F90 do i = 2,2**(refinelevels+1)-1 ^ note: containing loop ../src/main/ptmass.F90 nacc = reduceall_mpi('+', nacc) 1 Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion] ../src/main/ptmass.F90 use io, only:id,master 1 Warning: Unused module variable ‘id’ which has been explicitly imported at (1) [-Wunused-variable] ../src/main/dens.F90 use kdtree, only:inoderange,inodeparts 1 Warning: Unused module variable ‘inoderange’ which has been explicitly imported at (1) [-Wunused-variable] ../src/main/dens.F90 use io, only:id 1 Warning: Unused module variable ‘id’ which has been explicitly imported at (1) [-Wunused-variable] ../src/main/force.F90 use part, only:rhoh,dhdrho,rhoanddhdrho,massoftype,& 1 Warning: Unused module variable ‘massoftype’ which has been explicitly imported at (1) [-Wunused-variable] ../src/main/force.F90 use options, only:iresistive_heating,use_dustfrac 1 Warning: Unused module variable ‘use_dustfrac’ which has been explicitly imported at (1) [-Wunused-variable] ../src/main/force.F90 dtdustdenom = dustfraci*tstopi*spsoundi**2 ^ Warning: ‘tstopi’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/main/force.F90 real :: tstopi,dustfraci,dtdustdenom ^ note: ‘tstopi’ was declared here ../src/main/force.F90 if (use_dustfrac .and. iamgasi .and. dustfraci > 0. .and. spsoundi > 0.) then ^ Warning: ‘dustfraci’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/main/force.F90 real :: tstopi,dustfraci,dtdustdenom ^ note: ‘dustfraci’ was declared here ../src/main/force.F90 if (usej) gradpj = pmassj*pro2j*grkernj ^ Warning: ‘pro2j’ may be used uninitialized in this function [-Wmaybe-uninitialized] ../src/main/force.F90 real :: gradpj,pro2j,projsxj,projsyj,projszj,sxxj,sxyj,sxzj,syyj,syzj,szzj,psitermj,dBrhoterm ^ note: ‘pro2j’ was declared here ../src/main/energies.F90 etherm = etherm + pmassi*utherm(vxyzu(4,i),rhoi)*gasfrac 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/energies.F90 call equationofstate(ieos,ponrhoi,spsoundi,rhoi,xi,yi,zi,vxyzu(4,i)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/energies.F90 divBi = abs(divcurlB(1,i)) 1 Warning: Array reference at (1) is out of bounds (1 > 0) in dimension 1 ../src/main/energies.F90 curlBi = divcurlB(2:4,i) 1 Warning: Lower array reference at (1) is out of bounds (2 > 0) in dimension 1 ../src/main/step_leapfrog.F90 naccreted = reduceall_mpi('+',naccreted) 1 Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion] ../src/main/step_leapfrog.F90 nfail = reduceall_mpi('+',nfail) 1 Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion] ../src/main/step_leapfrog.F90 if (maxvxyzu >= 4) eni = vxyzu(4,i) + hdtsph*fxyzu(4,i) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/step_leapfrog.F90 if (maxvxyzu >= 4) eni = vxyzu(4,i) + hdtsph*fxyzu(4,i) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/step_leapfrog.F90 vxyzu(4,i) = eni 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/step_leapfrog.F90 if (icooling==3) call energ_coolfunc(vxyzu(4,i),rhoh(xyzh(4,i),massoftype(itype)),dtsph,v2i) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/setup/setup_tipsy.f90 use boundary, only:set_boundary,xmin,ymin,zmin,dxbound,dybound,dzbound 1 Warning: Unused module variable ‘dxbound’ which has been explicitly imported at (1) [-Wunused-variable] ../src/setup/setup_tipsy.f90 Unused module variable ‘dybound’ which has been explicitly imported at (1) [-Wunused-variable] ../src/setup/setup_tipsy.f90 Unused module variable ‘dzbound’ which has been explicitly imported at (1) [-Wunused-variable] ../src/setup/setup_tipsy.f90 Unused module variable ‘xmin’ which has been explicitly imported at (1) [-Wunused-variable] ../src/setup/setup_tipsy.f90 Unused module variable ‘ymin’ which has been explicitly imported at (1) [-Wunused-variable] ../src/setup/setup_tipsy.f90 Unused module variable ‘zmin’ which has been explicitly imported at (1) [-Wunused-variable] ../src/main/checksetup.F90 if (.not.in_range(vxyzu(4,i),0.) .and. xyzh(4,i) >= 0.) then !ignore accreted particles that have negative energies 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/main/checksetup.F90 if (nbad <= 10) print*,' particle ',i,' u = ',vxyzu(4,i) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_nonidealmhd.F90 Bi = sqrt( dot_product(Bevol(1:3,1),Bevol(1:3,1)) ) 1 Warning: Array reference at (1) is out of bounds (1 > 0) in dimension 2 ../src/tests/test_nonidealmhd.F90 Bi = sqrt( dot_product(Bevol(1:3,1),Bevol(1:3,1)) ) 1 Warning: Array reference at (1) is out of bounds (1 > 0) in dimension 2 ../src/tests/test_nonidealmhd.F90 call nicil_get_eta(etaohmi,etahalli,etaambii,Bi,rhoi,tempi,n_R(:,1),n_electronT(1),ierr) 1 Warning: Array reference at (1) is out of bounds (1 > 0) in dimension 2 ../src/tests/test_nonidealmhd.F90 call nicil_get_eta(etaohmi,etahalli,etaambii,Bi,rhoi,tempi,n_R(:,1),n_electronT(1),ierr) 1 Warning: Array reference at (1) is out of bounds (1 > 0) in dimension 1 ../src/tests/test_nonidealmhd.F90 subroutine test_narrays(ntests,npass) ^ Warning: ‘test_narrays’ defined but not used [-Wunused-function] ../src/tests/test_nonidealmhd.F90 subroutine test_standingshock(ntests,npass) ^ Warning: ‘test_standingshock’ defined but not used [-Wunused-function] ../src/tests/test_nonidealmhd.F90 subroutine test_wavedamp(ntests,npass) ^ Warning: ‘test_wavedamp’ defined but not used [-Wunused-function] ../src/tests/test_derivs.F90 if (maxvxyzu==4) vxyzu(4,i) = utherm(xyzh(:,i)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvx,:),curlvfuncx,1.5e-3,nfailed(3),'curlv(x)',checkmask) 1 Warning: Array reference at (1) is out of bounds (2 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvy,:),curlvfuncy,1.e-3,nfailed(4),'curlv(y)',checkmask) 1 Warning: Array reference at (1) is out of bounds (3 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvz,:),curlvfuncz,1.e-3,nfailed(5),'curlv(z)',checkmask) 1 Warning: Array reference at (1) is out of bounds (4 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkval(np,fxyzu(4,:),0.,epsilon(fxyzu),nfailed(10),'den/dt',checkmask) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,fxyzu(4,1:np)/((gamma-1.)*vxyzu(4,1:np)),dudtfunc,1.e-3,nfailed(10),'du/dt',checkmask) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,fxyzu(4,1:np)/((gamma-1.)*vxyzu(4,1:np)),dudtfunc,1.e-3,nfailed(10),'du/dt',checkmask) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu==4) vxyzu(4,i) = uthermconst(xyzh(:,i)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvx,:),curlvfuncx,1.5e-3,nfailed(3),'curlv(x)',checkmask) 1 Warning: Array reference at (1) is out of bounds (2 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvy,:),curlvfuncy,1.e-3,nfailed(4),'curlv(y)',checkmask) 1 Warning: Array reference at (1) is out of bounds (3 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvz,:),curlvfuncz,1.e-3,nfailed(5),'curlv(z)',checkmask) 1 Warning: Array reference at (1) is out of bounds (4 > 1) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu==4) vxyzu(4,i) = uthermconst(xyzh(:,i)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvx,:),curlvfuncx,1.5e-3,nfailed(3),'curlv(x)') 1 Warning: Array reference at (1) is out of bounds (2 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvy,:),curlvfuncy,1.e-3,nfailed(4),'curlv(y)') 1 Warning: Array reference at (1) is out of bounds (3 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvz,:),curlvfuncz,1.e-3,nfailed(5),'curlv(z)') 1 Warning: Array reference at (1) is out of bounds (4 > 1) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu==4) vxyzu(4,i) = 0. 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvx,:),curlvfuncx,1.5e-3,nfailed(3),'curlv(x)',checkmask) 1 Warning: Array reference at (1) is out of bounds (2 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvy,:),curlvfuncy,1.e-3,nfailed(4),'curlv(y)',checkmask) 1 Warning: Array reference at (1) is out of bounds (3 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlv(icurlvz,:),curlvfuncz,1.e-3,nfailed(5),'curlv(z)',checkmask) 1 Warning: Array reference at (1) is out of bounds (4 > 1) in dimension 1 ../src/tests/test_derivs.F90 deint = deint + fxyzu(4,i) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkval(all(fxyzu(4,1:np) >= 0.),.true.,nfailed(20),'du/dt >= 0 for all particles') 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu>=4) vxyzu(4,i) = utherm(xyzh(:,i)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu>=4) call checkvalf(np,xyzh,fxyzu(4,:),dudtdust_func,5.e-4,nfailed(5),'du/dt') 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 deint = deint + (1. - dustfraci)*fxyzu(4,i) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 dedust = dedust - vxyzu(4,i)*ddustfraci 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu==4) vxyzu(4,i) = 0. 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlB(idivB,:),divBfunc,1.e-3,nfailed(12),'div B (diff)') 1 Warning: Array reference at (1) is out of bounds (1 > 0) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlB(icurlBx,:),curlBfuncx,1.e-3,nfailed(13),'curlB(x)') 1 Warning: Array reference at (1) is out of bounds (2 > 0) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlB(icurlBy,:),curlBfuncy,1.e-3,nfailed(14),'curlB(y)') 1 Warning: Array reference at (1) is out of bounds (3 > 0) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(np,xyzh,divcurlB(icurlBz,:),curlBfuncz,1.e-3,nfailed(15),'curlB(z)') 1 Warning: Array reference at (1) is out of bounds (4 > 0) in dimension 1 ../src/tests/test_derivs.F90 deint = deint + fxyzu(4,i) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu==4) vxyzu(4,i) = 0. 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu==4) vxyzu(4,i) = 0. 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 if (maxvxyzu==4) vxyzu(4,i) = utherm(xyzh(:,i)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(nparttest,xyzh,divcurlv(icurlvx,:),curlvfuncx,1.5e-3,nfailed(3),'curlv(x)') 1 Warning: Array reference at (1) is out of bounds (2 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(nparttest,xyzh,divcurlv(icurlvy,:),curlvfuncy,1.e-3,nfailed(4),'curlv(y)') 1 Warning: Array reference at (1) is out of bounds (3 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkvalf(nparttest,xyzh,divcurlv(icurlvz,:),curlvfuncz,1.e-3,nfailed(5),'curlv(z)') 1 Warning: Array reference at (1) is out of bounds (4 > 1) in dimension 1 ../src/tests/test_derivs.F90 call checkval(nparttest,fxyzu(4,:),0.,epsilon(fxyzu),nfailed(9),'den/dt') 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 dummy(1:nparttest) = fxyzu(4,1:nparttest)/((gamma-1.)*vxyzu(4,1:nparttest)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_derivs.F90 dummy(1:nparttest) = fxyzu(4,1:nparttest)/((gamma-1.)*vxyzu(4,1:nparttest)) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_cooling.f90 real :: logtmin,logtmax,logt,dlogt 1 Warning: Unused variable ‘dlogt’ declared at (1) [-Wunused-variable] ../src/tests/test_cooling.f90 real :: logtmin,logtmax,logt,dlogt 1 Warning: Unused variable ‘logt’ declared at (1) [-Wunused-variable] ../src/tests/test_cooling.f90 real :: logtmin,logtmax,logt,dlogt 1 Warning: Unused variable ‘logtmax’ declared at (1) [-Wunused-variable] ../src/tests/test_cooling.f90 real :: logtmin,logtmax,logt,dlogt 1 Warning: Unused variable ‘logtmin’ declared at (1) [-Wunused-variable] ../src/tests/test_cooling.f90 subroutine test_cooling_rate(ntests,npass) ^ Warning: ‘test_cooling_rate’ defined but not used [-Wunused-function] ../src/tests/test_rwdump.F90 if (maxvxyzu >= 4) vxyzu(4,i) = 8. 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_step.F90 if (maxvxyzu >= 4) vxyzu(4,:) = 0. 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_step.F90 if (maxvxyzu >= 4) call checkval(npart,fxyzu(4,:),0.,tiny(fxyzu),nfailed(5),'du/dt') 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_step.F90 use io, only:id,master,nprocs 1 Warning: Unused module variable ‘nprocs’ which has been explicitly imported at (1) [-Wunused-variable] ../src/tests/test_link.F90 do i=1,nptot 1 Warning: Possible change of value in conversion from INTEGER(8) to INTEGER(4) at (1) [-Wconversion] ../src/tests/test_link.F90 use part, only:npart,npartoftype,massoftype,xyzh,vxyzu,hfact,ll,igas,kill_particle 1 Warning: Unused module variable ‘iphase_soa’ which has been explicitly imported at (1) [-Wunused-variable] ../src/tests/test_link.F90 Unused module variable ‘ll’ which has been explicitly imported at (1) [-Wunused-variable] ../src/tests/test_kdtree.F90 use part, only:npart,xyzh,hfact,vxyzu,massoftype,igas,maxphase,iphase,isetphase 1 Warning: Unused module variable ‘vxyzu’ which has been explicitly imported at (1) [-Wunused-variable] ../src/tests/test_ptmass.F90 use io, only:id,master,iverbose 1 Warning: Unused module variable ‘nprocs’ which has been explicitly imported at (1) [-Wunused-variable] ../src/tests/test_sedov.F90 vxyzu(4,i) = prblast/(gam1*denszero) 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1 ../src/tests/test_sedov.F90 vxyzu(4,i) = 0. 1 Warning: Array reference at (1) is out of bounds (4 > 3) in dimension 1