Re: [OMPI users] Windows CMake build problems ...

2010-01-26 Thread Shiqing Fan
externals Every c++ dies with this link error. Charlie ... Original Message Subject: RE: [OMPI users] Windows CMake build problems ... From: cjohn...@valverdecomputing.com Date: Tue, January 26, 2010 2:10 am To: f...@hlrs.de Cc: "Open MPI Users" Yeah

Re: [OMPI users] Windows CMake build problems ...

2010-01-26 Thread cjohnson
ercepts(void)" (?InitializeIntercepts@MPI@@YAXXZ)referenced in function "void __cdecl MPI::Real_init(void)" (?Real_init@MPI@@YAXXZ)mpi_gather.exe : fatal error LNK1120: 1 unresolved externalsEvery c++ dies with this link error.Charlie ... ---- Original Message --

Re: [OMPI users] Windows CMake build problems ...

2010-01-26 Thread cjohnson
Yeah, that was it. Thanks.Charlie ... Original Message Subject: Re: [OMPI users] Windows CMake build problems ... From: Shiqing Fan List-Post: users@lists.open-mpi.org Date: Tue, January 26, 2010 1:57 am To: cjohn...@valverdecomputing.com Cc: Open MPI Users Hi Charlie

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-26 Thread cjohnson
02:30 AM    98,304 orterun.exe  29 File(s) 23,874,542 bytes   2 Dir(s)  135,862,136,832 bytes free Original Message Subject: [OMPI users] Windows CMake build problems ... From: cjohn...@valverdecomputing.com List-Post: users@lists.open-mpi.org D

Re: [OMPI users] Windows CMake build problems ...

2010-01-26 Thread Shiqing Fan
Hi Charlie , Did you run the mpicc command in the Visual Studio Command Prompt? Is it possible for you to call cl.exe from there? Because it sounds like the VS compiler was not found. Regards, Shiqing cjohn...@valverdecomputing.com wrote: The mpicc, mpic++ and mpicxx apparently don't work

[OMPI users] Windows CMake build problems ...

2010-01-26 Thread cjohnson
The mpicc, mpic++ and mpicxx apparently don't work, even though the rest of the wrapper commands do:C:\prog\mon\examples>ompi_info Package: Open MPI Charles Johnson@WORK Distribution    Open MPI: 1.4   Open MPI SVN revision: r22285   Open MPI release date: Dec 08, 2009  

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-25 Thread Shiqing Fan
Subject: Re: [OMPI users] Windows CMake build problems ... (cont.) From: Shiqing Fan Date: Mon, January 25, 2010 2:09 am To: cjohn...@valverdecomputing.com Cc: Open MPI Users Hi Charlie, Actually, to compile and link your application with Open MPI on Windows is similar as on Linux

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-25 Thread Jeff Squyres
Should this kind of info be added to README.windows? On Jan 25, 2010, at 4:34 AM, wrote: > Thanks, that second part about the wrappers was what I was looking for. > > Charlie ... > > Original Message > Subject: Re: [OMPI users] Windows CMake build

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-25 Thread cjohnson
Thanks, that second part about the wrappers was what I was looking for.   Charlie ...    Original Message Subject: Re: [OMPI users] Windows CMake build problems ... (cont.)From: Shiqing Fan Date: Mon, January 25, 2010 2:09 amTo: cjohn...@valverdecomputing.comCc: Open MPI Users Hi

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-25 Thread Shiqing Fan
side from rigging up something through CMake, cygwin, minGW, or MS SFU)? Charlie ... Original Message Subject: Re: [OMPI users] Windows CMake build problems ... (cont.) From: Shiqing Fan Date: Fri, January 15, 2010 2:56 am To: cjohn...@valverdecomputing.com

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-25 Thread cjohnson
oject I created.   No good.   How does one do this (aside from rigging up something through CMake, cygwin, minGW, or MS SFU)?   Charlie ...   Original Message ----Subject: Re: [OMPI users] Windows CMake build problems ... (cont.)From: Shiqing Fan Date: Fri, January 15, 2010 2

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-15 Thread Shiqing Fan
or C2059: syntax error : ',' 11>param.cc 11>output.cc 11>ompi_info.cc 11>components.cc 11>Generating Code... 11>Build log was saved at "file://c:\prog\mon\ompi\tools\ompi_info\ompi_info.dir\Debug\BuildLog.htm" 11>ompi_info - 3 error(s), 0 warning(s)

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-15 Thread cjohnson
ror : ','11>param.cc11>output.cc11>ompi_info.cc11>components.cc11>Generating Code...11>Build log was saved at "file://c:\prog\mon\ompi\tools\ompi_info\ompi_info.dir\Debug\BuildLog.htm"11>ompi_info - 3 error(s), 0 warning(s)Thank you Shiqing !Charlie

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-14 Thread Shiqing Fan
Hi Charlie, The problem turns out to be the different behavior of one CMake macro in different version of CMake. And it's fixed in Open MPI trunk with r22405. I also created a ticket to move the fix over to 1.4 branch, see #2169: https://svn.open-mpi.org/trac/ompi/ticket/2169 . So you could

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-14 Thread Shiqing Fan
Hi Charlie, Could you also try to use CMake 2.6.4 and see what happens? I found there might be some incompatibility between CMake 2.8 and 2.6 series. Thanks, Shiqing cjohn...@valverdecomputing.com wrote: The OpenMPI build problem I'm having occurs in both OpenMPI 1.4 and 1.3.4. I am on a

Re: [OMPI users] Windows CMake build problems ... (cont.)

2010-01-14 Thread Shiqing Fan
Hi Charlie, It seems that the dependencies among the projects are corrupted. Don't know how this could happen, CMake build system should set them automatically. Take the opal-restart as an example, if you right click on that project, and select "Project Dependencies", you will see a list of

[OMPI users] Windows CMake build problems ... (cont.)

2010-01-14 Thread cjohnson
The OpenMPI build problem I'm having occurs in both OpenMPI 1.4 and 1.3.4.I am on a Windows 7 (US) Enterprise (x86) OS on an HP system with Intel core 2 extreme x9000 (4GB RAM), using the 2005 Visual Studio for S/W Architects (release 8.0.50727.867).[That release has everything the platform SDK wou

Re: [OMPI users] Windows CMake build problems ...

2010-01-13 Thread Shiqing Fan
Hi Johnson, I can see the reason for the errors, that's because you enabled option "OMPI_ENABLE_DEBUG" option in CMake GUI, and for some reason, this option will not work properly right now. So please just disable "OMPI_ENABLE_DEBUG", and configure/compile again, those errors will disappear

[OMPI users] Windows CMake build problems ...

2010-01-12 Thread cjohnson
The OpenMPI build problem I'm having occurs in both OpenMPI 1.4 and 1.3.4.I am on a Windows 7 (US) Enterprise (x86) OS on an HP system with Intel core 2 extreme x9000 (4GB RAM), using the 2005 Visual Studio for S/W Architects (release 8.0.50727.867). [That release has everything the platform SDK wo