gfxgfx
 
Please login or register.

Login with username, password and session length
 
gfx gfx
gfx
1617 Posts in 535 Topics by 779 Members - Latest Member: rhoronjeff@comcast.net November 27, 2022, 07:40:50 PM
*
gfx* Home | Help | Search | Login | Register | gfx
gfx
Absoft User Forum  |  Support  |  Linux  |  F77 problem with "DO"
gfx
gfxgfx
 

Author Topic: F77 problem with "DO"  (Read 5433 times)

WOLF

  • Newbie
  • *
  • Posts: 1
F77 problem with "DO"
« on: April 19, 2010, 11:25:25 PM »
hi, everybody. I am new user F77 in Linux. I start using operator DO and I have message: At line 4 of file test.f (unit = 5, file = 'stdin')
Fortran runtime error: Bad real number in item 1 of list input. Can you help me, What is problem?

Very simple
                   B=0.0
                   DO 10 I=1,3
                   READ*,A
                   B=B+A
            10   CONTINUE
                   PRINT*,B
                   END    
« Last Edit: April 20, 2010, 12:36:55 PM by WOLF »

Mike Linacre

  • Sr. Member
  • ****
  • Posts: 259
Re: F77 problem with "DO"
« Reply #1 on: April 20, 2010, 12:26:43 AM »
Wolf, please post your F77 code for test.f so that we can help you.

forumadmin

  • Administrator
  • Sr. Member
  • *****
  • Posts: 333
Re: F77 problem with "DO"
« Reply #2 on: April 20, 2010, 09:12:41 AM »
This forum is primarily for users of Absoft Fortran. Your error message came from the gfortran runtime library. I would suggest trying a gfortran forum for support on this question.

Absoft User Forum  |  Support  |  Linux  |  F77 problem with "DO"
 

gfxgfx
gfx gfx
Powered by MySQL Powered by PHP Valid XHTML 1.0! Valid CSS!