HyPhy message board
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl
HYPHY Package >> HyPhy bugs >> MPI compilation
http://www.hyphy.org/cgi-bin/hyphy_forums/YaBB.pl?num=1263847413

Message started by tlefebure on Jan 18th, 2010 at 12:43pm

Title: MPI compilation
Post by tlefebure on Jan 18th, 2010 at 12:43pm
Hello,
Just uploaded the svn HYPHY and tried to compile the MPI version, and got the following problem:

[tnl7@biosim HYPHY]$ bash build_TL.sh MPI
Linux
Checking for curl
curl_check.cpp:1:23: curl/curl.h: No such file or directory
Curl seems to be absent (setting up compiler options skip
CURL code)
+-----------------------------------------------------------+
|Building a single-threaded HYPHYKernelMPI for MPI          
|
+-----------------------------------------------------------+
COMPILER=g++, cc
COMPILER_FLAGS= -w -c -fsigned-char -O3 -fpermissive -
I/home/tnl7/tmp/hyphy/HYPHY/Source -
I/home/tnl7/tmp/hyphy/HYPHY/Source/SQLite -D
INTPTR_TYPE=long -D __UNIX__ -I/opt/mpich/gnu/include -D
_SLKP_LFENGINE_REWRITE_ -I/opt/mpich/gnu/include -
D__HYPHY_NO_CURL__ -I/opt/mpich/gnu/include -D __HYPHYMPI__
-D _SLKP_LFENGINE_REWRITE_
Building baseobj.cpp
baseobj.cpp: In function `bool GlobalShutdown()':
baseobj.cpp:235: error: invalid operands of types `const
char[34]' and `long int' to binary `operator&'
Error during compilation


----

After commenting line 235 of baseobj.cpp, the compilation works..

A bug?

--Tristan

Title: Re: MPI compilation
Post by Sergei on Jan 19th, 2010 at 10:05am
Dear Tristan,

Yes, indeed - a bug. Fixed thanks to your report.

Sergei

HyPhy message board » Powered by YaBB 2.5.2!
YaBB Forum Software © 2000-2024. All Rights Reserved.