Hi,<br><br>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:<br><br>*******************************************************************************<br>
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):<br>-------------------------------------------------------------------------------<br>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":<br>
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'<br>
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<br><br>-----------------<br><br><br>/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<br>
mkdir: cannot create directory `conftest': File exists<br>/export/home/modhurit/soft/petsc-3.2-p5/externalpackages/mpich2-1.4.1p1/src/mpl/configure: line 7877: cd: conftest: Not a directory<br>mkdir: cannot create directory `out': File exists<br>
<br>------------------<br><br>/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<br>cat: confdefs.h: No such file or directory<br>
configure: error: Version information not found. Configuration aborted.<br>configure: error: MPL configure failed<br>*******************************************************************************<br><br>--------------------<br>
<br> File "/export/home/modhurit/soft/petsc-3.2-p5/config/BuildSystem/config/packages/MPI.py", line 528, in InstallMPICH<br> raise RuntimeError('Error running configure on MPICH: '+str(e))<br><br>--------------------<br>
<br>What might be going wrong? <br><br>Thanks,<br>Modhurita<br>