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,




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)




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

This message is intended only for the individual or entity to which it is addressed and contains information that is proprietary to The Babcock & Wilcox Company and/or its affiliates, or may be otherwise confidential. If the reader of this message is not the intended recipient, or the employee agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify the sender immediately by return e-mail and delete this message from your computer. Thank you.