|
olufrost (m)
|
 |
Fortran
« on: October 01, 2006, 06:40 PM » |
|
i need help with fortran can anyone help
|
|
|
|
|
|
esto (f)
|
Hi Olufrost,what exactly do you want to know in fortran 77 , its kind of outdated,or is it what they show teach u guys in sch?
|
|
|
|
|
|
olufrost (m)
|
its fortran 77 and yes its what we are taught in schl, i share your view that it is outdated but CGPA is the issue in the case. what i need to know is that when i type and save the code on the blue screen, what next.
|
|
|
|
|
|
ishmael (m)
|
Hi Olufrost,what exactly do you want to know in fortran 77 , its kind of outdated,or is it what they show teach u guys in sch?
Not true. It's not outdated; although the version matters. (FORTRAN 77 is old sha compared to FORTRAN 90 and FORTRAN 2003). It actually depends on what you want to do with it. There is Object-Oriented FORTRAN programming that is as effective and efficient as VB, C++ and other OO programming languages.
|
|
|
|
|
|
ishmael (m)
|
its fortran 77 and yes its what we are taught in schl, i share your view that it is outdated but CGPA is the issue in the case. what i need to know is that when i type and save the code on the blue screen, what next.
You compile and run that is all.
|
|
|
|
|
|
waa1972 (m)
|
FORTRAN IS a must if: 1. You want to do something in Numerical Methods. 2. Engineering Simulation. 3. Engineer/Scientist.
None of the new generation progs will be able to beat FORTRAN in these aspects. You can also write Object-Oriented codes using FORTRAN but the OO methods aere less automated in FORTRAN.
|
|
|
|
|
|
olufrost (m)
|
thanks for the replies, how do i compile the program
|
|
|
|
|
|
ishmael (m)
|
thanks for the replies, how do i compile the program
The compiling command depends on the type of compiler u are using. You can find out from the vendor you bought the compiler from; he may be able to tell you, except if he's not a genuine software vendor. Cheers!!
|
|
|
|
|
|
waa1972 (m)
|
If you are REALLY interested in FORTRAN, then: 1. Get a good compiler: I use the free GNU on Linux which is f77; there should be visual compilers on Windows as well, but I can't help you with that. 2. If you want to use f77 under linux here is the way to compile: f77 -c your_file.for OR f77 -c your_file.f Thats it. The rest of the instruction depends on WHAT exactly you want to do.
|
|
|
|
|
|
ishmael (m)
|
Waa1972, why are u still using FORTRAN 77?? Try using FORTRAN 90 or FORTRAN 95 and see the difference.
|
|
|
|
|
|
waa1972 (m)
|
ishmael: The job is to compile FORTRAN (on Linux). f77 compiles and links fine. I don't need more. Besides, I don't think f90/95 are free under GNU yet. Anyway, we both end up at the same point. The most important thing is to concentrate on how to write good numerical methods/simulation codes in FORTRAN!
|
|
|
|
|
|
ishmael (m)
|
Yeah man, that's it o. I love writing my numerical analysis and statistical analysis programs using FORTRAN. Infact the FORTRAN i did in school then was FORTRAN 77, and even as i'm talking now i still write some of my FORTRAN codes using FORTRAN 77; but i just feel guys should move ahead to OO FORTRAN using FORTRAN 2003. Have you laid your hands on FORTRAN 2003 compiler? Guys need it o; how you see am??
|
|
|
|
|
|