[OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-03 Thread Damien Hocking
Hi all, There might be some minor bugs in the 64-bit CMake Visual Studio Install project on Windows (say that 3 times fast...). When I build a 64-bit release version, the install is still set up for installing pdbs, even though it's a release build. This is for VS2008 on Windows 7, CMake 2.

Re: [OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-04 Thread Shiqing Fan
Hi Damien, I did a clean build on my 64 bit Windows 7, but I didn't see the same problem. Could you please make sure that the CMAKE_BUILD_TYPE variable in the CMake-GUI is set to "release"? Setting "release" in Visual Studio will not change the CMake install scripts. Thanks, Shiqing Dam

Re: [OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-04 Thread Damien Hocking
Hmmm. I did try setting release and I think I still got pdbs. I'll try again from a totally clean source tree and post back. Damien On 10-02-04 4:41 AM, Shiqing Fan wrote: Hi Damien, I did a clean build on my 64 bit Windows 7, but I didn't see the same problem. Could you please make sure

Re: [OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-04 Thread Marcus G. Daniels
> Hmmm. I did try setting release and I think I still got pdbs. I'll try > again from a totally clean source tree and post back. Another datapoint: I tried Cmake's Generate after setting CMAKE_BUILD_TYPE and building. I have the same sort of build problems with setting x64 in the VS 2008 config

Re: [OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-04 Thread Damien Hocking
I just ran everything again. I'm absolutely positive that when I used CMake's GUI last night that setting Release still gave me pdbs. But when I put SET (CMAKE_BUILD_TYPE Release) into the top-level CMakeLists.txt, I have a Release build and the install is fine. It's highly likely that I did

Re: [OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-04 Thread Marcus G. Daniels
Hi, I have another problem with building x86_64 on 64 bit Windows 7. I set CMAKE_CL_64 to true in cmake-gui, and and set the VS2008 config to x64 (`New' platform adapted from WIN32). However, I get this during the build: 1>-- Build started: Project: libopen-pal, Configuration: Debug x64 --

Re: [OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-04 Thread Shiqing Fan
Hi Marcus, I don't think it's correct to set CMAKE_CL_64 explicitly in CMake-GUI, it's a variable describing the system. And it's not a good idea to use "Configuration Manager" to adapt another configuration, if you really want to do so, you have to also adjust each project property to fit

Re: [OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-04 Thread Damien Hocking
I started again from the beginning to sort out exactly what was going on. Here's what I found. If I use the CMake GUI, and set CMAKE_BUILD_TYPE to Release, re-configure and then generate, and then do the following build command: "devenv OpenMPI.sln /build" I get the following: 1>-- Bui

Re: [OMPI users] INSTALL bug in 64-bit build of OpenMPI Release build on Windows - has workaround

2010-02-05 Thread Marcus G. Daniels
Shiqing, Damien, > If you already have an x86 solution, and you want to have > another for x64, you have to start over from the CMake-GUI, select the > 64 bit generator, i.e. "Visual Studio 9 2008 64bit", so that to generate > the a new solution in a different directory. That was the source of my