- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I compiled mpich with ifc(7.1 version).It seemed being finished with no problem.
But when running MM5 program(for weather forcasting),the program cannot be executed.I got error message as" Error reading big header".
Then I search this message from its source code,and got the following code from file "param.f":
........
........
........
OPEN(11, FILE='MMINPUT_DOMAIN1',FORM='UNFORMATTED',
& STATUS='OLD',ERR=9003)
READ (11,IOSTAT=IER)BHI,BHR,BHIC,BHRC
IF(IER.NE.0)THEN
write(*,'("Error reading big header")')
STOP
ENDIF
Does it mean the INPUT file "MMINPUT_DOMAIN1" cannot be read?
But when I used pgf77+mpich,there's no problem for this input file.So I think its ifc's problem, right?Or maybe there's some diference between pgf77 and ifc for reading.
Has anyone met this problem before?
Many thanks!
But when running MM5 program(for weather forcasting),the program cannot be executed.I got error message as" Error reading big header".
Then I search this message from its source code,and got the following code from file "param.f":
........
........
........
OPEN(11, FILE='MMINPUT_DOMAIN1',FORM='UNFORMATTED',
& STATUS='OLD',ERR=9003)
READ (11,IOSTAT=IER)BHI,BHR,BHIC,BHRC
IF(IER.NE.0)THEN
write(*,'("Error reading big header")')
STOP
ENDIF
Does it mean the INPUT file "MMINPUT_DOMAIN1" cannot be read?
But when I used pgf77+mpich,there's no problem for this input file.So I think its ifc's problem, right?Or maybe there's some diference between pgf77 and ifc for reading.
Has anyone met this problem before?
Many thanks!
tony
Link Copied
3 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I faced a similar problem when using MM5 on AIX with MPICH 1.2.5 and MVICH (from NERSC) patch ported to AIX compiled with XL compilers. Not only MM5, no FORTRAN codes would take any namelist input redirection.
Although I cannot give you any solution, what I did was to hard-code the namelists into the source code and compile it. Worked fine. I was never able to determine why it wouldnt take the namelists from redirection.
I tried setting the environment variables regarding the namelist format etc etc ... nothing worked.
hope this helps you to execute the MM5 code atleast for the moment.
regards,
Kalyan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can solve this problem by setting environment variable "F_UFMTENDIAN" to big, for example:
export F_UFMTENDIAN = big
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
you can solve this problem by setting environment variable "F_UFMTENDIAN" to big, for example:
export F_UFMTENDIAN = big

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page