Well I use Fortran 90 under AIX ( that's UNIX by IBM ) ,and teh command that works out there is
xlf90 file.f
or in your case xlf90 test1.f
I think the g77 should actually be f77, but I am not sure. Just try out xlf90 / f77 or just wait for some1 wiser to reply ; )
Ciao!
Ashim
From: Nitin Chandra <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: Linux User Group-Delhi <[EMAIL PROTECTED]>
Subject: [ilugd]: Fortran77&90...help
Date: Sat, 12 Oct 2002 23:01:13 -0700 (PDT)
Hi! All
I am doing my MCA and
I wanted 2 know 1) How to compile programs in
Fortran77 and 90 ...this is the sample programe which
i enter'd in vi ...saved the file 'test1.f' name
INTEGER GROUP
READ * AGE
IF (AGE .LE. 12.0) THEN
GROUP=1
ELSEIF (AGE .LE. 14.0) THEN
GROUP=2
ELSEIF (AGE .LEL 16.0) THEN
GROUP=3
ELSEIF (AGE .LE. 18.0) THEN
GROUP=4
ELSEIF (AGE .LE. 20.0) THEN
GROUP=5
ELSEIF (AGE .LE. 22.0) THEN
GROUP=6
ENDIF
PRINT *, 'AGE LIES IN GROUP', GROUP
END
the command i gave is 'g77 -c test1.f'
OK...so what all i missed ...and what command should
i give to compile and run the programe. If u need to
know the errors which it gave,
do let me know...i shall post them 2.
2) I wanted to know if there is any IDE for Fortran77
& 90 for Linux which i can use (links). (non
commercial, for non commercial use)
__________________________________________________
Do you Yahoo!?
Faith Hill - Exclusive Performances, Videos & More
http://faith.yahoo.com
================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org
_________________________________________________________________
MSN Photos is the easiest way to share and print your photos: http://photos.msn.com/support/worldwide.aspx
================================================
To unsubscribe, send email to [EMAIL PROTECTED] with unsubscribe in subject header. Check archives at http://www.mail-archive.com/ilugd%40wpaa.org
