#967: GRHydro uses EOS_Omni routines without DECLARE_CCTK_FUNCTIONS ------------------------------------+--------------------------------------- Reporter: rhaas | Owner: Type: defect | Status: new Priority: minor | Milestone: Component: EinsteinToolkit thorn | Version: Resolution: | Keywords: GRHydro ------------------------------------+---------------------------------------
Comment (by rhaas):
I get errors out of gfortran 4.7 and I think also out of earlier versions. Typically (ie. after adding DECLARE_CCTK_FUNCTIONS to Conservative2Primitive): {{{ arrangements/Zelmani/GRHydro/src/GRHydro_Con2Prim.F90:111.9:
GRHydro_rho_min,xeps,xtemp,xye,pmin,keyerr,anyerr) 1 Error: Rank mismatch in argument 'rho' at (1) (rank-1 and scalar) }}}
So you are saying: {{{ call EOS_Pressure(eos_handle,...,/rho_min/,...,/press_min/) }}} is legal even for cases where rho_min is only read but press_min is written to?