<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I changed CLINKER to g++ and the symbols where found. <div><br></div><div><br></div><div>Now I have other remaining errors which seams to be link with some petsc fortran ?</div><div>Do you have any idea please where (which petsc library) those symbols are supposed to be in ?</div><div><br></div><div>Many thanks</div><div><br></div><div>Tahar</div><div><br></div><div><div>Undefined symbols:</div><div> "_for_stop_core", referenced from:</div><div> _advmom_cv_ in mh4d.o</div><div> _advmom_cv_ in mh4d.o</div><div> _advmom_cv_ in mh4d.o</div><div> _terminators_mp_terminator_ in terminator.o</div><div> _terminators_mp_terminator_all_ in terminator.o</div><div> _tetrahedralgrid_mod_mp_zero_bndr_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_zero_bndr_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_idnt_bndr_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_idnt_bndr_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_v2v_operator_bc_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_v2v_operator_bc_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_tvvaxpy_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_tvvaxpy_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_v2v_scalar_bc_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_v2v_scalar_bc_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_zero_bndr_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_zero_bndr_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_v2v_operator_bc0_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_v2v_operator_bc0_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_v2v_operator_bct_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_v2v_operator_bct_ in tetrahedralgrid.o</div><div> _xerbla_ in libfblas.a(xerbla.o)</div><div> "_for_exit", referenced from:</div><div> _tetrahedralgrid_mod_mp_partition_tetragrid_ in tetrahedralgrid.o</div><div> "_for_write_seq", referenced from:</div><div> _wrrsfile_ in mh4d.o</div><div> _wrrsfile_ in mh4d.o</div><div> _wrrsfile_ in mh4d.o</div><div> _tetrahedralgrid_mod_mp_save_tcs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvs_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tcv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_save_tvv_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_write_tetragrid_data_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_write_tetragrid_data_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_write_tetragrid_data_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_write_tetragrid_data_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_write_tetragrid_data_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_write_tetragrid_data_ in tetrahedralgrid.o</div><div> _tetrahedralgrid_mod_mp_write_tetragrid_data_ in tetrahedralgrid.o</div><div> "_for_check_mult_overflow", referenced from:</div><div><br></div></div><div><br></div><div><br></div><div><br><div><div>Le 16 mai 09 à 00:00, Matthew Knepley a écrit :</div><br class="Apple-interchange-newline"><blockquote type="cite">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> </blockquote></div><br></div></body></html>