Thanks Julien,
Almost there! PartNH runs fine. I am now stuck with an upstream problem: bppml (so probably not a testNH issue, rather a bpp one)
Bppml crashes while reading the trees:
-----
Input tree.............................: user
DEVEL warning: Node::addSon. Son node already registered! No pb here, but could be a bug in your implementation...
DEVEL warning: Node::addSon. Son node already registered! No pb here, but could be a bug in your implementation...
DEVEL warning: Node::addSon. Son node already registered! No pb here, but could be a bug in your implementation...
Node::addSon(). Empty node given as input.
-----
Ok, so I though this might just be a library version issue. So I updated all the bpp-*, but got the following compilation problem with bpp-seq:
[tristan@umr5023-proasellus bpp-seq] sudo make install
[ 47%] Built target bppseq-shared
[ 95%] Built target bppseq-static
[ 96%] Built target test_alignment_scores
[ 96%] Built target test_alphabets
[ 97%] Built target test_bowker
[ 98%] Built target test_containers
[ 98%] Building CXX object test/CMakeFiles/test_io.dir/test_io.cpp.o
/opt/src/bpp/sources/bpp-seq/test/test_io.cpp: In function ‘int main()’:
/opt/src/bpp/sources/bpp-seq/test/test_io.cpp:52: error: ‘class bpp::Fasta’ has no member named ‘readAlignment’
/opt/src/bpp/sources/bpp-seq/test/test_io.cpp:60: error: ‘class bpp::Mase’ has no member named ‘readAlignment’
/opt/src/bpp/sources/bpp-seq/test/test_io.cpp:62: error: ‘class bpp::Clustal’ has no member named ‘readAlignment’
/opt/src/bpp/sources/bpp-seq/test/test_io.cpp:64: error: ‘class bpp::Phylip’ has no member named ‘readAlignment’
/opt/src/bpp/sources/bpp-seq/test/test_io.cpp:66: error: ‘class bpp::Phylip’ has no member named ‘readAlignment’
make[2]: *** [test/CMakeFiles/test_io.dir/test_io.cpp.o] Erreur 1
make[1]: *** [test/CMakeFiles/test_io.dir/all] Erreur 2
make: *** [all] Erreur 2
Whatever, this might be unrelated, I just skipped this one, and went to recompile bppsuite (v0.7.0, no git repo, right?) with the (almost) latest bpp libraries and got this third nasty one:
[tristan@umr5023-proasellus bppsuite-0.7.0] sudo make install
[ 0%] Built target info
[ 0%] Built target man
[ 9%] Built target bppalnscore
[ 18%] Built target bppancestor
[ 27%] Built target bppconsense
[ 36%] Building CXX object bppSuite/CMakeFiles/bppdist.dir/bppDist.cpp.o
/opt/src/bpp/bppsuite-0.7.0/bppSuite/bppDist.cpp: In function ‘int main(int, char**)’:
/opt/src/bpp/bppsuite-0.7.0/bppSuite/bppDist.cpp:218: error: no matching function for call to ‘bpp::OptimizationTools::buildDistanceTree(bpp::DistanceEstimation&, bpp::AgglomerativeDistanceMethod&, bpp::ParameterList&, bool, bool, std::string&, double&, unsigned int&, bpp::OutputStream*&, bpp::OutputStream*&, unsigned int&)’
/usr/local/include/Bpp/Phyl/OptimizationTools.h:728: note: candidates are: static bpp::TreeTemplate<bpp::Node>* bpp::OptimizationTools::buildDistanceTree(bpp::DistanceEstimation&, bpp::AgglomerativeDistanceMethod&, const bpp::ParameterList&, bool, const std::string&, double, unsigned int, bpp::OutputStream*, bpp::OutputStream*, unsigned int)
/opt/src/bpp/bppsuite-0.7.0/bppSuite/bppDist.cpp:311: error: no matching function for call to ‘bpp::OptimizationTools::buildDistanceTree(bpp::DistanceEstimation&, bpp::AgglomerativeDistanceMethod&, bpp::ParameterList&, bool&, bool, std::string&, double&, unsigned int&, NULL, NULL, int)’
/usr/local/include/Bpp/Phyl/OptimizationTools.h:728: note: candidates are: static bpp::TreeTemplate<bpp::Node>* bpp::OptimizationTools::buildDistanceTree(bpp::DistanceEstimation&, bpp::AgglomerativeDistanceMethod&, const bpp::ParameterList&, bool, const std::string&, double, unsigned int, bpp::OutputStream*, bpp::OutputStream*, unsigned int)
make[2]: *** [bppSuite/CMakeFiles/bppdist.dir/bppDist.cpp.o] Erreur 1
make[1]: *** [bppSuite/CMakeFiles/bppdist.dir/all] Erreur 2
make: *** [all] Erreur 2
Oh well, I am not sure if these compilation crashes are related, but I am surely lost...
--
Tristan