<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
I tried configuring it&nbsp; with&nbsp; --with-batch , but I still cannot get past the error (see below)<br><br>&nbsp;./config/configure.py --prefix=/home/amrit/PETSc --with-scalar-type=complex --with-batch --with-cc=/home/amrit/MPI/bin/mpicc --with-fc=/home/amrit/MPI/bin/mpif77<br>===============================================================================<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Configuring PETSc to compile on your system&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>===============================================================================<br>TESTING: configureMPIEXEC from config.packages.MPI(config/BuildSystem/config/pac*******************************************************************************<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNABLE to CONFIGURE with GIVEN OPTIONS&nbsp;&nbsp;&nbsp; (see configure.log for details):<br>-------------------------------------------------------------------------------<br>Must give a default value for known-mpi-shared since executables cannot be run<br>*******************************************************************************<br><br>Thanks for any help.<br><br><br><br><div><hr id="stopSpelling">From: amrit_pou@hotmail.com<br>To: petsc-users@mcs.anl.gov<br>Date: Wed, 7 Sep 2011 23:50:46 +0000<br>Subject: [petsc-users] PETSc config error<br><br>

<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">
<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}

</style>

<div dir="ltr">

<br>I get the following error (down below) when I try to configure PETSc with this command (on a scientific Linux OS) :<br><br>&nbsp;./config/configure.py --prefix=/home/amrit/PETSc --with-scalar-type=complex --with-cc=/home/amrit/MPI/bin/mpicc --with-fc=/home/amrit/MPI/bin/mpif77<br><br>===============================================================================<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Configuring PETSc to compile on your system&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>===============================================================================<br>TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCo*******************************************************************************<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; UNABLE to EXECUTE BINARIES for config/configure.py <br>-------------------------------------------------------------------------------<br>Cannot run executables created with C. If this machine uses a batch system <br>to submit jobs you will need to configure using/configure.py with the additional option&nbsp; --with-batch.<br>&nbsp;Otherwise there is problem with the compilers. Can you compile and run code with your C/C++ (and maybe Fortran) compilers?<br>*******************************************************************************<br><br><br><div><div id="ecxSkyDrivePlaceholder"></div><br>I am sure that fortran and C/C++ compilers are okay on this computer.<br><br>Any help will be appreciated.<br><br>Thanks.<br><br><br></div>                                               </div></div>                                               </div></body>
</html>