I have now used the parseSELAFIN utilities to step through the data file.
There is a distinct difference bewtween the 1 vs 25 day run.
The 1 day run is loadable in fudaa, and the variables look ok.
The 25 day run is NOT loadable by Fudaa, and the data file is definitely corrupted. Python shows that IKLE3 variable has incorrect values in it, with very large numbers (and some -ve numbers - sign of integer overflow).
Very strange that these errors are linked to length of model run. The same MPI layout is used for all runs.
I wrote a small test python script that checks the binary 'linkages' by reading the record size and seeking to the next record. For the 1 day run, files reads to end. For the larger 25 day run, it crashes with unrealistic values after the INKLE3 record.
Do you have any indication of problems with gfortran (version 5.3.1 64bit) and the gretel prcessing?
The compile uses the following (default) options
-fconvert=big-endian -frecord-marker=4
Cheers
John