hi Ted

i installed Libmesh+Petsc in my ubuntu x86 machine ...here are the steps i
followed in order to install all these stuff. just copy-paste each line to a
terminal window:

PETSC:
-----------
    export PETSC_DIR=/home/Xuser/Programs/petsc-2.3.3-p15
    config/./configure.py --with-cc=gcc --with-fc=gfortran
--with-mpi-compilers=1 --with-mpi-dir=/usr/local --with-shared=1
--download-f-blas-lapack=ifneeded --with-superlu=1 --download-superlu=1
--with-superlu_dist=1 --download-superlu_dist=1 --with-umfpack=1
--download-umfpack=1 --with-spooles=1 --download-spooles=1 --with-hypre=1
--download-hypre=1 --with-debugging=0
    export PETSC_ARCH=linux-gnu-c-opt
    make all test

LIBMESH:
---------------
    export METHOD=opt
    export libmesh_CXXFLAGS=-DMPICH_SKIP_MPICXX
    ./configure --enable-everything --with-vtk-lib=/usr/local/lib/vtk-5.2
--with-vtk-include=/usr/local/include/vtk-5.2
    make
    make examples
    make run_examples


cheers

Vasilis

















2009/7/29 Ted Kord <[email protected]>

> Hi
>
> I realise that this is probably trivial to most of you but I'd appreciate
> it
> if you could help me out.
>
> My systems Ubuntu 9.04. Installed libmesh, petsc, etc from the repository.
> Tried to compile the examples and this is what I get:
>
> /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libmesh.so: undefined
> reference to `MPI::Win::Set_errhandler(MPI::Errhandler const&)'
> /usr/lib/gcc/i486-linux-gnu/4.3.3/../../../../lib/libmesh.so: undefined
> reference to `MPI::Comm::Set_errhandler(MPI::Errhandler const&)'
> collect2: ld returned 1 exit status
>
> I've tried compiling libmesh from source, I've also installed the latest
> openmpi build (1.3.3) but I still get the same result.
>
> I'd very much appreciate it if someone could point out how I can resolve
> this.
>
> Thanks
>
> Ted
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Libmesh-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/libmesh-users
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Libmesh-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libmesh-users

Reply via email to