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!

error reading binary pgf90 - gfortran

Status
Not open for further replies.

bombardi

Technical User
Apr 26, 2010
2
US
Hi,
I have an fortran script to read a binary 3D dataset with dimentions mlon,mlat, and mtot. It works well with the pgf90 compilator. I'm trying to use the compilators gfortran and intel and an error occurs in the following structure

READ(10)dado
DO 100 it =1,MTOT
DO 100 i = 1, MLAT
DO 100 j = 1, MLON
100 CONTINUE
close(10)

Please, could anyone help me to "translate" this structure to something gfortran can deal with?
Thank you for your attention,
 
Try
Code:
read (10) dado
do it = 1, mtot
   do i = 1, mlat
      do j = 1, mlon
      enddo
   enddo
enddo
close (10
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top