[petsc-users] PETSc config error

amrit poudel amrit_pou at hotmail.com
Wed Sep 7 19:01:04 CDT 2011


I tried configuring it  with  --with-batch , but I still cannot get past the error (see below)

 ./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
===============================================================================
             Configuring PETSc to compile on your system                       
===============================================================================
TESTING: configureMPIEXEC from config.packages.MPI(config/BuildSystem/config/pac*******************************************************************************
         UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
-------------------------------------------------------------------------------
Must give a default value for known-mpi-shared since executables cannot be run
*******************************************************************************

Thanks for any help.



From: amrit_pou at hotmail.com
To: petsc-users at mcs.anl.gov
Date: Wed, 7 Sep 2011 23:50:46 +0000
Subject: [petsc-users] PETSc config error










I get the following error (down below) when I try to configure PETSc with this command (on a scientific Linux OS) :

 ./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

===============================================================================
             Configuring PETSc to compile on your system                       
===============================================================================
TESTING: checkCCompiler from config.setCompilers(config/BuildSystem/config/setCo*******************************************************************************
                    UNABLE to EXECUTE BINARIES for config/configure.py 
-------------------------------------------------------------------------------
Cannot run executables created with C. If this machine uses a batch system 
to submit jobs you will need to configure using/configure.py with the additional option  --with-batch.
 Otherwise there is problem with the compilers. Can you compile and run code with your C/C++ (and maybe Fortran) compilers?
*******************************************************************************



I am sure that fortran and C/C++ compilers are okay on this computer.

Any help will be appreciated.

Thanks.


 		 	   		   		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110908/d17be810/attachment.htm>


More information about the petsc-users mailing list