Fortran runtime error: Integer overflow when calculating the amount of memory to allocate

Hi all,

I just complied OpenMC with MinGW. I am trying to run the basic example but I am running into trouble. This is what my command prompt is showing:

Reading settings XML file…
Reading cross sections XML file…
Reading geometry XML file…
Reading materials XML file…
Reading tallies XML file…
Building neighboring cells lists for each surface…
Loading ACE cross section table: 92235.70c
Fortran runtime error: Integer overflow when calculating the amount of memory to allocate

Please help!
Doug

Thats odd. I (and I’m willing to bet most of the devs) don’t have too much experience with MinGW, but do you know which MinGW compiler version you are using? Also, are you compiling on a 32-bit instance of Windows (and MinGW) or 64-bit?

Thanks,
Adam

I had it complied it on 32-bit Windows but just tried it on 64-bit Windows with the same exact results. I am using MinGW-get version 0.6.0-beta-20130904-1. I think the MinGW is 32-bit.

Is there a more common compiler than gfortran?

Thank you,
Doug

I got help and figured it out.

The error was in pointing to the correct cross section xml file. I needed to set the environment variable CROSS_SECTION to the location of cross_section_ascii.xml instead of cross_section.xml. I am using the MCNP data if that makes a difference.

Thank you,
Doug

Good to hear; that resolution certainly makes sense now that I think about it.
Adam