[petsc-users] How can PETSc configure with MSMPI

Satish Balay balay at mcs.anl.gov
Fri Jan 31 14:05:56 CST 2014


Try:
--with-mpi-lib="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpifec.lib /cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpi.lib"

Satish


On Fri, 31 Jan 2014, Danyang Su wrote:

> On 31/01/2014 9:23 AM, Danyang Su wrote:
> > On 31/01/2014 8:41 AM, Satish Balay wrote:
> > > Try:
> > >
> > > --with-mpi-include=/cygdrive/c/Program\ Files/Microsoft\ HPC\ Pack\ 2008\
> > > R2/Inc
> > > --with-mpi-lib=/cygdrive/c/Program\ Files/Microsoft\ HPC\ Pack\ 2008\
> > > R2/Lib/amd64/msmpi.lib
> > ******************************************************************************* 
> >
> >          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> > details):
> > ------------------------------------------------------------------------------- 
> >
> > --with-mpi-lib=['/cygdrive/c/Program', 'Files/Microsoft', 'HPC', 'Pack',
> > '2008', 'R2/Lib/amd64/msmpi.lib'] and
> > --with-mpi-include=['/cygdrive/c/Program Files/Microsoft HPC Pack 2008
> > R2/Inc'] did not work
> > ******************************************************************************* 
> >
> > It's this due to the blank space in the path? Maybe I can reinstall HPC
> > package to another destination without blank space in the path.
> After reinstall Microsoft HPC in C:\MSHPC\MicrosoftHPCPack2012, I configure
> PETSc installation with
> 
> ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort'
> --with-cxx='win32fe cl' --download-f-blas-lapack --with-threadcomm
> --with-openmp --with-mpi-include="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Inc"
> --with-mpi-lib="/cygdrive/c/MSHPC/MicrosoftHPCPack2012/Lib/amd64/msmpi.lib"
> 
> The error is as follows:
> 
> *******************************************************************************
>          UNABLE to CONFIGURE with GIVEN OPTIONS    (see configure.log for
> details):
> -------------------------------------------------------------------------------
> Fortran error! mpi_init() could not be located!
> *******************************************************************************
> >
> > Thanks,
> >
> > Danyang
> > >
> > > Satish
> > >
> > >
> > > On Fri, 31 Jan 2014, Danyang Su wrote:
> > >
> > > > Hi Barry,
> > > >
> > > > The configure.log has been attached. I can configure with MPICH2 before.
> > > > There
> > > > are three MPI implementations (MPICH2, Intel MPI and MSMPI) in  my
> > > > computer,
> > > > the intel mpi distribution comes along with the installation of Intel
> > > > Parallel
> > > > Studio. The MPICH2 and MSMPI is installed separately. Now I have
> > > > uninstalled
> > > > MPICH2 and there is only MSMPI (with sdk) and Intel MPI distribution.
> > > > The system is WIN7 X64 Pro.
> > > >
> > > > Thanks,
> > > >
> > > > Danyang
> > > >
> > > > On 30/01/2014 7:40 PM, Barry Smith wrote:
> > > > >     We need configure.log
> > > > >
> > > > > On Jan 30, 2014, at 8:50 PM, Danyang Su <danyang.su at gmail.com> wrote:
> > > > >
> > > > > > Hi All,
> > > > > >
> > > > > > When configure petsc with msmpi
> > > > > >
> > > > > > ./configure --with-cc='win32fe cl' --with-fc='win32fe ifort'
> > > > > > --with-cxx='win32fe cl' --download-f-blas-lapack --with-threadco
> > > > > > mm --with-openmp --with-mpi-include="/cygdrive/c/Program
> > > > > > Files/Microsoft
> > > > > > HPC Pack 2008 R2/Inc" --with-mpi-lib="/cygdrive/c/Prog
> > > > > > ram Files/Microsoft HPC Pack 2008 R2/Lib/amd64/msmpi.lib"
> > > > > >
> > > > > > I get the following error
> > > > > >
> > > > > > --with-mpi-lib=['/cygdrive/c/Program', 'Files/Microsoft', 'HPC',
> > > > > > 'Pack',
> > > > > > '2008', 'R2/Lib/amd64/msmpi.lib'] and
> > > > > > --with-mpi-include=['/cygdrive/c/Program Files/Microsoft HPC Pack
> > > > > > 2008
> > > > > > R2/Inc'] did not work
> > > > > >
> > > > > > Thanks,
> > > > > >
> > > > > > Danyang
> > > >
> > > >
> >
> 
> 
> 



More information about the petsc-users mailing list