- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I was Compiling a simple mpi_hello Fortrdan code ( use MPI) with Intel(R) Visual Fortran Compiler 17.0.4.210 [Intel(R) 64].., I Intel® oneAPI HPC Toolkit but I am getting the error message error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MPI]
Thanks
farega
링크가 복사됨
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I would guess (there is no code shown) the the sample has a USE MPI statement to pull some MPI module data and the project has not been configured to know where that compiled module is located. Is MPI installed by the way?
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks. Here is the code.
******************************
program MPI_hello
use mpi
implicit none
integer ierr
call MPI_Init(ierr)
WRITE(6,*)'Hello World'
call MPI_Finalize(ierr)
end program MPI_hello
********************
I am using Intel(R) Visual Fortran Compiler 17.0.4.210 [Intel(R) 64] with Viusla Stuido 2015. I tried to install ONEAPI but is not compatible.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
most MPI libraries use a wrapper. So for Intel MPI for example
mpiifort hello.f90 -o hello_mpi.exe
What MPI, version, and wrapper are you using?
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks. Here is the code.
******************************
program MPI_hello
use mpi
implicit none
integer ierr
call MPI_Init(ierr)
WRITE(6,*)'Hello World'
call MPI_Finalize(ierr)
end program MPI_hello
********************
I am using Intel(R) Visual Fortran Compiler 17.0.4.210 [Intel(R) 64] with Viusla Stuido 2015 community. I tried to install ONEAPI but is not compatible.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
The easiest path for you is this:
1) FIRST Get and install the latest Microsoft Visual Studio Community Edition from HERE assuming you qualify for their licensing. If you qualify there is no charge. Make sure to install the C++ Component
2) AND THEN Install the oneAPI HPC Toolkit. All components in that Toolkit including Intel MPI
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
The only compatible Visual studio with my Intel(R) Visual Fortran Compiler 18.0.3.210 is 17 or 15. oneAPI HPC Toolkit compianied on VSC 2015 but was fine with VSC 2017. I tried and get the same error message.
Thanks
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Intel Fortran does not provide support for building MPI applications. You need to install a compatible MPI (such as Intel MPI) and then add to the "Include directories" list the path to where the MPI includes and modules can be found. Depending on the MPI you choose, you may have to compile the module sources.
I don't recommend using the newer Intel MPI in the HPC Toolkit with the older compiler.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
You still need to add the path to the Fortran MPI modules so that the compiler knows how to find them.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks,
the MPI module is installed at C:\Program Files (x86)\Intel\oneAPI
I then set,
1) Project-Properties-Fortran-General-Additional include Directories $(I_MPI_ONEAPI_ROOT)\include;
2) Project-Properties-Linker-General-Additional include directories $(I_MPI_ONEAPI_ROOT)\lib\debug;.
Any other way to set the path?
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
That should do it. Are you sure you are building an x64 target configuration? Intel MPI does not support 32-bit applications. Does mpi.mod exist in that folder?
Please zip the buildlog.htm from a failed build and attach it to a reply here.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thanks.
I am using X64 configration. However, I could not locate mpi.mod.
Here is the log.
------ Build started: Project: Project1, Configuration: Debug x64 ------
1>Compiling with Intel(R) Visual Fortran Compiler 18.0.3.210 [Intel(R) 64]...
1>Source1.f90
1>C:\FCZWQM\ysa\Source1.f90(2): error #7002: Error in opening the compiled module file. Check INCLUDE paths. [MPI]
1>compilation aborted for C:\FCZWQM\ysa\Source1.f90 (code 1)
1>
1>Build log written to "file://C:\FCZWQM\ysa\x64\Debug\BuildLog.htm"
1>Project1 - 2 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
If you could not find it, that tells me you don't have Intel MPI installed. Fortran provides only pieces of Intel MPI necessary to support coarrays. In the Windows Settings > Apps list, do a "Modify" on Intel oneAPI HPC Toolkit and check the box for Intel MPI. Complete the install. It should then work.
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
Thank you so much. I did but I get the following
The Intel(R) Librarian (xilink.exe) could not be found.