CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Main CFD Forum (https://www.cfd-online.com/Forums/main/)
-   -   g77 compiling option (https://www.cfd-online.com/Forums/main/8386-g77-compiling-option.html)

Dario November 25, 2004 06:13

g77 compiling option
 
Hi everyone, On the Digital FOrtran working on Windows I can call a function/subroutine and transfer not contiguos data, for example a call statement like this is allowed:

CALL THOMAS(A,B,C,X(2:NX,2:NY))

Basically X(2:nx,2:ny) is a portion of defined array. Does anyone know if there is any compilng option for doing the same by G77 on UNIX machine?

Thank you very much Dario Dario

Tom November 25, 2004 09:02

Re: g77 compiling option
 
At a guess I'd say you can't do this with g77. You will need to use a fortran 90 compiler - try g95/gfortran or, for linux, the intel compiler. There's also the F compiler.

See http://www.fortran.com/


All times are GMT -4. The time now is 04:22.