[petsc-users] Reg :PETSc Build error with mpi option

Barry Smith bsmith at mcs.anl.gov
Tue May 26 07:32:51 CDT 2015


   As the message says: --download-mpich doesn't work under windows. You first need to install MPICH then use that installed version with PETSc. Note that --with-mpich is not a valid option; the option is --with-mpi-dir=/pathtowhereyouinstalledMPI


> On May 26, 2015, at 6:42 AM, Manish Kumar K <Manishkumar.K at LntTechservices.com> wrote:
> 
> Hi PETSc Team,
>  
>                   Greetings of the day!
>  
> I am facing error while building building PETSc using mpich option
>  
> Please let me know where am I going wrong .
>  
>  
> 20063086 at BLRMIESPC-745 /package/petsc-3.5.3
>  
> $ ./configure --with-cc=gcc --with-cxx=g++ --download-mpich="D:/Software/cygwin/package/extpack/mpich-3.1.4" --download-fblaslapack="D:/Software/cygwin/package/                                            extpack/fblaslapack.tar.gz" --with-batch
> ===============================================================================
>              Configuring PETSc to compile on your system
> ===============================================================================
>       Running configure on MPICH; this may take several minutes                                                    
>    ===============================================================================                                                                                                                                                                         *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for details):
> -------------------------------------------------------------------------------
> Error running configure on MPICH.
>    On Microsoft Windows systems, please obtain and install the binary distribution from
>      http://www.mcs.anl.gov/mpi/mpich/mpich-nt
>    then rerun configure.
>    If you choose to install MPICH to a location other than the default, use
>      --with-mpi-dir=<directory>
>    to specify the location of the installation when you rerun configure.
> *******************************************************************************
>  
>  
> The following command also gives me same error
>  
> $ ./configure --with-cc=gcc --with-cxx=g++ --with-mpich=/cygdrive/D/Software/cygwin/package/extpack/mpich-3.1.4.tar.gz  --with-fblaslapack=/cygdrive/D/Software/cygwin/package/                                            extpack/fblaslapack.tar.gz --with-batch
>  
> Help me out rectifying my build issue.
>  
>  
> Thanks & Regards
> Manish K
>  
>  
> L&T Technology Services Ltd
> 
> www.LntTechservices.com
> 
> This Email may contain confidential or privileged information for the intended recipient (s). If you are not the intended recipient, please do not use or disseminate the information, notify the sender and delete it from your system.
> 



More information about the petsc-users mailing list