OpenMC within Docker

Hello!

I am a new user of OpenMC,

I have got a error “Segmentation fault”

Could you help me to solve this problem?

With Docker it is difficult to use debug

geometry.xml

<geometry>
  <cell id="1" material="1" region="-1" />
  <cell id="2" material="void" region="1" />

  <surface id="1" type="sphere" coeffs="0.0 0.0 0.0 10.0" boundary="vacuum" />
</geometry>

materials.xml , ,

<materials>
  <material id="1">
    <density value="19.1" units="g/cm3" />
    <nuclide name="U235" wo="0.95" />
    <nuclide name="U238" wo="0.05" />
  </material>
</materials>

settings.xml

<settings>
  <run_mode>eigenvalue</run_mode>
  <particles>1000</particles>
  <batches>100</batches>
  <inactive>10</inactive>
  <source>
    <space type="box" parameters="-10 -10 -10 20 20 20" />
  </source>
</settings>

I changed wls2 parameters

memory=30GB
processors=10

so it might be enough for this process…

It looks like your source space is generating particles outside of your geometry. If you change the geometry.xml to <space type="box" parameters="-5 -5 -5 5 5 5" /> then it should run properly.

Thank you! its have run properly.
sorry for bothering you

1 Like