LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-30-2012, 08:36 AM   #1
suraj.mane
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Rep: Reputation: Disabled
Error while executing hycom bash(executable) file.


I am currently working on HYCOM,while executing hycom .exe I got following error.
At line 1532 of file forfun.f
Fortran runtime error: Bad integer for item 1 in list input

and 1532th line of forfun.f is as follows
c --- relaxation forcing
read (cline(i+1: ),*) mnth,layer,denlay,hminb,hmaxb

Can anyone tell me how to overcome this problem,please...........
 
Old 12-01-2012, 07:28 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
In particular, this appears to be an error reading one of the input units (a unit number is Fortran's method of referring to a file, like a file pointer). Double check the formatting of all input files to the program. It is expecting to read an integer as the first field but is unable to do so. You may need to contact the authors' of the program for additional assistance.
 
Old 12-02-2012, 11:49 PM   #3
suraj.mane
LQ Newbie
 
Registered: Nov 2012
Posts: 3

Original Poster
Rep: Reputation: Disabled
Error while executing hycom bash(executable) file.

I am trying to execute hycom bash(exe) file,but it is giving following error.

At line 1532 of file forfun.f
Fortran runtime error: Bad integer for item 1 in list input

and 1532th line forfun.f file is as follows.....
read (*cline(i+1: ),*) mnth,layer,denlay,hminb,hmaxb

Can anyone tell me how to overcome this problem,please...........
 
Old 12-05-2012, 08:52 AM   #4
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,629

Rep: Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964Reputation: 7964
Quote:
Originally Posted by suraj.mane View Post
I am trying to execute hycom bash(exe) file,but it is giving following error.

At line 1532 of file forfun.f
Fortran runtime error: Bad integer for item 1 in list input

and 1532th line forfun.f file is as follows.....
read (*cline(i+1: ),*) mnth,layer,denlay,hminb,hmaxb

Can anyone tell me how to overcome this problem,please...........
btmiller told you in post #2 of this thread. Did you not understand the answer?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
run time error in forfun.f file of HYCOM suraj.mane Linux - Newbie 3 12-03-2012 02:51 AM
Change executable file color in Bash casela Linux - Newbie 1 03-18-2012 07:30 PM
[SOLVED] Problem executing a bash line read from another file. Mountain Man Programming 4 12-02-2009 04:16 PM
executing a text file one line at a time with bash? mivison Programming 18 05-24-2009 01:23 PM
executing comments from a file in BASH? alirezan1 Linux - General 7 08-27-2008 08:15 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:53 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration