[Nek5000-users] Error when running the vortex problem

nek5000-users at lists.mcs.anl.gov nek5000-users at lists.mcs.anl.gov
Tue Oct 11 13:28:00 CDT 2011


Hi, Stefan.
Thanks for the reply.

I double-checked the code and made sure I didn't change anything.  I found the error happens in the file "nek/ic.f" (line 2223). Please see the following.

if (indx2(hdr,132,'#std',4).eq.1) then
          call parse_std_hdr(hdr)
      else
         if (nid.eq.0) write(6,80) hdr
         if (nid.eq.0) write(6,80) 'NONSTD HDR, parse_hdr, abort.'
  80     format(a132)
         call exitt
endif

I looks like the code cannot find the keyword "#std" from the header. I read the file header shown in the following.
    140   8   8   8 5.0101000E+0250101 U P                             4 NELT,NX,N

The header does not contain the keyword... I guess that is the error reason.

-Dong




-----Original Message-----
From: nek5000-users-bounces at lists.mcs.anl.gov [mailto:nek5000-users-bounces at lists.mcs.anl.gov] On Behalf Of nek5000-users at lists.mcs.anl.gov
Sent: Tuesday, October 11, 2011 2:09 PM
To: nek5000-users at lists.mcs.anl.gov
Subject: Re: [Nek5000-users] Error when running the vortex problem

Hi Dong,

It works for me. Did you change anything?

-Stefan

On 10/11/11, nek5000-users at lists.mcs.anl.gov
<nek5000-users at lists.mcs.anl.gov> wrote:
> Hi,
> I was trying to run nek5000 with vortex, following the default user setting.
> There is no problem for building, however when I start to run the
> application, there is an error "NONSTD HDR, parse_hdr, abort". The following
> is the related error report.
>
> Reading checkpoint data
>        0       0 OPEN: r1492_n08.fld27
> byte swap: T   0.000000       0.000000
> 140   8   8   8 5.0101000E+0250101 U P                             4
> NELT,NX,N
> úaÃ@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@
>
>                           NONSTD HDR, parse_hdr, abort.
>
> I briefly read the code. It looks like the code is reading the checkpoint
> file "r1492_n08.fld27" and there is something wrong with the file header.
> The file header does not follow the standard format and the code cannot
> understand the file.
>
> How can I solve this problem?
>
> Thank you.
>
> -Dong
>
_______________________________________________
Nek5000-users mailing list
Nek5000-users at lists.mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users



More information about the Nek5000-users mailing list