enzo-project / enzo-dev

The Enzo adaptive mesh-refinement simulation code.
Other
81 stars 95 forks source link

CoolingTest_Grackle error #30

Open brittonsmith opened 9 years ago

brittonsmith commented 9 years ago

Original report by Daniel Reynolds (Bitbucket: drreynolds, GitHub: drreynolds).


When generating a local gold-standard of the "push" suite of test problems, the CoolingTest_Grackle test problem immediately fails due to a missing input file, metal_cool.dat. It looks like this file is missing from the enzo-dev repository, so if someone could add it in, I imagine that this test would pass.

That said, the default configuration uses "grackle-no" by default, so I wonder whether this test should run in the first place?

As this was the only test that failed when generating the local standard, once this is fixed then I think everything should be fine.

Anyways, here's the estd.out file from running CoolingTest_Grackle:

$ cat enzo-gold/5d6653715fb6/Cooling/CoolingTest_Grackle/estd.out MPI_Init: NumberOfProcessors = 1 warning: the following parameter line was not interpreted: use_grackle = 1 warning: the following parameter line was not interpreted: UVbackground = 0 InitializeRateData: NumberOfTemperatureBins = 600 InitializeRateData: RadiationFieldType = 0 ** ReadUnits: 4.906565e+31 1.670000e-24 3.085700e+18 3.155700e+11 *** Caught fatal exception:

'Error opening metal cooling table metal_cool.dat ' at ReadMetalCoolingRates.C:40

Backtrace:

BT symbol: ./enzo.exe() [0x40aaa3] BT symbol: ./enzo.exe() [0x88510c] BT symbol: ./enzo.exe() [0x7ed79e] BT symbol: ./enzo.exe() [0x891fb9] BT symbol: ./enzo.exe() [0x7e8599] BT symbol: ./enzo.exe() [0x40a372] BT symbol: /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5) [0x7fc145438ec5] BT symbol: ./enzo.exe() [0x409229] Error in `./enzo.exe': free(): invalid pointer: 0x00000000068565c8 [0]0:Return code = 0, signaled with Aborted

brittonsmith commented 9 years ago

Original comment by Daniel Reynolds (Bitbucket: drreynolds, GitHub: drreynolds).


Wow, I should have previewed that before submitting, since it kind of butchered the estd.out file formatting.

brittonsmith commented 9 years ago

Original comment by Nathan Goldbaum (Bitbucket: ngoldbaum, GitHub: ngoldbaum).


If you put triple backticks around the stuff you want to be formatted as a text literal, it should render nicely.

BTW, there's a "metal_cool.dat" file in the input directory at the root of the repository.

brittonsmith commented 9 years ago

Original comment by Daniel Reynolds (Bitbucket: drreynolds, GitHub: drreynolds).


Thanks Nathan for pointing to the metal_cool.dat file; while I'm aware of the backticks I'd just forgotten (and should have previewed). I'm re-running the push suite answer test generator now.

I still wonder why the CoolingTest_Grackle is run when enzo is configured with 'grackle-no' -- is the test name misleading, or should it actually be disabled?