dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #12716
Re: dolfin demo in ubuntu8.10
Hi,
I'm not sure but it seems that your default MPI implementation is not Open
MPI. What do you get if you type in
update-alternatives --display mpi
?
If it does not point to Open MPI, run
update-alternatives --config mpi
and select the Open MPI alternative from the list.
Johannes
On Mon, March 16, 2009 10:35, Zongyuan Gu wrote:
> hi,
> I installed dolfin following the http://www.fenics.org/wiki/Download in
> my ubuntu8.10. But when i want to compile the first demo of
> dolfin(poisson), some error occur:
>
> ----------------------------------------------------------------------------
> gu@gu-laptop:~/dolfin-doc/demo/pde/poisson/cpp$ scons
> scons: Reading SConscript files ...
> scons: done reading SConscript files.
> scons: Building targets ...
> mpic++ -o demo -pthread -Wl,--export-dynamic main.o -L/usr/lib/atlas
> -L/usr/lib/petscdir/2.3.3/lib/linux-gnu-c-opt -ldolfin -lumfpack -lpetscts
> -lpetscsnes -lpetscksp -lpetscdm -lpetscmat -lpetscvec -lpetsc -llapack
> -lblas -lcholmod -lamd -lcolamd -lgts -lxml2 -lgthread-2.0 -lrt
> -lgmodule-2.0 -lglib-2.0
> /usr/lib/libmpi_f77.so.0: undefined reference to
> `ompi_fortran_multiple_argvs_f2c'
> /usr/lib/libmpi_f90.so.0: undefined reference to `mpi_wtick_f90_'
> /usr/lib/libmpi_f77.so.0: undefined reference to `ompi_fortran_string_f2c'
> /usr/lib/libmpi_f77.so.0: undefined reference to `ompi_fortran_argv_f2c'
> /usr/lib/libmpi_f77.so.0: undefined reference to `ompi_fortran_string_c2f'
> /usr/lib/libmpi_f90.so.0: undefined reference to `mpi_wtime_f90_'
> collect2: ld returned 1 exit status
> scons: *** [demo] Error 1
> scons: building terminated because of errors.
> -------------------------------------------------------------------------
> Can you help to slove this problem?
> Thank you
>
>
> --
> Zongyuan Gu
> Computational Science and Engineering
> Department of Mathematical Science
> Chalmers University of Technology
> Mobile Phone:0046 70 443 9283
>
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev
>
References