I am trying to install fenics using dorsal for Ubuntu 9.10: ./dorsal.sh platforms/karmic.platform. But I got the following error:
Unpacking petsc-3.0.0-p8
Building petsc-3.0.0-p8
=================================================================================
Configuring PETSc to compile on your system
=================================================================================
/afs/nada.kth.se/home/x/u18gh7kx/data/Work/FEniCS_lp/petsc-3.0.0-p8/config/BuildSystem/config/compilers.py:7: DeprecationWarning: the sets module is deprecated
import sets
/afs/nada.kth.se/home/x/u18gh7kx/data/Work/FEniCS_lp/petsc-3.0.0-p8/config/PETSc/package.py:7: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
/afs/nada.kth.se/home/x/u18gh7kx/data/Work/FEniCS_lp/petsc-3.0.0-p8/config/BuildSystem/script.py:101: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
import popen2
================================================================================= WARNING! Compiling PETSc with no debugging, this should only be done for timing and production runs. All development should be done when configured using --with-debugging=1 ================================================================================= TESTING: check from config.libraries(config/BuildSystem/config/libraries.py:126) *********************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
---------------------------------------------------------------------------------------
You must specify a path for MPI with --with-mpi-dir=<directory>
If you do not want MPI, then give --with-mpi
*********************************************************************************
Failure with exit status: 1
Exit message: There was a problem in build setup for petsc-3.0.0-p8.
Any help?
murtazo