- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I am new to intel Fortran. I have installed intel parallel studio XE cluster edition for windows 2017 free edition for students with microsoft vs 2015. I tried to test the FGMRES example. However, it gives the following error message.
/*
1>------ Build started: Project: Console1, Configuration: Debug Win32 ------
1>Compiling with Intel(R) Visual Fortran Compiler 17.0.0.109 [IA-32]...
1>Console1.f90
1>C:\Users\Elsayed\Documents\Visual Studio 2015\Projects\Console1\Console1\Console1.f90(79): error #6409: This name has already been used as an external procedure name. [DNRM2]
1>compilation aborted for C:\Users\Elsayed\Documents\Visual Studio 2015\Projects\Console1\Console1\Console1.f90 (code 1)
1>Project : warning PRJ0018 : The following environment variables were not found:
1>$(FNL_DIR)
1>
1>Build log written to "file://C:\Users\Elsayed\Documents\Visual%20Studio%202015\Projects\Console1\Console1\Debug\BuildLog.htm"
1>Console1 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
*/
Basically, I want to use intel fortran for computational fluid dynamics probelms. Could you please, explaine in a simple steps how to up and run with intel fortran? Is there any additional installation I should do?
Regards,
Elsayed
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A couple of things here...
I see you have tried to add IMSL to your library paths. IMSL is an extra-cost option not included with your student-license edition.
However, functions such as DNORM2 are provided in Intel Math Kernel Library (MKL), which is included, and I am guessing that you are in fact trying to use MKL, Probably you have a USE line that brings in MKL definitions and also a declaration of DNORM2 such as "EXTERNAL" or "DOUBLE PRECISION" - this is what is triggering the error message, so if you have the USE for MKL, take out any explicit declarations of MKL routines.
If you need more help, ask in the MKL forum.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
A couple of things here...
I see you have tried to add IMSL to your library paths. IMSL is an extra-cost option not included with your student-license edition.
However, functions such as DNORM2 are provided in Intel Math Kernel Library (MKL), which is included, and I am guessing that you are in fact trying to use MKL, Probably you have a USE line that brings in MKL definitions and also a declaration of DNORM2 such as "EXTERNAL" or "DOUBLE PRECISION" - this is what is triggering the error message, so if you have the USE for MKL, take out any explicit declarations of MKL routines.
If you need more help, ask in the MKL forum.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Steve,
Thanks for your prompt reply. I took out the following two lines
! DOUBLE PRECISION DNRM2
! EXTERNAL DNRM2
and I added this line
INCLUDE "mkl.fi"
Now it is working fine. Thanks for clarifying the difference between MKL and iMSL.
Regards,
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page