Welcome, Guest. Please Login
YaBB - Yet another Bulletin Board
 
  HomeHelpSearchLogin  
 
running HYPHY on ppc64 GNU/Linux (Read 1021 times)
avilella
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 35
running HYPHY on ppc64 GNU/Linux
Jun 21st, 2005 at 5:14am
 
Hi all,

I compiled HYPHY on a OpenPower 720 ppc64 GNU/Linux, but I'm having a problem when running it:

./HYPHYMP
options 1->1

Error:
Operation: < is not defined.

with options 2->1:
Error:
Operation: MAccess is not defined.

It seems there is a problem when asking for files.

Any guess?

    Albert.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: running HYPHY on ppc64 GNU/Linux
Reply #1 - Jun 21st, 2005 at 8:07am
 
Dear Albert,
Quote:
I compiled HYPHY on a OpenPower 720 ppc64 GNU/Linux, but I'm having a problem when running it:

./HYPHYMP
options 1->1

Error:
Operation: < is not defined.

with options 2->1:
Error:
Operation: MAccess is not defined.

It seems there is a problem when asking for files.


I have run into a similar problem with IBM's xLC. It is due to the fact that I made a (non-portable) assumption that 'char' types in C are signed by default, while on some systems they are unsigned by default (e.g. PPC systems).

Your compiler should have a command line option to force the 'char' type to be signed. In gcc, the option is -fsigned-char. If you turn that on and recompile, things should improve.

Cheers,
Sergei
Back to top
« Last Edit: Jun 21st, 2005 at 10:38am by Sergei »  

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged
 
avilella
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 35
Re: running HYPHY on ppc64 GNU/Linux
Reply #2 - Jun 21st, 2005 at 8:50am
 
yep, that did the trick:

COMPILER_FLAGS=" -w -c -O3 -D__HYPHY_NO_CURL__ -fsigned-char -fpermissive -I`pwd`/Source -I`pw\d`/Source/SQLite ";

Thanks again,

    Albert.
Back to top
 
 
IP Logged
 
Sergei
YaBB Administrator
*****
Offline


Datamonkeys are forever...

Posts: 1658
UCSD
Gender: male
Re: running HYPHY on ppc64 GNU/Linux
Reply #3 - Jun 21st, 2005 at 1:51pm
 
Dear Albert,

I will add the flag to the standard build script. Thanks for bringing this to my attention.

Cheers,
Sergei
Back to top
 

Associate Professor
Division of Infectious Diseases
Division of Biomedical Informatics
School of Medicine
University of California San Diego
WWW WWW  
IP Logged