×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Error in fortran
2

Error in fortran

Error in fortran

(OP)
Hi,
I have problems in execution of a program in fortran, I locate this problem in line 847.
i obtain this: forrtl: severe (157):Program Exception-access violation
I uploaded the file with my request.
thanks for help

RE: Error in fortran

I just imported into Excel and line 847 is a pause statement with no arguments.

Pause may not be supported in all versions of Fortran.

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"It's the questions that drive us"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

 

RE: Error in fortran

Not sure what compiler you're using - the syntax is pretty weird.  The problem appears to be in this area

CODE

      do 19 i=1,Nsl        
         rsl(i)=Bs(i)       
         do 111 j=ANbl(i),ANbl(i+1)-1
            rsl(i)=rsl(i)-Aelm(j)*xsl(Apos(j))                      
 111     continue
         psl(i)=rsl(i)
  19  continue
xsl has only got 12 elements but apos valus go from 24 to 2952.  If you need more help try the sister site http://www.tek-tips.com/threadminder.cfm?pid=214&page=1        

RE: Error in fortran

(OP)
thank you for your response.
xwb, you pointed my problem, if you have any suggestions, I'll be very thankful  

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources