Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

getting weird error message on executing my program

Status
Not open for further replies.

vibhava

Programmer
Apr 20, 2008
19
US
hi,
i have written a program that perform certain task within a loop. in the start it ask for starting and ending number to get the initial and final value for the loop and then run the loop. when i am running the program from 1 to 1000 it is giving me desired output but when i am running it from 1 to 1500 or even from 1001 to 1500 it is giving me following error message:

forrtl: sever(152): unresolved contention for intel fortran RTL global resource
forrtl:severe(157):program Exception - access violation

can someone give me some clue on why this is happening. i understand if you don't know exact answer and try to give few things that I can try to do to get ride of this error.

thanks

vibhava
 
This description is not much help without
declarations and the relevant code.

It sounds like you have a subscript error
(if you are using arrays).
 
I checked my codes again and you are right i wrongly assigned 1000 as dimension of one of the arrays (it should be 1500).after making the change my program ran without error. thanks for the advice. it was a big help

vibhava
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top