Thread Closed

LInux fortran to windows

 
Share Thread Thread Tools
Nov19-08, 03:19 PM   #1
 

LInux fortran to windows


Hi,
I have a code that was written with a Linux FORTRAN compiler but is 'portable'. does this mean I am able to compile it on a windows compiler?
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Heat-related deaths in Manhattan projected to rise
>> Dire outlook despite global warming 'pause': study
>> Sea level influenced tropical climate during the last ice age
Nov19-08, 03:36 PM   #2
 
Recognitions:
Homework Helper Homework Help
Science Advisor Science Advisor
Yes, Fortran is pretty portable anyway since you don't normally do much system level stuff.
The main portability issue with Fortran is compiler specific extentions.
If you wrote it on Linux you presumably used the GNU compiler? If you use the same compiler on windows it shoudl work out of the box.
 
Nov19-08, 03:38 PM   #3
 
I will have to look at that one. Is FORTRAN in window relatively easy to set up. I heard GCC make good compilers..?
 
Nov29-08, 08:46 AM   #4
 

LInux fortran to windows


The MinGW compiler is a GCC for Windows. It has g77 and is basically like compiling FORTRAN in Linux.
 
Thread Closed
Thread Tools


Similar Threads for: LInux fortran to windows
Thread Forum Replies
Fortran 77 & 90/95 on Windows XP Programming & Comp Sci 13
Windows Vista, Linux 32-bit, Linux 64-bit Computing & Technology 1
In need of windows ce emulator for linux Computing & Technology 2
Windows or Mac or Linux? General Discussion 53
Linux for Windows Addicts Science Textbook Discussion 0