← Back to team overview

dolfin team mailing list archive

Re: A question about installation of dolphin

 

On Thu, Feb 07, 2008 at 12:55:25PM +0100, Jiping Xin wrote:
> Hello,
> 
> I have one question. When i installed Dolphin, i get the following
> results. Would you please tell me what is the problem? I have installed
> lam in $HOME/builds. Thanks.
> 
> Best regards,
> Jiping
> 
> In file included from /chalmers/users/jiping/builds/include/mpicxx.h:72,
>                  from /chalmers/users/jiping/builds/include/mpi.h:1081,
>                  from
> /chalmers/users/jiping/downloads/src/petsc-2.3.2-p8/include/petsc.h:95,
>                  from ../../../src/kernel/la/dolfin/PETScManager.h:20,
>                  from ../../../src/kernel/la/dolfin/PETScVector.h:18,
>                  from ../../../src/kernel/la/dolfin/Vector.h:12,
>                  from ../../../src/kernel/io/dolfin/File.h:15,
>                  from ../../../src/kernel/mesh/dolfin/MeshFunction.h:13,
>                  from ./dolfin/Assembler.h:15,
>                  from assemble.cpp:7:
> /chalmers/users/jiping/builds/include/mpi2cxx/pmpicxx.h:77: error: extra `;'
> mpic++: No such file or directory
> make[4]: *** [assemble.lo] Error 1
> make[4]: Leaving directory
> `/chalmers/users/jiping/downloads/src/fenics/dolfin-0.7.1/src/kernel/fem'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/chalmers/users/jiping/downloads/src/fenics/dolfin-0.7.1/src/kernel/fem'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/chalmers/users/jiping/downloads/src/fenics/dolfin-0.7.1/src/kernel'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory
> `/chalmers/users/jiping/downloads/src/fenics/dolfin-0.7.1/src'
> make: *** [all-recursive] Error 1

Do you need to run in parallel? If not, I suggest first compiling without
MPI and without PETSc (which will make DOLFIN use uBLAS for linear
algebra). Then you can move on to using PETSc + MPI when you need it.

For MPI, I'd recommend using OpenMPI (http://www.open-mpi.org/). It
usually gives me less trouble to install than mpich.

-- 
Anders


References