[petsc-users] PETSc config error

amrit poudel amrit_pou at hotmail.com
Wed Sep 7 21:06:41 CDT 2011


Thanks Jade. That worked out fine. But I am running into another problem now.  The error is shown below. I am not sure why it says no such file or directory.


-bash-3.2$ ./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 --known-mpi-shared=1 --download-f-blas-lapack=1

===============================================================================
             Configuring PETSc to compile on your system                       
===============================================================================
===============================================================================       
Compiling FBLASLAPACK; this may take several minutes                      =============================================================================== =================================================================================
    Since your compute nodes require use of a batch system or mpiexec you must:  
 1) Submit ./conftest to 1 processor of your batch system or system you are      
    cross-compiling for; this will generate the file reconfigure.py              
 2) Run ./reconfigure.py (to complete the configure process).                    
=================================================================================

-bash-3.2$ ./conftest
./conftest: error while loading shared libraries: libmpi.so.0: cannot open shared object file: No such file or directory



Date: Thu, 8 Sep 2011 03:14:35 +0200
From: jedbrown at mcs.anl.gov
To: petsc-users at mcs.anl.gov
Subject: Re: [petsc-users] PETSc config error

On Thu, Sep 8, 2011 at 03:13, amrit poudel <amrit_pou at hotmail.com> wrote:

This is what I have in /lib, and by looking at libmpi.so, I believe I have a shared library.  Would you recommend building a static library for open mpi or is shared library okay?
Shared is usually fine. Just add --known-mpi-shared=1 to the configure line you ran before. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20110908/d74927a0/attachment.htm>


More information about the petsc-users mailing list