On Fri, May 15, 2009 at 4:56 PM, Tahar Amari <span dir="ltr"><<a href="mailto:amari@cpht.polytechnique.fr">amari@cpht.polytechnique.fr</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I am sorry (I might have missed something)<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
If you want to use C++, you should configure using --with-clanguage=cxx. Then you will get the C++ linker.<br>
</blockquote>
<br></div>
I do not really want to use C++ linker<br>
<br>
I did it with the C Linker and got an error. I do not see where the C++ is now used</blockquote><div><br>You have C++ code in there somewhere. It is hard to see what is going on since we do not have the source.<br><br> Matt<br>
</div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>
Tahar<div class="im"><br>
<br>
cc -o mh4d mh4d.o petsc.o comm.o setbc.o local.o gridutil.o mympi.o terminator.o operator.o shellsort.o edge.o side.o vertex.o tetrahedron.o rotation.o tetrahedralgrid.o field.o -I/usr/local/hdf/HDF4.2r1/include -L/usr/local/hdf/HDF4.2r1/lib -lmfhdf -ldf -lsz -ljpeg -lz -L/usr/local/petsc/macx/lib -lpetscsnes -lpetscvec -lpetscmat -lpetsccontrib -lpetscts -lpetscdm -lpetscksp -lpetsc -lmpich -lmpichcxx -lpmpich -lfmpich -lmpichf90 -lparmetis -lmetis -lfblas -lflapack -L/usr/X11R6/lib -lX11 -lXt -lXext -lX11 -L/usr/local/petsc/macx/lib -lpetscsnes -lpetscvec -lpetscmat -lpetsccontrib -lpetscts -lpetscdm -lpetscksp -lpetsc -lmpich -lmpichcxx -lpmpich -lfmpich -lmpichf90 -lparmetis -lmetis -lfblas -lflapack<br>
Undefined symbols:<br>
"std::basic_ostringstream<char, std::char_traits<char>, std::allocator<char> >::basic_ostringstream(std::_Ios_Openmode)", referenced from:<br>
PetscErrorCxx(int, char const*, char const*, char const*, int, int)in libpetsc.a(err.o)<br>
PETSc::Exception::Exception(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libpetsc.a(err.o)<br>
"_for_stop_core", referenced from:<br>
_advmom_cv_ in mh4d.o<br>
_advmom_cv_ in mh4d.o<br>
_advmom_cv_ in mh4d.o<br>
_terminators_mp_terminator_ in terminator.o<br>
_terminators_mp_terminator_all_ in terminator.o<br>
_tetrahedralgrid_mod_mp_zero_bndr_tvv_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_zero_bndr_tvv_ in tetrahedralgrid.o<br></div>
_tetrahedralgrid_mod_mp_idnt_bndr_tvv_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_idnt_bndr_tvv_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_v2v_operator_bc_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_v2v_operator_bc_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_tvvaxpy_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_tvvaxpy_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_v2v_scalar_bc_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_v2v_scalar_bc_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_zero_bndr_tvs_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_zero_bndr_tvs_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_v2v_operator_bc0_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_v2v_operator_bc0_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_v2v_operator_bct_ in tetrahedralgrid.o<br>
_tetrahedralgrid_mod_mp_v2v_operator_bct_ in tetrahedralgrid.o<br>
_xerbla_ in libfblas.a(xerbla.o)<br>
"_for_exit", referenced from:<br>
_tetrahedralgrid_mod_mp_partition_tetragrid_ in tetrahedralgrid.o<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>