Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] compiling problems

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] compiling problems


Chronological Thread 
  • From: Alain Jacques <ajs.jacques@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] compiling problems
  • Date: Thu, 14 Jan 2010 20:46:43 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=WqkYORLjj/PTNZNziOjlYbeqBYyBwdwUPAAQhLt4MU6IXorXKfk+gxI/Ie93b/SPTr xjI7By+sfHG7zFasO+cyHVJPsp3rouk4b3uVqb9J/p6b1j2lbY9VN4W4c/DjlojTRwz4 PzM+v1Sn1dG05kURhBAm5zKSMPHXAQSyMF0F4=

Hello Peter,

Configure stops with an error because a test trying to produce a working a.out binary cannot find a suitable dynamic or static libmyriexpress.so for linking. Your mpi cc compiler produces 64bit binaries - EM64T - but he linker only finds 32bit myrinet libraries - /opt/mx/lib32/... So there is a discrepancy between your mpi compilers and its libraries. The reason behind is very specific to your particular environment.
When I look at your configure line, there is an unwanted <space> in --with-mpi-prefix - maybe an editing typo for this message and maybe the reason why the /opt/mpich-mx-intel-1.2.7/lib is not scanned at first for suitable libraries . My prior idea is to find the 64bit libmyriexpress and include its path to the LD_LIBRARY_PATH variable (and check the above typo ... and cleanup your unix environment that contains 32 bit mpi libraries paths). Or another solution is to compile Abinit with 32bit mpicc and mpif90 - again check the --with-mpi-prefix= and make sure that a "which mpicc" and "which mpif90" return a compiler that produces 32bit code.

Furthermore, I am in doubt that Abinit can still work with a version 1 mpich ... maybe the right time for an update to mpich2?

Kind regards,

Alain


On 1/14/10 19:39 PM, Peter Zhilyaev wrote:
9b9be2871001141039n2bbf6054i39f0b607f8a1098e@mail.gmail.com" type="cite">Dear All,

I'm beginner at working with ABINIT and have a problem with compiling abinip. I make ~./configure --enable-mpi="yes" --with -mpi-prefix=/opt/mpich-mx-gcc-1.2.7 after that in configure.log, there is message:

"configure:9494: /opt/mpich-mx-intel-1.2.7/bin/mpicc -V >&5
Intel(R) C Compiler for Intel(R) EM64T-based applications, Version 9.1    Build 20060323 Package ID: l_cc_p_9.1.038
Copyright (C) 1985-2006 Intel Corporation.  All rights reserved.

configure:9498: $? = 0
configure:9521: checking for C compiler default output file name
configure:9543: /opt/mpich-mx-intel-1.2.7/bin/mpicc    conftest.c  >&5
ld: skipping incompatible /opt/mx/lib32/libmyriexpress.so when searching for -lmyriexpress
ld: skipping incompatible /opt/mx/lib32/libmyriexpress.a when searching for -lmyriexpress
/opt/intel/cce/9.1.038/lib/libimf.so: warning: warning: feupdateenv is not implemented and will always fail
configure:9547: $? = 0
configure:9585: result: a.out
configure:9602: checking whether the C compiler works
configure:9612: ./a.out
./a.out: error while loading shared libraries: libmyriexpress.so: cannot open shared object file: No such file or directory
configure:9616: $? = 127
configure:9625: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details."

As I understand from the site, it means that mpi hasn't been connected.

Can you give me a tip about this problem?

Thank you all in advance!

Sincerely yours,

Peter Zhilyaev





Archive powered by MHonArc 2.6.16.

Top of Page