[petsc-dev] install petsc on windows 10 with mpi
Matthew Knepley
knepley at gmail.com
Mon Feb 6 08:07:41 CST 2017
On Sun, Feb 5, 2017 at 11:26 PM, Mohammad S Dodaran <mdodar1 at lsu.edu> wrote:
> Satish,
>
> Thanks for your quick response. as you see I can ls to the directory:
>
> ls /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\ SDKs/MPI/Include/
>
Yes, but as Satish said, there are spaces in the path above. We do not
allow spaces in the path.
You cannot give a path to configure with spaces.
You can remove the spaces using the cygpath command that Satish showed.
Please use that command.
Remove the spaces from this path and give the spaceless path to configure.
Thanks,
Matt
> mpi.f90 mpi.h mpif.h mpio.h mspms.h pmidbg.h x64/ x86/
>
>
> but I do not know why still it has the same problem. and my configure file
> looks strange.
>
> Best,
>
> Mohammad
> ------------------------------
> *From:* Satish Balay <balay at mcs.anl.gov>
> *Sent:* Sunday, February 5, 2017 10:58:35 PM
> *To:* Mohammad S Dodaran
> *Cc:* petsc-dev at mcs.anl.gov
> *Subject:* Re: [petsc-dev] install petsc on windows 10 with mpi
>
> Try to figureout path without spaces.
>
> cygpath -u `cygpath -s -m PATH`
>
> Make sure you can do "ls" on this path.
>
> And use it with petsc configure.
>
> balay at ps4 ~
> $ cygpath -u `cygpath -s -m /cygdrive/c/Program\ Files\ \(x86\)/Microsoft\
> SDKs/MPI/Include`
> /cygdrive/c/PROGRA~2/MICROS~2/MPI/Include
>
> balay at ps4 ~
> $ ls /cygdrive/c/PROGRA~2/MICROS~2/MPI/Include
> mpi.f90 mpi.h mpif.h mpio.h mspms.h pmidbg.h x64 x86
>
> balay at ps4 ~
> $
>
> For ex: - I use:
>
> >>>>>>>>
> $ cat config/examples/arch-mswin-intel.py
> #!/usr/bin/python
> if __name__ == '__main__':
> import sys
> import os
> sys.path.insert(0, os.path.abspath('config'))
> import configure
> configure_options = [
> '--download-fblaslapack=1',
> '--with-cc=win32fe icl',
> '--with-cxx=win32fe icl',
> '--with-fc=win32fe ifort',
> '--with-mpi-include=[/cygdrive/c/PROGRA~2/MICROS~2/
> MPI/Include/,/cygdrive/c/PROGRA~2/MICROS~2/MPI/Include/x64]',
> '--with-mpi-lib=[/cygdrive/c/PROGRA~2/MICROS~2/MPI/lib/x64/
> msmpifec.lib,/cygdrive/c/PROGRA~2/MICROS~2/MPI/lib/x64/msmpi.lib]',
> '--with-mpiexec=/cygdrive/c/PROGRA~1/MICROS~2/Bin/mpiexec',
> '--with-shared-libraries=0',
> 'DATAFILESPATH=c:/cygwin64/home/petsc/datafiles',
> ]
> configure.petsc_configure(configure_options)
>
> <<<<<<<<<<<
>
> if you still have issues - send us configure.log for the failure.
>
> Satish
>
> On Sun, 5 Feb 2017, Mohammad S Dodaran wrote:
>
> > Dear Petsc developers,
> >
> > I am trying to install Petsc on windows 10 but I have a problem. I
> installed MS-MPI v8<http://go.microsoft.com/FWLink/p/?LinkID=389556>
> separately and in the configure options I use
> >
> > --with-mpi-include="/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\
> SDKs/MPI/Include" --with-mpi-lib="/cygdrive/c/Program\ Files\
> \(x86\)/Microsoft\ SDKs/MPI/Lib/x64/msmpi.lib"
> >
> >
> > But it gives error which says:
> >
> > ***************************************************************
> > ERROR in COMMAND LINE ARGUMENT to ./configure
> > ------------------------------------------------------------
> -------------------
> > Invalid directory: [/cygdrive/c/Program\ Files\ \(x86\)/Microsoft\
> SDKs/MPI/Include for key with-mpi-include
> >
> >
> > How should I solve it?
> >
> > Mohammad
> >
>
>
--
What most experimenters take for granted before they begin their
experiments is infinitely more interesting than any results to which their
experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20170206/8a75de2e/attachment.html>
More information about the petsc-dev
mailing list