linux Fortran Question

Padiyath Sreekumaran kumar.padiyath at psi.ch
Mon May 5 13:41:09 UTC 2008


Hello,
Iam converting DEC fortran programs(Fortran 90) from Tru64 Unix to
Linux. 
Iam using pg(portland group) fortran90 on Linux. I have a problem
With the following Fortran statement:

Call system('ls -l out')

Error during compilation:
------------------------

PGF90-S-0084-Illegal use of symbol system - attempt to CALL a FUNCTION

Iam sorry when I ask this question here. How I have to convert this
statemnt
for pfg90?

Any help is very much appreciated. 
Iam very much thankful if I can have an example.

Thanks in advance.
Regards,
Kumar

 ------------------------------------------------------------------
Padiyath Sreekumar       |   Tel: +41.56.310.3643
Paul Scherrer Institut   |   email: kumar.padiyath at psi.ch
AIT                      |   Office: WHGA/U132 
WHGA/U132                |   Fax: +41.56.310.3649
CH-5232 Villigen PSI     | 
Switzerland              |
-----------------------------------------------------------------




More information about the redhat-list mailing list