On Mon, 13 Oct 2008, Forum wrote:

> i have some problems with installation on debian etch.
> i have dowload the actual svn and try to compile.
> The petsc and slepc i install as a debian lenny packet also the devs.
> Then i try to compile libmesh with:
> ./configure --enable-slepc --enable-ifem --enable-mpi --enable-amr
> --enable-petsc --enable-shared

Would you look into libmesh_config.h and make sure that everything you
wanted to get turned on was turned on?  Make sure LIBMESH_HAVE_MPI is 
defined, for example.

> /usr/src/libmesh081012/lib/i686-pc-linux-gnu_opt/libmesh.so: undefined
> reference to `void Parallel::isend<int>(unsigned int, std::vector<int,
> std::allocator<int> >&, unsigned int&, unsigned int&, int)'

That shouldn't be - Parallel isend is first declared inline and then
defined in include/parallel/parallel.h.  I notice that the
declaration:

   template <typename T>
   inline void isend (const unsigned int dest_processor_id,
                      std::vector<T> &buf,
                      data_type &type,
                      request &r,
                      const int tag=0);

isn't a literally exact copy of the definition signature:

   template <typename T>
   inline void isend (const unsigned int dest_processor_id,
                      std::vector<T> &buf,
                      MPI_Datatype &type,
                      request &r,
                      const int tag)

But since Parallel::data_type is just a typedef of MPI_Datatype (which
is a typedef of the unsigned int in your error message), that
shouldn't be a problem.  You might try changing it just to make sure,
I suppose.  Let us know if that works; if so I'll change it in SVN, if
not I'll try to think of a better idea.
---
Roy

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to