[petsc-users] Problems with configure
Barry Smith
bsmith at mcs.anl.gov
Sat Dec 17 18:11:27 CST 2011
Please send configure.log from the PETSc directory to petsc-maint at mcs.anl.gov
Barry
On Dec 17, 2011, at 6:05 PM, Modhurita Mitra wrote:
> Hi,
>
> I am trying to install PETSc while downloading MPICH, but I am facing problems running the configure script. Some errors from the configure.log file are:
>
> *******************************************************************************
> UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
> -------------------------------------------------------------------------------
> Error running configure on MPICH: Could not execute "cd /export/home/modhurit/soft/petsc-3.2-p5/externalpackages/mpich2-1.4.1p1 && ./configure --prefix=/export/home/modhurit/soft/petsc-3.2-p5/arch-linux2-c-debug CC="gcc" CFLAGS=" -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 " --disable-cxx --disable-fc F77="g77" FFLAGS=" -Wall -Wno-unused-variable -g " --with-device=ch3:sock --without-mpe --with-pm=hydra --enable-g=meminit --enable-fast":
> Configuring MPICH2 version 1.4.1p1 with '--prefix=/export/home/modhurit/soft/petsc-3.2-p5/arch-linux2-c-debug' 'CC=gcc' 'CFLAGS= -Wall -Wwrite-strings -Wno-strict-aliasing -Wno-unknown-pragmas -g3 ' '--disable-cxx' '--disable-fc' 'F77=g77' 'FFLAGS= -Wall -Wno-unused-variable -g ' '--with-device=ch3:sock' '--without-mpe' '--with-pm=hydra' '--enable-g=meminit' '--enable-fast'
> Running on system: Linux faraday 2.6.18-194.26.1.el5 #1 SMP Tue Nov 9 12:54:40 EST 2010 i686 i686 i386 GNU/Linux
>
> -----------------
>
>
> /export/home/modhurit/soft/petsc-3.2-p5/externalpackages/mpich2-1.4.1p1/src/mpl/configure: line 7850: /scr/faraday/modhurit/matlab/RM: is a directory
> mkdir: cannot create directory `conftest': File exists
> /export/home/modhurit/soft/petsc-3.2-p5/externalpackages/mpich2-1.4.1p1/src/mpl/configure: line 7877: cd: conftest: Not a directory
> mkdir: cannot create directory `out': File exists
>
> ------------------
>
> /export/home/modhurit/soft/petsc-3.2-p5/externalpackages/mpich2-1.4.1p1/src/mpl/configure: line 7913: /scr/faraday/modhurit/matlab/RM: is a directory
> cat: confdefs.h: No such file or directory
> configure: error: Version information not found. Configuration aborted.
> configure: error: MPL configure failed
> *******************************************************************************
>
> --------------------
>
> File "/export/home/modhurit/soft/petsc-3.2-p5/config/BuildSystem/config/packages/MPI.py", line 528, in InstallMPICH
> raise RuntimeError('Error running configure on MPICH: '+str(e))
>
> --------------------
>
> What might be going wrong?
>
> Thanks,
> Modhurita
More information about the petsc-users
mailing list