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!

compiling problem!

Status
Not open for further replies.

milenko76

Technical User
Mar 26, 2010
100
PT
Error on line 120: unbalanced parentheses, statement skipped
Error on line 121: unbalanced parentheses, statement skipped
I don't get it.
These are two lines:
2001 format (1h1,27x,'direct magnetotelluric modelling in 2dmodel' /27x,'====================================================')
 
If you are using Fortran 90, 95, 2003, you need an & in the first line.

If you are using Fortran 77 or earlier,

1) you need a continuation character (anything except a space) in column 6
2) 2dmodel starts in column 7
3) the 2nd line must not be longer than 72 characters otherwise you need to continue it on the next line.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top