Hi Toby,
No luck so far. I stripped the configure flags to the barest minimum i.e.,
./configure --with-trilinos=/Users/biswasengupta/Desktop/tril CC=mpicc
CXX=mpic++ F77=mpif77 --disable-shared
but no joy. It throws the same error i.e.,
4565:step-1 biswasengupta$ make run
Makefile:141: Makefile.dep: No such file or directory
============================ Remaking Makefile.dep
==============debug========= step-1.cc -> step-1.g.o
============================ Linking step-1
Undefined symbols:
"_Zoltan_Set_Param", referenced from:
_setup_zoltan in libml.a(ml_agg_Zoltan.c.o)
_setup_zoltan in libml.a(ml_agg_Zoltan.c.o)
_setup_zoltan in libml.a(ml_agg_Zoltan.c.o)
_setup_zoltan in libml.a(ml_agg_Zoltan.c.o)
_run_zoltan in libml.a(ml_agg_Zoltan.c.o)
_ML_DecomposeGraph_with_Zoltan in libml.a(ml_agg_Zoltan.c.o)
_ML_DecomposeGraph_with_Zoltan in libml.a(ml_agg_Zoltan.c.o)
_ML_DecomposeGraph_with_Zoltan in libml.a(ml_agg_Zoltan.c.o)
"_Zoltan_Destroy", referenced from:
_ML_DecomposeGraph_with_Zoltan in libml.a(ml_agg_Zoltan.c.o)
"_Zoltan_Set_Fn", referenced from:
_setup_zoltan in libml.a(ml_agg_Zoltan.c.o)
_setup_zoltan in libml.a(ml_agg_Zoltan.c.o)
_setup_zoltan in libml.a(ml_agg_Zoltan.c.o)
_setup_zoltan in libml.a(ml_agg_Zoltan.c.o)
"_Zoltan_Initialize", referenced from:
_ML_Operator_BlockPartition in libml.a(ml_op_utils.c.o)
_ML_DecomposeGraph_with_Zoltan in libml.a(ml_agg_Zoltan.c.o)
"_Zoltan_LB_Partition", referenced from:
_run_zoltan in libml.a(ml_agg_Zoltan.c.o)
"_Zoltan_LB_Free_Part", referenced from:
_run_zoltan in libml.a(ml_agg_Zoltan.c.o)
_run_zoltan in libml.a(ml_agg_Zoltan.c.o)
"_Zoltan_Create", referenced from:
_ML_DecomposeGraph_with_Zoltan in libml.a(ml_agg_Zoltan.c.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status
make: *** [step-1] Error 1
I don't get it. I tried this with both the openMPI and the MPICH2 compilers.
Either of these compilers work fine when running Trilinos alone.
Best,
Biswa
>
> On 30 May 2011, at 12:29, Toby D. Young wrote:
>
>>
>> Hi Biswa,
>>
>>> Yes, Trilinos 10.6.4 (mpi version) works fine, independent of deal
>>> II. I have solved a couple of KKT systems using the linear and
>>> non-linear solvers.
>>
>> Ok, that is good to know. Now, remembering I am not a Mac OS X user of
>> deal.II:
>>
>> (i) Some users had problems linking Trilinos when some fortran
>> libraries (wityh MPI) were included (on Mac OS X anyways). Try removing
>> --with-lapack, --with-umfpack, --with-blas from your configure line:
>> start distclean, configure, make.
>>
>> Some users claim link problems go away after these libraries are
>> removed. In any case, for a simpler debug, try the simplest configure
>> line you can think of that uses Trilinos with MPI.
>>
>> Before that, you may want to try to:
>>
>> (ii) Check the output of:
>> idd -d -r step-x
>> where step-x is whatever deal.II example gives you your link errors.
>> All of your libraries should be shown with link targets existing.
>>
>> Does that make sense?
>>
>> Best,
>> Toby
>>
>>
>> --
>> Toby D. Young
>>
>> Assistant Professor Philosophy & Physics
>> Polish Academy of Sciences
>> www: http://www.ippt.gov.pl/~tyoung
>> skype: stenografia
>>
>> _______________________________________________
>> dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii
>
_______________________________________________
dealii mailing list http://poisson.dealii.org/mailman/listinfo/dealii