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]
Configured the project according to the following instructions:
In the attached materials added Build log.
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: