Tim,
Thanks for pointing this out (and thanks also to Shiqing and Damien under separate cover). I created a new project which uses the WIN64 preprocessor flag and the changed the machinetype from x86 to x64 in the linker and my app compiles/links and runs successfully.
Thanks Again,
Alan
From: users-bounces@open-mpi.org [mailto:users-bounces@open-mpi.org] On Behalf Of Tim Prince
Sent: Friday, July 27, 2012 12:27 PM
To: users@open-mpi.org
Subject: Re: [OMPI users] compilation on windows 7 64-bit
On 07/27/2012 12:23 PM, Sayre, Alan N wrote:
During compilation I get warning messages such as :
c:\program files (x86)\openmpi_v1.6-x64\include\openmpi/ompi/mpi/cxx/op_inln.h(148): warning C4800: 'int' : forcing value to bool 'true' or 'false' (performance warning)
cmsolver.cpp
Which indicates that the openmpi version “openmpi_v1.6-x64” is 64 bit. And I’m sure that I installed the 64 bit version. I am compiling on a 64 bit version of Windows 7.
setting X64 compiler project options?
--
Tim Prince