Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

Fortran 77 option

bangnet
Beginner
908 Views
hello,

i have an old program written in fortran 77 that i am trying to compile using ifc. is there an option that i can give to ifc to specify that i want it to compile it as a fortran 77 program? ie, not complain about features that are obsolescent etc? i do not want to merely suppress the warning messages by using -w90 or -w95...

thanks,
barb.
0 Kudos
5 Replies
Steven_L_Intel1
Employee
908 Views
There is no option to ifc that says "pretend I'm an F77 compiler". Suppressing the warnings is your best option.

Steve
0 Kudos
WHeat_
Beginner
908 Views

Hello,

Can i compile a program written in Fortran 77 with intel Parallel Studio XE for windows ans Visual Studio 2012 ? If the answer is Yes, how can i do ?

Thanks

Adel.

0 Kudos
TimP
Honored Contributor III
908 Views
If it's fixed form source you would normally use .f or .for file name suffix. If you mean non standard extensions not covered by use ifport et al you could ask specifics here.
0 Kudos
FortranFan
Honored Contributor III
908 Views

WHeat. wrote:

Hello,

Can i compile a program written in Fortran 77 with intel Parallel Studio XE for windows ans Visual Studio 2012 ? If the answer is Yes, how can i do ?

Thanks

Adel.

Adel,

You may want to post your questions on the "Intel Fortran on Windows" forum at http://software.intel.com/en-us/forums/intel-visual-fortran-compiler-for-windows/ instead of this one for Linux and OS X.

Readers on this other forum are a lot more knowledgeable about Windows and Microsoft's Visual Studio.

0 Kudos
Steven_L_Intel1
Employee
908 Views

In most cases, simply compile the source. It should "just work". There are some cases where later revisions to the language changed the meaning of some things in F77, but those are unusual and there's options to get the old behavior if needed.

0 Kudos
Reply