Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-22 Thread Shiqing Fan

Hi Hiral,

You have to add "OMPI_IMPORTS" as a preprocessor definition in you 
project configuration. Or a easier way is to use the mpicc command line.


Please also take a look into the output of "mpicc --showme", it will 
give you the complete compile options.



Regards,
Shiqing

On 3/22/2011 10:36 AM, hi wrote:

Hi Shiqing,
While building my application (on Windows 7, Vistual Studio 2008 
32-bit application) with openmpi-1.5.2, getting following error...

util.o : error LNK2001: unresolved external symbol _ompi_mpi_byte
util.o : error LNK2001: unresolved external symbol _ompi_mpi_op_max
util.o : error LNK2001: unresolved external symbol _ompi_mpi_int
util.o : error LNK2001: unresolved external symbol _ompi_mpi_char
util.o : error LNK2001: unresolved external symbol _ompi_mpi_comm_world
util.o : error LNK2001: unresolved external symbol _ompi_mpi_op_sum
Linking options...
/LIBPATH:""c:\openmpi-1.5.2\installed"/lib/" libmpi_cxxd.lib 
libmpid.lib libmpi_f77d.lib libopen-pald.lib libopen-rted.lib

I seems that 'dllexport' is missing for above symbols.
Thank you.
-Hiral

On Fri, Mar 18, 2011 at 1:53 AM, Shiqing Fan > wrote:


Hi Hiral,



> There is no f90 bindings at moment for Windows.
Any idea when this available?

At moment, no. But only if there is strong requirements.



Regards,
Shiqing


Thank you.
-Hiral
On Thu, Mar 17, 2011 at 5:21 PM, Shiqing Fan > wrote:



I tried building openmpi-1.5.2 on Windows 7 (as described
below environment) with OMPI_WANT_F77_BINDINGS_ON and
OMPI_WANT_F90_BINDINGS_ON using "ifort".
I observed that it has generated mpif77.exe but didn't
generated mpif90.exe, any idea???


There is no f90 bindings at moment for Windows.



BTW: while using above generated mpif77.exe to compile
hello_f77.f got following errors...

c:\openmpi-1.5.2\examples> mpif77 hello_f77.f
Intel(R) Visual Fortran Compiler Professional for
applications running on IA-32,
 Version 11.1Build 20100414 Package ID:
w_cprof_p_11.1.065
Copyright (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: ( 
...
  parameter (MPI_STATUS_SIZE=)
-^
compilation aborted for hello_f77.f (code 1)


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.


Regards,
Shiqing


Thank you.
-Hiral
On Wed, Mar 16, 2011 at 8:11 PM, Damien > 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.
Damien
On 16/03/2011 8:34 AM, Shiqing Fan wrote:

Hi Hiral,

> 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?

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 .

BTW: Do you have any idea on: when next stable release
with full fortran support on Windows would be available?

There is no plan yet.
Regards,
Shiqing

Thank you.
-Hiral
On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan
> wrote:

Hi 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,
Shiqing
On 3/16/2011 11:47 AM, hi wrote:


Greetings!!!

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

   

Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-22 Thread hi
Hi Shiqing,

While building my application (on Windows 7, Vistual Studio 2008 32-bit
application) with openmpi-1.5.2, getting following error...

util.o : error LNK2001: unresolved external symbol _ompi_mpi_byte
util.o : error LNK2001: unresolved external symbol _ompi_mpi_op_max
util.o : error LNK2001: unresolved external symbol _ompi_mpi_int
util.o : error LNK2001: unresolved external symbol _ompi_mpi_char
util.o : error LNK2001: unresolved external symbol _ompi_mpi_comm_world
util.o : error LNK2001: unresolved external symbol _ompi_mpi_op_sum
Linking options...
/LIBPATH:""c:\openmpi-1.5.2\installed"/lib/" libmpi_cxxd.lib libmpid.lib
libmpi_f77d.lib libopen-pald.lib libopen-rted.lib

I seems that 'dllexport' is missing for above symbols.

Thank you.
-Hiral


On Fri, Mar 18, 2011 at 1:53 AM, Shiqing Fan  wrote:

> Hi Hiral,
>
>
>
> > There is no f90 bindings at moment for Windows.
> Any idea when this available?
>
> At moment, no. But only if there is strong requirements.
>
>
>
> Regards,
> Shiqing
>
>
> Thank you.
> -Hiral
>
> On Thu, Mar 17, 2011 at 5:21 PM, Shiqing Fan  wrote:
>
>>
>>  I tried building openmpi-1.5.2 on Windows 7 (as described below
>> environment) with OMPI_WANT_F77_BINDINGS_ON and
>> OMPI_WANT_F90_BINDINGS_ON using "ifort".
>>
>> I observed that it has generated mpif77.exe but didn't generated
>> mpif90.exe, any idea???
>>
>>
>> There is no f90 bindings at moment for Windows.
>>
>>
>>  BTW: while using above generated mpif77.exe to compile hello_f77.f got
>> following errors...
>>
>> c:\openmpi-1.5.2\examples> mpif77 hello_f77.f
>> Intel(R) Visual Fortran Compiler Professional for applications running on
>> IA-32,
>>  Version 11.1Build 20100414 Package ID: w_cprof_p_11.1.065
>> Copyright (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: (  
>> > _KIND_PARAM>   ...
>>   parameter (MPI_STATUS_SIZE=)
>> -^
>> compilation aborted for hello_f77.f (code 1)
>>
>> 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.
>>
>>
>> Regards,
>> Shiqing
>>
>>  Thank you.
>> -Hiral
>>
>>
>> On Wed, Mar 16, 2011 at 8:11 PM, Damien  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.
>>>
>>> Damien
>>>
>>> On 16/03/2011 8:34 AM, Shiqing Fan wrote:
>>>
>>> Hi Hiral,
>>>
>>>
>>>
>>> > 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?
>>>
>>> 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 .
>>>
>>>
>>>
>>> BTW: Do you have any idea on: when next stable release with full fortran
>>> support on Windows would be available?
>>>
>>> There is no plan yet.
>>>
>>>
>>> Regards,
>>> Shiqing
>>>
>>>
>>>
>>>
>>> Thank you.
>>> -Hiral
>>>
>>> On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan  wrote:
>>>
>>>
 Hi 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,
 Shiqing

 On 3/16/2011 11:47 AM, hi wrote:

  Greetings!!!



 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 

Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-17 Thread Shiqing Fan

Hi Hiral,


> There is no f90 bindings at moment for Windows.
Any idea when this available?

At moment, no. But only if there is strong requirements.


Regards,
Shiqing


Thank you.
-Hiral
On Thu, Mar 17, 2011 at 5:21 PM, Shiqing Fan > wrote:




I tried building openmpi-1.5.2 on Windows 7 (as described below
environment) with OMPI_WANT_F77_BINDINGS_ON and
OMPI_WANT_F90_BINDINGS_ON using "ifort".
I observed that it has generated mpif77.exe but didn't generated
mpif90.exe, any idea???


There is no f90 bindings at moment for Windows.



BTW: while using above generated mpif77.exe to compile
hello_f77.f got following errors...

c:\openmpi-1.5.2\examples> mpif77 hello_f77.f
Intel(R) Visual Fortran Compiler Professional for
applications running on IA-32,
 Version 11.1Build 20100414 Package ID: w_cprof_p_11.1.065
Copyright (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: ( 
...
  parameter (MPI_STATUS_SIZE=)
-^
compilation aborted for hello_f77.f (code 1)


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.


Regards,
Shiqing


Thank you.
-Hiral
On Wed, Mar 16, 2011 at 8:11 PM, Damien > 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.
Damien
On 16/03/2011 8:34 AM, Shiqing Fan wrote:

Hi Hiral,

> 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?

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 .

BTW: Do you have any idea on: when next stable release with
full fortran support on Windows would be available?

There is no plan yet.
Regards,
Shiqing

Thank you.
-Hiral
On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan > wrote:

Hi 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,
Shiqing
On 3/16/2011 11:47 AM, hi wrote:


Greetings!!!

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 

Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-17 Thread hi
Hi Shiqing,

Yes, it was parameter (MPI_STATUS_SIZE=) in mpif-config.h file.

BTW: see the attached CMakeCache.txt.

> There is no f90 bindings at moment for Windows.
Any idea when this available?

Thank you.
-Hiral

On Thu, Mar 17, 2011 at 5:21 PM, Shiqing Fan  wrote:

>
>  I tried building openmpi-1.5.2 on Windows 7 (as described below
> environment) with OMPI_WANT_F77_BINDINGS_ON and
> OMPI_WANT_F90_BINDINGS_ON using "ifort".
>
> I observed that it has generated mpif77.exe but didn't generated
> mpif90.exe, any idea???
>
>
> There is no f90 bindings at moment for Windows.
>
>
>  BTW: while using above generated mpif77.exe to compile hello_f77.f got
> following errors...
>
> c:\openmpi-1.5.2\examples> mpif77 hello_f77.f
> Intel(R) Visual Fortran Compiler Professional for applications running on
> IA-32,
>  Version 11.1Build 20100414 Package ID: w_cprof_p_11.1.065
> Copyright (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: (  
>  _KIND_PARAM>   ...
>   parameter (MPI_STATUS_SIZE=)
> -^
> compilation aborted for hello_f77.f (code 1)
>
> 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.
>
>
> Regards,
> Shiqing
>
>  Thank you.
> -Hiral
>
>
> On Wed, Mar 16, 2011 at 8:11 PM, Damien  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.
>>
>> Damien
>>
>> On 16/03/2011 8:34 AM, Shiqing Fan wrote:
>>
>> Hi Hiral,
>>
>>
>>
>> > 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?
>>
>> 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 .
>>
>>
>>
>> BTW: Do you have any idea on: when next stable release with full fortran
>> support on Windows would be available?
>>
>> There is no plan yet.
>>
>>
>> Regards,
>> Shiqing
>>
>>
>>
>>
>> Thank you.
>> -Hiral
>>
>> On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan  wrote:
>>
>>
>>> Hi 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,
>>> Shiqing
>>>
>>> On 3/16/2011 11:47 AM, hi wrote:
>>>
>>>  Greetings!!!
>>>
>>>
>>>
>>> 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
>>> 

Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-17 Thread Shiqing Fan


I tried building openmpi-1.5.2 on Windows 7 (as described below 
environment) with OMPI_WANT_F77_BINDINGS_ON and

OMPI_WANT_F90_BINDINGS_ON using "ifort".
I observed that it has generated mpif77.exe but didn't generated 
mpif90.exe, any idea???


There is no f90 bindings at moment for Windows.

BTW: while using above generated mpif77.exe to compile hello_f77.f got 
following errors...


c:\openmpi-1.5.2\examples> mpif77 hello_f77.f
Intel(R) Visual Fortran Compiler Professional for applications
running on IA-32,
 Version 11.1Build 20100414 Package ID: w_cprof_p_11.1.065
Copyright (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: ( 
...
  parameter (MPI_STATUS_SIZE=)
-^
compilation aborted for hello_f77.f (code 1)

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.


Regards,
Shiqing


Thank you.
-Hiral
On Wed, Mar 16, 2011 at 8:11 PM, Damien > 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.
Damien
On 16/03/2011 8:34 AM, Shiqing Fan wrote:

Hi Hiral,

> 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?

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 .

BTW: Do you have any idea on: when next stable release with full
fortran support on Windows would be available?

There is no plan yet.
Regards,
Shiqing

Thank you.
-Hiral
On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan > wrote:

Hi 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,
Shiqing
On 3/16/2011 11:47 AM, hi wrote:


Greetings!!!

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

 

Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-17 Thread hi
Hi,

I tried building openmpi-1.5.2 on Windows 7 (as described below environment)
with OMPI_WANT_F77_BINDINGS_ON and
OMPI_WANT_F90_BINDINGS_ON using "ifort".

I observed that it has generated mpif77.exe but didn't generated mpif90.exe,
any idea???

BTW: while using above generated mpif77.exe to compile hello_f77.f got
following errors...

c:\openmpi-1.5.2\examples> mpif77 hello_f77.f
Intel(R) Visual Fortran Compiler Professional for applications running on
IA-32,
 Version 11.1Build 20100414 Package ID: w_cprof_p_11.1.065
Copyright (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: (  
   ...
  parameter (MPI_STATUS_SIZE=)
-^
compilation aborted for hello_f77.f (code 1)

Thank you.
-Hiral


On Wed, Mar 16, 2011 at 8:11 PM, Damien  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.
>
> Damien
>
> On 16/03/2011 8:34 AM, Shiqing Fan wrote:
>
> Hi Hiral,
>
>
>
> > 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?
>
> 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 .
>
>
>
> BTW: Do you have any idea on: when next stable release with full fortran
> support on Windows would be available?
>
> There is no plan yet.
>
>
> Regards,
> Shiqing
>
>
>
>
> Thank you.
> -Hiral
>
> On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan  wrote:
>
>
>> Hi 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,
>> Shiqing
>>
>> On 3/16/2011 11:47 AM, hi wrote:
>>
>>  Greetings!!!
>>
>>
>>
>> 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 

Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-16 Thread Damien

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.


Damien

On 16/03/2011 8:34 AM, Shiqing Fan wrote:

Hi Hiral,

> 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?
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 .


BTW: Do you have any idea on: when next stable release with full 
fortran support on Windows would be available?

There is no plan yet.


Regards,
Shiqing


Thank you.
-Hiral
On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan > wrote:


Hi 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,
Shiqing


On 3/16/2011 11:47 AM, hi wrote:


Greetings!!!

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


___
users mailing list
us...@open-mpi.org  

Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-16 Thread Shiqing Fan

Hi Hiral,

> 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?
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 .


BTW: Do you have any idea on: when next stable release with full 
fortran support on Windows would be available?

There is no plan yet.


Regards,
Shiqing


Thank you.
-Hiral
On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan > wrote:


Hi 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,
Shiqing


On 3/16/2011 11:47 AM, hi wrote:


Greetings!!!

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


___
users mailing list
us...@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  

Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-16 Thread hi
Hi Shiquing / Damien,

Thanks for the quick reply.

> 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?

BTW: Do you have any idea on: when next stable release with full fortran
support on Windows would be available?

Thank you.
-Hiral
On Wed, Mar 16, 2011 at 6:59 PM, Shiqing Fan  wrote:

> Hi 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,
> Shiqing
>
>
> On 3/16/2011 11:47 AM, hi wrote:
>
>   Greetings!!!
>
>
>
> 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
>
>
> ___
> users mailing 
> listusers@open-mpi.orghttp://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 
> Stuttgarthttp://www.hlrs.de/organization/people/shiqing-fan/
> email: f...@hlrs.de
>
>


Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-16 Thread Shiqing Fan

Hi 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,
Shiqing

On 3/16/2011 11:47 AM, hi wrote:


Greetings!!!

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


___
users mailing list
us...@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: f...@hlrs.de



Re: [OMPI users] Building OpenMPI on Windows 7

2011-03-16 Thread Damien

Hi Hiral,

The 1.4 series doesn't have Fortran support on Windows.  You need to use 
1.5.


Damien

On 16/03/2011 4:47 AM, hi wrote:


Greetings!!!

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


___
users mailing list
us...@open-mpi.org
http://www.open-mpi.org/mailman/listinfo.cgi/users


[OMPI users] Building OpenMPI on Windows 7

2011-03-16 Thread hi
Greetings!!!



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