[Nek5000-users] Error when loading file

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Fri Oct 20 09:06:29 CDT 2017


Hi,


I load a file in userchk for postprocessing like this:


      subroutine userchk
      include 'SIZE'
      include 'TOTAL'
      character(64)::filen
      filen="cha0.f00027"

      call load_fld(trim(filen))

      return
      end

However, I the program crashes. This is how it looks in the logfile:

 nsteps=0 -> skip time loop
 running solver in post processing mode

 call userchk

 set initial conditions
 Checking restart options: cha0.f000274^@^@^@^@start
 nekuic (1) for ifld            1
 nekuic (1) for ifld            2
 nekuic (1) for ifld            3
 nekuic (1) for ifld            4
 Reading checkpoint data
       0       0 OPEN: cha0.f000274^@^@^@^@start
cha0.f000274
byte_read() :: fopen failure2!
ERROR: Error reading restart header in mfi_prepare  ierr=  1

Why does this error appear, and how can Ifix it?

Best,

Johan




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/nek5000-users/attachments/20171020/7a2f63a9/attachment.html>


More information about the Nek5000-users mailing list