← Back to team overview

dolfin team mailing list archive

dolfin demo in ubuntu8.10

 

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



Follow ups