Hi David, hope things are going well in Barcelona.

Try running "file" on one of the mpiblast object files in the src 
directory, for example:
`file mpiblast-mpiblast.o`

If mpiblast-mpiblast.o is 64-bit then that would explain why a 32-bit 
ncbi library won't link with it...

-Aaron

David Garcia Cortes wrote:
> Hi, Joe.
>
> Thanks for your answer. I tried with the "file" command with the 2 files
> you said and these are the results:
>
> file /gpfs/projects/bsc05/programs/ncbi/lib//libncbitool.a
> /gpfs/projects/bsc05/programs/ncbi/lib//libncbitool.a: current ar archive
>
> file /gpfs/projects/bsc05/programs/ncbi/build/ncbithr.o
> /gpfs/projects/bsc05/programs/ncbi/build/ncbithr.o: ELF 32-bit MSB
> relocatable, PowerPC or cisco 4500, version 1 (SYSV), not stripped
>
> But i don't know how to interpret it.
>
> Any idea on what could I do to solve the compilation problem?
>
> Thank you very much.
>
>
> Joe Landman wrote:
>   
>> 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 ...
>>
>>   
>>
>>   
>>     
>
>
>   


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mpiblast-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mpiblast-users

Reply via email to