- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page