<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi,</p>
<p><br>
</p>
<p>I load a file in userchk for postprocessing like this:</p>
<p><br>
</p>
<p></p>
<div> subroutine userchk<br>
include 'SIZE'<br>
include 'TOTAL'<br>
character(64)::filen<br>
filen="cha0.f00027"<br>
<br>
call load_fld(trim(filen))<br>
<br>
return<br>
end</div>
<div><br>
</div>
<div>However, I the program crashes. This is how it looks in the logfile:</div>
<div><br>
</div>
<div>
<div> nsteps=0 -> skip time loop<br>
running solver in post processing mode<br>
<br>
call userchk<br>
<br>
</div>
<div> set initial conditions<br>
Checking restart options: cha0.f000274^@^@^@^@start<br>
nekuic (1) for ifld 1<br>
nekuic (1) for ifld 2<br>
nekuic (1) for ifld 3<br>
nekuic (1) for ifld 4<br>
Reading checkpoint data<br>
0 0 OPEN: cha0.f000274^@^@^@^@start<br>
cha0.f000274<br>
byte_read() :: fopen failure2!<br>
ERROR: Error reading restart header in mfi_prepare ierr= 1</div>
<div><br>
</div>
<div>Why does this error appear, and how can Ifix it?</div>
<div><br>
</div>
<div>Best,</div>
<div><br>
</div>
<div>Johan<br>
<br>
</div>
<br>
<br>
</div>
<br>
<p></p>
</div>
</body>
</html>