Greetings David:

David Garcia Cortes wrote:

> and executed "make". Everything seems to be compiling OK, until I
> obtaing this error:
> 
> mpicxx -DINSTALL_PREFIX="\"/usr/local\""  -g   -o mpiblast 
> mpiblast-blastjob.o mpiblast-db_spec.o mpiblast-blast_hooks.o
> mpiblast-file_util.o mpiblast-fragment_list.o mpiblast-mpiblast_util.o
> mpiblast-mpiblast.o mpiblast-mpiblast_config.o
> mpiblast-distributed_bioseq.o mpiblast-mpi_util.o
> /gpfs/projects/bsc05/programs/ncbi/build/ncbithr.o  -lncbitool -lncbiobj
> -lncbi -L/gpfs/projects/bsc05/programs/ncbi/lib/  -lm -lpthread
> /usr/bin/ld: skipping incompatible
> /gpfs/projects/bsc05/programs/ncbi/lib//libncbitool.a when searching for
> -lncbitool
> /usr/bin/ld: cannot find -lncbitool
> make[2]: *** [mpiblast] Error 1
> make[2]: Leaving directory
> `/gpfs/projects/bsc05/programs/mpiblast-1.4.0/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory
> `/gpfs/projects/bsc05/programs/mpiblast-1.4.0/src'
> make: *** [all-recursive] Error 1
> 
> I don't understand why
> /gpfs/projects/bsc05/programs/ncbi/lib//libncbitool.a is incompatible,
> since I followed the installation instructions and used the proper
> versions and patches.
> 
> Could you help me? thank you.

Some MPI implementations are setup as dynamically linked, and may be
looking for .so libraries rather than .a libraries.  I am not sure this
is the reason why, but it might be worth looking into.

More likely, you have two incompatible ABIs, that is one might be
compiled PPC64 and the other PPC32 or similar.  I would suggest using
the file command against
/gpfs/projects/bsc05/programs/ncbi/lib//libncbitool.a to see which ABI
it is, and compare that to
/gpfs/projects/bsc05/programs/ncbi/build/ncbithr.o .  If they are
different, then it is a good thing they are not being linked together ...

> 

-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: [EMAIL PROTECTED]
web  : http://www.scalableinformatics.com
phone: +1 734 786 8423
fax  : +1 734 786 8452 or +1 866 888 3112
cell : +1 734 612 4615

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mpiblast-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mpiblast-users

Reply via email to