mcellteam / mcell

MCell Monte Carlo Simulator of Cellular Microphysiology
Other
33 stars 11 forks source link

Parser doesn't check if CHECKPOINT files are set for CHECKPOINT_REALTIME #8

Closed haskelladdict closed 10 years ago

haskelladdict commented 10 years ago

Currently, the parser allows that CHECKPOINT_REALTIME is set without any definition of CHECKPOINT_INFILE or CHECKPOINT_OUTFILE. This leads to a runtime segmentation fault.

Solution: Make sure that the init code checks that CHECKPOINT_INFILE and friends are defined when a CHECKPOINT_REALTIME is set and abort otherwise.