Community
cancel
Showing results for 
Search instead for 
Did you mean: 
koynov__vitaly
Beginner
173 Views

Visual Studio 2017 and Intel MPI Library, Compilation error, Fortran

After updating Intel® Parallel Studio XE Cluster Edition for Windows to version 2020.0.166, the VS project  cannot compile:

1>C:\Users\koyno\source\repos\wave1\wave1\wave1.f90(3): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [MPI]
1>C:\Users\koyno\source\repos\wave1\wave1\wave1.f90(30): error #6683: A kind type parameter must be a compile-time constant.   [MPI_OFFSET_KIND]
1>C:\Users\koyno\source\repos\wave1\wave1\wave1.f90(35): error #6404: This name does not have a type, and must have an explicit type.   [MPI_COMM_WORLD]

... etc.

Configured the project according to the following instructions:

https://software.intel.com/ru-ru/mpi-developer-guide-windows-configuring-a-visual-studio-project

In the attached materials added Build log.

 

Thanks, 

Vitaly

 

0 Kudos
3 Replies
PrasanthD_intel
Moderator
173 Views

Hi

1)The issue seems like the Visual Studio cannot find mpi.mod file. Could you please check the

C:\Program Files (x86)\IntelSWTools\mpi\<version>\intel64\include  to see whether the mod files exist.

2)If yes then once again check the include path has been correctly set as per mentioned the document you have provided.

Additional Include Directories: $(I_MPI_ROOT)\intel64\include 

3) If its is correctly set the problem might be the variable $(I_MPI_ROOT) is empty . Could you run mpivars.bat file which will be available at

<installdir>\intel64\bin\mpivars.bat. Or else once hardcode the path and check if it is working.

4) Also please check you have followed the prerequisite steps mentioned here:

https://software.intel.com/en-us/mpi-developer-guide-windows-prerequisite-steps

 

Thanks

Prasanth

 

 

PrasanthD_intel
Moderator
173 Views

Hi,

 

Is your problem resolved? does the provided steps helped?

Please reach out to us if you are still getting the error.

 

Thanks

Prasanth

PrasanthD_intel
Moderator
173 Views

Hi,

We are closing this assuming your problem is resolved.

Please raise a new thread if you face any further issues.

 

Thanks

Prasanth

Reply