Thank you Dr. Bangerth,

That was the problem. I removed the mpicc/mpi* under /usr/local/bin the
configure error is fixed.
Now the compilation is okay but linking failed because of library names are
different:

g++: error: /usr/lib/*libtrilinos_trilinos_msqutil.so*: No such file or
directory
...
the system installed lib names existing are:
*/usr/lib/libtrilinos_msqutil.so*
...

I need create soft links to make it available to deal.II settings, wondering
why the naming is so long, maybe that is because of trilinos itself but
debian made it simple.

Sincerely,
Jichao

*Jichao Yin*
Email: [email protected]
LinkedIn: http://www.linkedin.com/in/jichao


On Mon, Oct 17, 2011 at 9:35 AM, Wolfgang Bangerth
<[email protected]>wrote:

>
> > Attached is the config.log
>
> This is the critical part of the log file:
> .............................................
> configure:12691: /usr/local/bin/mpiCC  -o conftest
> -I/usr/include/suitesparse
> -DHAVE_ISNAN  -DBOOST_NO_HASH -DBOOST_NO_SLIST -O2 -funroll-loops -funroll-
> all-loops -fstrict-aliasing -Wuninitialized -felide-constructors
> -ftemplate-
> depth-128 -std=c++0x -fPIC -
> I/home/jyin1/svn/deal.II/contrib/boost-1.46.1/include -
> I/usr/include/suitesparse -
> I/home/jyin1/svn/deal.II/contrib/boost-1.46.1/include   -Wl,-
> rpath,/home/jyin1/svn/deal.II/lib  -lpthread -rdynamic -L/usr/lib -Wl,-
> rpath,/usr/lib conftest.cpp -lamd   >&5
>
> /usr/lib/libmpi.so: undefined reference to `MPL_trid'
> /usr/lib/libmpi.so: undefined reference to `MPL_trvalid'
> /usr/lib/libmpi.so: undefined reference to `MPL_env2int'
> [...]
> ............................................
>
> I do not know where the MPL_xxx functions come from. My best guess is that
> you
> are using /usr/local/bin/mpiCC to compile but that this compiler does not
> match the library /usr/lib/libmpi.so that is linked in (note that one is in
> /usr/local and the other in /usr) and that mpiCC therefore forgets to put
> the
> necessary library with the MPL_xxx functions onto the command line. I have
> no
> idea what exactly happens, though.
>
> Best
>  WB
>
> -------------------------------------------------------------------------
> Wolfgang Bangerth                email:            [email protected]
>                                 www: http://www.math.tamu.edu/~bangerth/
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii

Reply via email to