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!

New in Fortran 2

Status
Not open for further replies.

javijerome

Programmer
Jun 26, 2010
25
PH
Hi guys! i'm new in fortran. i'm very interested in it. however, i don't know where to start. i'm running windows7 and i'm a basic programmer. i have been using C and visual basic as my main programming language. i have a little knowledge about php, python, visual c#, and java.
 
thanks mikrom. the intro pdf file was a great help.
though i actually found an IDE for fortran95 that i downloaded from silverfrost.
 
i had some problems installing g95 and gfortran. i can't seem to find some installation procedures.
 
I think g95 and gfortran can't be installed at the same time for some reason. I remember that I've been answered something like this on this forum when had problems with it myself.

Try deleting both compilers and install the one you like most on a clean system.

On windows you can download gfortran auto-install at:
Or directly:

Just run the executable and everything will install fine.
 
Does it work now?

I think xwb told me this once, he/she is also active on this forum.
 
GerritGroot said:
I think g95 and gfortran can't be installed at the same time for some reason.
It's possible: I have all 3 compilers running on the same Windows Vista computer: g77, g95 and gfortran. I use them all for test purposes in the MSYS/MinGW environment and haven't noticed any problem.

1. I installed MSYS + MinGW and got g77 with it.

2. Then I installed g95-MinGW.exe from
I have both g77 and g95 in the directory C:\msys\1.0\mingw\bin. After the installation of g95 the directory C:\msys\1.0\mingw\bin need to be in the path and we need to set the variable
LIBRARY_PATH=C:\msys\1.0\mingw\lib\gcc-lib\i686-pc-mingw32\4.0.4;C:\msys\1.0\mingw\lib

3. Then I installed gfortran-windows.exe in C:\Program Files\gfortran. Now gfortran works standalone from the windows command line or from MSYS. There are no conflicts in MSYS with g77 or g95.

Note: g77 should be now obsolete, replaced by gfortran. So you have install only gfortran and g95. gfortran should be available with actual version of MinGW with gcc 4.x. I have older installation with gcc 3.4.5 which was delivered with g77. Read about other installation problems here:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top