*** Error in `openmc': free(): invalid next size (fast): 0x0a28eb98 ***

I have installed the newest version of OpenMC (0.9.0) and am using the JEFF 3.2 libraries.

When I try to run openmc on the files in the ~/examples/basic folder, I get the following error?

I am mystified. Do you have any ideas?

Reading settings XML file…
Reading geometry XML file…
Reading materials XML file…
Reading cross sections XML file…
Reading U235 from /home/shawn/openmc/data/jeff-3.2-hdf5/U235.h5
*** Error in `openmc’: free(): invalid next size (fast): 0x0a28eb98 ***
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(+0x67f4a)[0xb727bf4a]
/lib/i386-linux-gnu/libc.so.6(+0x6eb47)[0xb7282b47]
/lib/i386-linux-gnu/libc.so.6(+0x6f406)[0xb7283406]
openmc[0x812e465]
openmc[0x80b9e45]
openmc[0x80a92a8]
openmc[0x805ce61]
openmc[0x8070dac]
openmc[0x807cd03]
openmc[0x8059565]
openmc[0x804c205]
/lib/i386-linux-gnu/libc.so.6(__libc_start_main+0xf6)[0xb722c276]
openmc[0x804c270]

Sincerely,

Shawn Wachter

Hi Shawn,

When did you generate the HDF5 nuclear data libraries you are using? You may need to regenerate them as the format of nuclear data libraries has changed a number of times.

If you want to get a more useful error message, you can try rebuilding and rerunning OpenMC with debug compilation flags turned on as described here.

Best,
Paul

error.txt (9.72 KB)

%%%%%%%%%%%%%%%%

Also, I have set the following envrionment variables in my .bashrc file:

Hi Shawn,

I was able to successfully run the data scripts that you mentioned; I’m not sure why you are seeing the errors about the MD5 checksums not matching. These scripts rely on the Python API, which is installed when you run ‘make install’. One possibility is that the Python API that is being used is out of date. Can you tell me what you get if you run ‘which openmc-get-nndc-data’ from a command prompt? Also, another thing to check is what you get from a two line Python script (you could also do this by running these two lines directly from a Python interpreter):

import openmc
print(openmc.file)

Best,
Paul