Quantcast
Channel: Intel® Fortran Compiler for Linux* and macOS*
Viewing all articles
Browse latest Browse all 2583

Wiindows Ifort compiles and runs but osx/linux ifort does not

$
0
0

Hello,

I have a fortran program that compiles and runs fine when compiled with windows ifort but will not work using linux ifort.  think the error has something to so with reading numbers from a file but I am not sure. 

Is there a difference in a linux fortran ifort compiled program reading integers from a file and a program compiled on windows using ifort reading from a file?

Also why would a fortran program compiled with windows ifort be ok with the following statement but if I compile the same code on linux ifort I get a undefined variable error. 

IF(hello.EQ.0)hello=3

The variable hello is not initialized but windows seems to be ok with using uninitialized variables and linux ifort is not ok with uninitialized variables. Yes I know uninitialized variables are bad, the code is older than I am......


Viewing all articles
Browse latest Browse all 2583

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>