<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Hi all,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I've been doing supernova remnant evolution runs that were built off of the Sedov setup. Those have all been working fine, but now I'm trying to add the magnetic field. I have modeled the changes off of the code under magnetoHD/BlastBS. The changes seemed simple enough, but when I build I get things like:</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small"><div class="gmail_default">Simulation_init.F90(85): error #6404: This name does not have a type, and must have an explicit type. [SIM_KILLDIVB]</div><div class="gmail_default"> call RuntimeParameters_get('killdivb',sim_killdivb)</div><div class="gmail_default">----------------------------------------^</div><div class="gmail_default">Simulation_init.F90(85): error #6285: There is no matching specific subroutine for this generic subroutine call. [RUNTIMEPARAMETERS_GET]</div><div class="gmail_default"> call RuntimeParameters_get('killdivb',sim_killdivb)</div><div class="gmail_default">-------^</div><div><br></div></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">I finally got it to compile when I commented out some pre-processor directives like</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">#if defined(MAGX_VAR) && defined(MAGY_VAR) && defined(MAGZ_VAR)<br></div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">So, I'm wondering how those get set. When I look in Flash.h in the setup directory, I do see lines like</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">#define MAGX_VAR 11</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">and similarly for MAGY_VAR and MAGZ_VAR, so I don't know why the lines should cause any problem. I would appreciate any insights anyone can provide on this.</div><br></div><div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Regards,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif;font-size:small">Jon</div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">________________________________________________________<br>Jonathan D. Slavin Harvard-Smithsonian CfA<br><a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a> 60 Garden Street, MS 83<br>phone: (617) 496-7981 Cambridge, MA 02138-1516<br>cell: (781) 363-0035 USA<br>________________________________________________________<br><br></div></div></div></div>
</div>