Thanks for the info! I did have a slightly older version of mpich2
installed, however, it had issues with the intel compiler and would
not create executables. So, I downloaded the latest version, built it
(dynamically) and then the MPI_Address problem was solved by using
mpicc and mpicxx.

You were correct, the libraries were 32-bit, so I went through the
configure file to ensure it looked at /usr/lib64 vs. /usr/lib.

Thank you!
Andrea

On Mon, Jun 2, 2008 at 11:59 AM, John Peterson <[EMAIL PROTECTED]> wrote:
> Hi,
>
> If you have an MPI installation, such as mpich, you might try
> compiling with the mpicc and mpicxx scripts instead of icc.  I'm a
> little worried about your
>
>  undefined reference to `MPI_Address'
>
> error message.  It means that configure found MPI but couldn't link
> against it.
>
> I'm also not sure why it's skipping so many "incompatible" libraries.
> Is it possible they are 32bit libraries even though you are on an
> x86_64 machine?  (This is just a wild guess...)
>
> -J
>
>
>
>
> On Mon, Jun 2, 2008 at 11:52 AM, Andrea Hawkins <[EMAIL PROTECTED]> wrote:
>> I have recently downloaded the svn version of libmesh and am trying to
>> build it on and ICES machine.
>>
>> I have used the following line to configure:
>>
>> CXX=icc CC=icc F77=ifc ./configure --enable-everything --enable-second
>>
>> In the make, I get an error regarding the TR1_UNORDERED_MAP, so I have
>> just undefined that. Then, when I make I get the following error:
>>
>>
>> ----------------------------------------------
>> ----- Done Building Contributed Packages -----
>> ----------------------------------------------
>> make[1]: Leaving directory `/h1/ahawkins/LIBRARIES/libmesh/contrib'
>> Building bin/amr
>> ld: skipping incompatible /usr/lib/libz.so when searching for -lz
>> ld: skipping incompatible /usr/lib/libz.a when searching for -lz
>> ld: skipping incompatible /usr/lib/libvtkIO.so when searching for -lvtkIO
>> ld: skipping incompatible /usr/lib/libvtkCommon.so when searching for
>> -lvtkCommon
>> ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11
>> ld: skipping incompatible /usr/lib/liblapack.so when searching for -llapack
>> ld: skipping incompatible /usr/lib/liblapack.a when searching for -llapack
>> ld: skipping incompatible /usr/lib/libblas.so when searching for -lblas
>> ld: skipping incompatible /usr/lib/libblas.a when searching for -lblas
>> ld: skipping incompatible /usr/lib/libm.so when searching for -lm
>> ld: skipping incompatible /usr/lib/libm.a when searching for -lm
>> ld: skipping incompatible /usr/lib/libc.so when searching for -lc
>> ld: skipping incompatible /usr/lib/libc.a when searching for -lc
>> ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
>> ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
>> ld: skipping incompatible /usr/lib/libc.so when searching for -lc
>> ld: skipping incompatible /usr/lib/libc.a when searching for -lc
>> /h1/ahawkins/LIBRARIES/libmesh/lib/x86_64-unknown-linux-gnu_opt/libmesh.so:
>> undefined reference to `MPI_Address'
>> make: *** [bin/amr] Error 1
>>
>>
>> It appears that the make has gone far enough that I should be able to
>> make the examples. So I next try:
>>
>> cayley $ make run_examples
>> make[1]: Entering directory `/h1/ahawkins/LIBRARIES/libmesh/examples'
>> make[2]: Entering directory `/h1/ahawkins/LIBRARIES/libmesh/examples/ex0'
>> Compiling C++ (in optimized mode) ex0.C...
>> Linking ex0-opt...
>> ld: skipping incompatible /usr/lib/libz.so when searching for -lz
>> ld: skipping incompatible /usr/lib/libz.a when searching for -lz
>> ld: skipping incompatible /usr/lib/libvtkIO.so when searching for -lvtkIO
>> ld: skipping incompatible /usr/lib/libvtkCommon.so when searching for
>> -lvtkCommon
>> ld: skipping incompatible /usr/lib/libX11.so when searching for -lX11
>> ld: skipping incompatible /usr/lib/liblapack.so when searching for -llapack
>> ld: skipping incompatible /usr/lib/liblapack.a when searching for -llapack
>> ld: skipping incompatible /usr/lib/libblas.so when searching for -lblas
>> ld: skipping incompatible /usr/lib/libblas.a when searching for -lblas
>> ld: skipping incompatible /usr/lib/libm.so when searching for -lm
>> ld: skipping incompatible /usr/lib/libm.a when searching for -lm
>> ld: skipping incompatible /usr/lib/libc.so when searching for -lc
>> ld: skipping incompatible /usr/lib/libc.a when searching for -lc
>> ld: skipping incompatible /usr/lib/libdl.so when searching for -ldl
>> ld: skipping incompatible /usr/lib/libdl.a when searching for -ldl
>> ld: skipping incompatible /usr/lib/libc.so when searching for -lc
>> ld: skipping incompatible /usr/lib/libc.a when searching for -lc
>> /h1/ahawkins/LIBRARIES/libmesh/lib/x86_64-unknown-linux-gnu_opt/libmesh.so:
>> undefined reference to `MPI_Address'
>> make[2]: *** [ex0-opt] Error 1
>> make[2]: Leaving directory `/h1/ahawkins/LIBRARIES/libmesh/examples/ex0'
>> make[1]: *** [run] Error 1
>> make[1]: Leaving directory `/h1/ahawkins/LIBRARIES/libmesh/examples'
>> make: *** [run_examples] Error 2
>>
>>
>> I am unsure what I should do to avoid this error.
>>
>> I am using the 10.0.023 intel compiler.
>>
>> Thanks,
>> Andrea
>>
>> -------------------------------------------------------------------------
>> This SF.net email is sponsored by: Microsoft
>> Defy all challenges. Microsoft(R) Visual Studio 2008.
>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
>> _______________________________________________
>> Libmesh-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>>
>

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to