Hello,
If I compile Krome like:
./krome -enzo -compact -cooling ATOMIC,H2,Z -n networks/react_primordial3 -useTabs
Then I can run Enzo just fine without star formation with these cooling parameters activated in Enzo like:
RadiativeCooling = 1
MultiSpecies = 2
MetalCooling = 1
But if I turn on star formation in Enzo such as:
StarParticleCreation = 2
StarParticleFeedback = 2
I get immediate segmentation faults. I then tried to add "-stars" to Krome by:
./krome -enzo -compact -cooling ATOMIC,H2,Z -n networks/react_primordial3 -useTabs -stars
which seems to run just fine. But as soon as I run ./kromebuild.sh, I get this error:
-------
[jsmidt@gr-fe3 krome_enzo_patch]$ ./kromebuild.sh
copying Grid_SolveRateAndCoolEquations.C
copying Grid_IdentifySpeciesFieldsKrome.C
copying InitializeRateData.C
build using ifort -c -O3
building opkda2.F
building opkda1.F
building opkdamain.F
building krome_user_commons.F90
building krome_all.F90
krome_all.F90(3422): error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface. [Z2]
scr12 = stars_screen(Tgas,rho,n(:), zz(arr_r1(25)), zz(arr_r2(25)))
------------^
krome_all.F90(3422): error #8284: If the actual argument is scalar, the dummy argument shall be scalar unless the actual argument is of type character or is an element of an array that is not assumed shape, pointer, or polymorphic. [ZZ]
scr12 = stars_screen(Tgas,rho,n(:), zz(arr_r1(25)), zz(arr_r2(25)))
------------^
krome_all.F90(3422): error #6634: The shape matching rules of actual arguments and dummy arguments have been violated. [ZZ]
scr12 = stars_screen(Tgas,rho,n(:), zz(arr_r1(25)), zz(arr_r2(25)))
----------------------------------------^
krome_all.F90(3423): error #6631: A non-optional actual argument must be present when invoking a procedure with an explicit interface. [Z2]
So two questions:
1. Do I need to compile with the "-stars" option to run with star formation in Enzo? If so, any ideas why ./kromebuild.sh is not working?
2. If "-stars" is not needed, do I need to do something else to run with star formation on in Enzo? Thanks.