[CSC 335] Fortran on Windows
Andrew J. Pounds
pounds at sandbox.mercer.edu
Fri Sep 29 09:16:04 EDT 2017
I spent some more time looking into Fortran options for Windows. Here is
where we are:
1. If you want a free Fortran compiler there is one available at this
link.
http://www.fortran.com/the-fortran-company-homepage/whats-new/g95-windows-download/
If you decide to install this you need to make sure and install it in a
install directory path does not contain any space. I installed it in
c:\g95. The installation program will attempt to modify your
executable path. Once I had it installed correctly it worked perfectly.
2. Now, you can edit programs using Notepad++ or any other editor you
want. Notepad++ is particularly easy to use and one that we generally
show students in CSC 204.
https://notepad-plus-plus.org/
*With an editor and g95 you have everything you really need to edit,
compile, and run fortran using the command prompt in Windows. *
3. The next step up if you want a bigger IDE is to move to
CodeBlocks. I have not used CodeBlocks. I Hear it's pretty good. If
you already have the g95 compiler installed correctly, the CodeBlocks
documentations says that it will detect it and use it.
http://www.codeblocks.org/
note: CodeBlocks (and g95) are going to install tiny portions of the
gnu linux OS onto your system.)
4. So if you must use Eclipse for your IDE then we need to take a
different path. Eclipse wants you to install a "larger" unix minimal
environment on your hard drive including the fortran, C, and C++
compilers. I haven't been able to test this completely because I don't
have enough free space on the Windows partition of my hard drive. Anyway,
Go and install the full Eclipse Photran INCLUDING the CDT.
https://www.eclipse.org/photran/
here are complete installation directions.
<http://wiki.eclipse.org/PTP/photran/documentation/photran8installation>
The additional instructions for Windows explain how to install Cygwin
(the Linux Environment) including the compilers.
So those are your options -- or you could just use cobra -- which is
available from any place where you have network connectivity.
--
Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20170929/2a45c884/attachment.html>
More information about the csc335
mailing list