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

Please help Fortran in Linux

jjchae
Beginner
1,364 Views

I've used Visual fortran at PC but I have to use IFortran 9 or 10 in Linux system.
In Compaq Visual fortran, I usually do these steps
1. Project - setting -Fortran -Runtime : unmark Array and string bounds
2. Project - setting -Fortran -Libraried: Use run time (single threaded)
3. Project-setting-link-output

Could you anybody help giving those options to Ifortran in linux? Please let me know what commands I need to use for the project.

I greatly thank you for your helps.

0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,364 Views

The Intel compiler documentation shows both Windows and Linux "spellings" of various options, and includes a handy table showing equivalences.

1. Array bounds checking is off by default when compiling from the command line. It's only in a Visual Studio project that it's on for a Debug configuration. So, you shoild not have to do anything here.

2. Single-threaded is the default on Linux too.

3. It's not clear to me what you want here, but you specify the name of the executable as follows:

ifort -o yourname yourprog.f90

where "yourname" is a filename. If you don't specify this, you'll get a.out. It's traditional on Linux for executables to have no file type.

0 Kudos
Reply