HetSys / SpinDec2

PX915 group A software development project for HetSys in modelling spinodal decomposition
GNU General Public License v3.0
0 stars 1 forks source link

Code runs for a while before warning of format constraints #22

Closed dylanbmorgan closed 2 years ago

dylanbmorgan commented 2 years ago

If incorrect variables sizes are specified in the input file, the code runs for a while before stopping and outputting the error. I think it's better (if possible) if the code exits immediately after starting so as not to waste CPU time, etc.

ShufflerBardOnTheEdge commented 2 years ago

For which variables in the input file does this happen

dylanbmorgan commented 2 years ago

I was trying to change the grid size to profile with different grid sizes in serial

ShufflerBardOnTheEdge commented 2 years ago

What was the grid size you used

dylanbmorgan commented 2 years ago

It was the thing I messaged you about yesterday. I tried it with 500 first then 250 and both times it errored

ShufflerBardOnTheEdge commented 2 years ago

Oh I see, I can sort that out.

dylanbmorgan commented 2 years ago
ShufflerBardOnTheEdge commented 2 years ago

The checkpointing system did not need to be changed, the code will now incrementally write to the output file and no longer stores more than 3 frames in memory.