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

Usage of IVF 10.026

sveina
Beginner
753 Views

Hi,

I have some questions about compiler options, the IDE and MKL.

1) Is it possible to specify a library path (the libraries are user built) such that it is not necessary toinclude the path in every library name? (compiling from the command line)

2) Can the IDE be set up such that a set of user built libraries are available for all projects?

3) Is it normal that I have to specify a stack size? I had to set the stack size to 20,000,000 to solve a linear system of 1000 x 1000 in double precision.

4) When I use the PRINT statement , it seems that the compiler inserts a new line after 70 or 80 columns, the command window is 150 columns wide. Can I change this?

5) I used the MKL to solve a linear system and find generalized eigenvalues of 1000x1000 matrices. I compared the solution times with that of Lahey LF95 version 5.6h with Netlib Lapack and found a speed up of about 3.5 for the linear system but a slow down for the eigenvalue problem. ( IVF 180s, LF95 113s). Anyone with similar experiences?

6) Is every one happy with the Visual Studio editor? I think ED for Windows is superior. It saves me a lot of typing. Is it possible to use another editor when in the IDE?

SAE

0 Kudos
5 Replies
Steven_L_Intel1
Employee
753 Views
1) Yes. Add your paths to the LIB environment variable. (Note that it will already exist with some folders listed.)

2) You can add a library folder path to Tools..Options..Intel Fortran..Libraries. I don't know of a way to have a set of library files used for all projects, but if your library has a corresponding Fortran module that gets USEd, or an INCLUDE file, you can add the line:

!DEC$ OBJCOMMENT::'lib:mylib.lib'

and this will cause mylib.lib to be referenced by all compilations using that module or include file.

3) It can be normal if the compiler needs to create a temporary copy of an array. You can try adding the option /heap-arrays and that will cause these temporaries to be allocated on the heap.

4) If you are writing to a unit number, such as 6, you can open the file and specify the width you want as the RECL= value. An alternative is to set the environment variable FORT_FMT_RECL to the value you want for the width. You may want to consider using explicit formats (and not *) if you have requirements as to what the output looks like. List-directed formatting gives the "processor" wide latitude in determining spacing and where to start new records.

5) I suggest you ask this in the MKL forum.

6) Editors are a very personal thing - witness the eternal "vi or emacs" debate in the UNIX world. I think it is possible to invoke your own editor from VS, but I don't know how. Perhaps someone else reading here does.
0 Kudos
Michael8
Beginner
753 Views

As far as #6 goes, here's how:

In the Solution Explorer, right click on an .f90 file and then select "Open With...". In the "Open With -- file name" dialog box, click "Add..." (assuming you don;t see the editor of your choice). In the "Add Program" dialog box, type in the full path of the program you want to use in the "Program name" edit box. In the "Friendly name:" edit box, just input the program's simple name (no path). Then click "OK". Back in the "Open With -- file name" dialog box, make sure that the new program you want to use (i.e. the new editor you just added) is highlighted and then click "Set as Default", then click "Close".

Note that even though you did this for just one file, it should take affect for all files with the same extension (.f90)

Michael

(I didn't want my email address to show up as my user name. How do I change that?)

0 Kudos
TimP
Honored Contributor III
753 Views
http://software.intel.com/en-us/forums/showthread.php?t=51783
has the instructions for changing account name
0 Kudos
Michael8
Beginner
753 Views

That worked -- thanks.

Michael

0 Kudos
sveina
Beginner
753 Views

Hi Michael,

Thank you.

SAE

0 Kudos
Reply