I tried building openmpi-1.5.2 on Windows 7 (as described below environment) with OMPI_WANT_F77_BINDINGS_ON andOMPI_WANT_F90_BINDINGS_ON using "ifort".I observed that it has generated mpif77.exe but didn't generated mpif90.exe, any idea???
It seems MPI_STATUS_SIZE is not set. Could you please send me your CMakeCache.txt to me off the mailing list, so that I can check what is going wrong? A quick solution would be just set it to 0.BTW: while using above generated mpif77.exe to compile hello_f77.f got following errors...c:\openmpi-1.5.2\examples> mpif77 hello_f77.fIntel(R) Visual Fortran Compiler Professional for applications running on IA-32,Version 11.1 Build 20100414 Package ID: w_cprof_p_11.1.065Copyright (C) 1985-2010 Intel Corporation. All rights reserved.C:/openmpi-1.5.2/installed/include\mpif-config.h(91): error #5082: Syntax error,found ')' when expecting one of: ( <IDENTIFIER> <CHAR_CON_KIND_PARAM> <CHAR_NAM_KIND_PARAM> <CHARACTER_CONSTANT> <INTEGER_CONSTANT> ...parameter (MPI_STATUS_SIZE=)---------------------------------^compilation aborted for hello_f77.f (code 1)
Thank you.-HiralOn Wed, Mar 16, 2011 at 8:11 PM, Damien <damien@khubla.com> wrote:Hiral,To add to Shiqing's comments, 1.5 has been running great for me on Windows for over 6 months since it was in beta. You should give it a try.DamienOn 16/03/2011 8:34 AM, Shiqing Fan wrote:Hi Hiral,Well, I highly recommend to use 1.5 series, but I can also take a look and probably provide you a patch for 1.4 .> it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings.Can you please provide steps to build 1.4.3 with experimental f77 bindings on Windows?There is no plan yet.BTW: Do you have any idea on: when next stable release with full fortran support on Windows would be available?Regards,ShiqingThank you.-HiralOn Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan <fan@hlrs.de> wrote:_______________________________________________ users mailing list users@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/usersHi Hiral,1.3.4 is quite old, please use the latest version. As Damien noted, the full fortran support is in 1.5 series, it's only experimental in 1.4 series. And there is only F77 bingdings on Windows, no F90 bindings. Another choice is to use the released binary installers to avoid compiling everything by yourself.Best Regards,ShiqingOn 3/16/2011 11:47 AM, hi wrote:_______________________________________________ users mailing list users@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/usersGreetings!!!
I am trying to build openmpi-1.3.4 and openmpi-1.4.3 on Windows 7 (64-bit OS), but getting some difficuty...
My build environment:
OS : Windows 7 (64-bit)
C/C++ compiler : Visual Studio 2008 and Visual Studio 2010
Fortran compiler: Intel "ifort"
Approach: followed the "First Approach" described in README.WINDOWS file.
1) Using openmpi-1.3.4:
Observed build time error in version.cc(136). This error is related to getting SVN version information as described in http://www.open-mpi.org/community/lists/users/2010/01/11860.php. As we are using this openmpi-1.3.4 stable version on Linux platform, is there any fix to this compile time error?
2) Using openmpi-1.4.3:
Builds properly without F77/F90 support (i.e. i.e. Skipping MPI F77 interface).
Now to get the "mpif*.exe" for fortran programs, I provided proper "ifort" path and enabled "OMPI_WANT_F77_BINDINGS=ON" and/or OMPI_WANT_F90_BINDINGS=ON flag; but getting following errors...
2.a) "ifort" with OMPI_WANT_F77_BINDINGS=ON gave following errors...
Check ifort external symbol convention...
Check ifort external symbol convention...single underscore
Check if Fortran 77 compiler supports LOGICAL...
Check if Fortran 77 compiler supports LOGICAL...done
Check size of Fortran 77 LOGICAL...
CMake Error at contrib/platform/win32/CMakeModules/f77_get_sizeof.cmake:76 (MESSAGE):
Could not determine size of LOGICAL.
Call Stack (most recent call first):
contrib/platform/win32/CMakeModules/f77_check.cmake:82 (OMPI_F77_GET_SIZEOF)
contrib/platform/win32/CMakeModules/ompi_configure.cmake:1123 (OMPI_F77_CHECK)
CMakeLists.txt:87 (INCLUDE)
Configuring incomplete, errors occurred!
2.b) "ifort" with OMPI_WANT_F90_BINDINGS=ON gave following errors...
Skipping MPI F77 interface
CMake Error: File C:/openmpi-1.4.3/contrib/platform/win32/ConfigFiles/mpif90-wrapper-data.txt.cmake does not exist.
CMake Error at ompi/tools/CMakeLists.txt:93 (CONFIGURE_FILE):
configure_file Problem configuring file
CMake Error: File C:/openmpi-1.4.3/contrib/platform/win32/ConfigFiles/mpif90-wrapper-data.txt.cmake does not exist.
CMake Error at ompi/tools/CMakeLists.txt:97 (CONFIGURE_FILE):
configure_file Problem configuring file
looking for ccp...
looking for ccp...not found.
looking for ccp...
looking for ccp...not found.
Configuring incomplete, errors occurred!
2.c) "ifort" with OMPI_WANT_F77_BINDINGS=ON and OMPI_WANT_F90_BINDINGS=ON gave following errors...
Check ifort external symbol convention...
Check ifort external symbol convention...single underscore
Check if Fortran 77 compiler supports LOGICAL...
Check if Fortran 77 compiler supports LOGICAL...done
Check size of Fortran 77 LOGICAL...
CMake Error at contrib/platform/win32/CMakeModules/f77_get_sizeof.cmake:76 (MESSAGE):
Could not determine size of LOGICAL.
Call Stack (most recent call first):
contrib/platform/win32/CMakeModules/f77_check.cmake:82 (OMPI_F77_GET_SIZEOF)
contrib/platform/win32/CMakeModules/ompi_configure.cmake:1123 (OMPI_F77_CHECK)
CMakeLists.txt:87 (INCLUDE)
Configuring incomplete, errors occurred!
Any idea on resolving above errors to get mpif*.exe generated on Windows platform using "ifort"?
Please let me know if more information is required.Thank you in advance.-Hiral
-- --------------------------------------------------------------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: fan@hlrs.de-- --------------------------------------------------------------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: fan@hlrs.de_______________________________________________ users mailing list users@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users_______________________________________________users mailing list_______________________________________________ users mailing list users@open-mpi.org http://www.open-mpi.org/mailman/listinfo.cgi/users
-- --------------------------------------------------------------- Shiqing Fan High Performance Computing Center Stuttgart (HLRS) Tel: ++49(0)711-685-87234 Nobelstrasse 19 Fax: ++49(0)711-685-65832 70569 Stuttgart http://www.hlrs.de/organization/people/shiqing-fan/ email: fan@hlrs.de