[FLASH-USERS] Setup script precedence

Nathan Goldbaum goldbaum at ucolick.org
Wed Mar 21 20:06:41 EDT 2012


Hi all,

I'm working on a sink particles unit for FLASH4-beta.  This unit overrides two of the files in the Poisson gravity unit - Gravity_accelOneRow and Gravity_potentialListOfBlocks.  Unfortunately, the setup script does not seem to notice the two Gravity unit files in the sink particles unit.  This means that the links in the object directory point to the files in the Gravity unit rather than the sink particle unit.  I can put the two modified Gravity files in the Simulation unit rather than the SinkParticles unit, but this a messy, error-prone solution.

I've tried manually editing the Units file to REQUEST flashUtilities/sinkparticles both before and after physics/Gravity/GravityMain/Poisson/Multigrid, but in both cases the setup script produces symbolic links that point to the Gravity unit rather than the sinkparticles unit.  Is there some way I can manually reorder the units in the Units file such that the files in the sinkparticles unit take precedence?  In general, is there any way to directly control the unit precedence in the setup script?

Thanks for your help with this,

Nathan Goldbaum
Graduate Student
Astronomy & Astrophysics, UCSC
goldbaum at ucolick.org
http://www.ucolick.org/~goldbaum




More information about the flash-users mailing list