disk space requirement for mpich2 during PETSc library compilation

Barry Smith bsmith at mcs.anl.gov
Sat Jan 13 09:01:02 CST 2007


  Ben,

  This is partially our fault. We never run "make clean" on MPICH after the 
install so there are lots of .o and .a files lying around. I've updated
BuildSystem/config/packages/MPI.py to run make clean after the install.

   Barry

On Sat, 13 Jan 2007, Aron Ahmadia wrote:

> Hi Ben,
> 
> My PETSc install on an OS X machine requires about 343 MB of space,
> about 209 MB of which is MPICH.  Unfortunately this has the potential
> of exceeding 500 MB temporarily I believe as the make process
> generates a lot of object files during the software build.
> 
> I think what you want to do is compile and install your own copy of
> MPICH (using a scratch directory or whatever tools you have at your
> disposal), then use the --with-mpi-dir=/location/to/mpich/install
> argument into configure.
> 
> I've never staged a PETSc build on a machine with an extremely limited
> quota, the developers might have some suggestions on how to do this.
> 
> ~A
> 
> On 1/13/07, Ben Tay <zonexo at gmail.com> wrote:
> > Hi,
> > 
> > I am trying to compile PETSc with mpi using --download-mpich=1 in linux. The
> > command is
> > 
> > 
> > 
> > ./config/configure.py
> > --with-fc=/lsftmp/g0306332/inter/fc/bin/ifort
> > --with-blas-lapack-dir=/lsftmp/g0306332/inter/mkl/
> > --download-mpich=1 --with-x=0 --with-shared
> > 
> > It displays:
> > 
> > =================================================================================
> > Running configure on MPICH; this may take several
> > minutes
> > =================================================================================
> > =================================================================================
> > Running make on MPICH; this may take several
> > minutes
> > =================================================================================
> > 
> > then it says disk quota exceeded. I've about 450mb free space, which is all
> > filled up when the error shows. May I know how much disk space is required?
> > 
> > Also can I compile just mpich on a scratch directory and then moved it to
> > the PETSc externalpackages directory? Or do I have to compile everything
> > (including PETSc) on a scratch directory and moved it my my directory?
> > 
> > thank you.
> 
> 




More information about the petsc-users mailing list