POY compilation error

78 views
Skip to first unread message

samuel.h...@gmail.com

unread,
Mar 26, 2012, 2:30:42 PM3/26/12
to POY - Phylogenetic Analysis Software, Daniel...@osumc.edu, guil...@osc.edu, OSC...@osc.edu, ttre...@gmail.com
Hello all,
I'm trying to install POY on my cluster, and I'm getting the
following error:
"
./libpoycside.a(newkkonen.o): In function `get_delta':
/nfs/16/osu6617/poy_5.0.1.alpha/src/_build/newkkonen.c:244: undefined
reference to `cm_get_min_non0_cost'
File "caml_startup", line 1, characters 0-1:
Error: Error during linking
Command exited with code 2.
Compilation unsuccessful after building 796 targets (0 cached) in
00:02:59.
make: *** [poy.native] Error 10
"

Lessee...
-bash-4.1$ ocaml -version
The Objective Caml toplevel, version 3.12.1
-bash-4.1$ mpicc --version
icc (ICC) 12.1.0 20110811
Copyright (C) 1985-2011 Intel Corporation. All rights reserved.
-bash-4.1$ uname -a
Linux oakley02.osc.edu 2.6.32-131.17.1.el6.x86_64 #1 SMP Thu Sep 29
10:24:25 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

So not sure what's causing this. This was the configuration I used:
-bash-4.1$ ./configure --enable-interface=flat --enable-mpi --enable-
long-sequences CC=mpicc --prefix=/nfs/16/osu6617/local/poy/5.0.1.alpha

samuel.h...@gmail.com

unread,
Mar 26, 2012, 4:21:37 PM3/26/12
to POY - Phylogenetic Analysis Software
Appear to have fixed it, at least on our system.
module swap intel gnu
./configure --enable-interface=flat --enable-mpi --enable-long-
sequences CC=mpicc --prefix=/nfs/16/osu6617/local/poy/5.0.1.alpha
CFLAGS=-static-libgcc

Thanks all,
Sam

On Mar 26, 2:30 pm, "samuel.handel...@gmail.com"

lyn HONG

unread,
Mar 26, 2012, 8:58:17 PM3/26/12
to po...@googlegroups.com
Hi Sam,

Glad to hear that. 

I notice  "CFLAGS=-static-libgcc" was not in your first compile, is that what you did to get it work?


--


--
You received this message because you are subscribed to the Google Groups "POY - Phylogenetic Analysis Software" group.
To post to this group, send email to po...@googlegroups.com.
To unsubscribe from this group, send email to poy4+uns...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/poy4?hl=en.




--


Reply all
Reply to author
Forward
0 new messages