icl does not understand cygwin paths [like /cygdrive/c./....]

As mentioned before - you should check hypre installation instructions
on how to install it on windows.

Satish

On Wed, 6 Nov 2013, Qin Lu wrote:

> I tried to put the MPICH2 under a directory without space, but the Intel C++ 
> compiler icl could not find the mpi.h file even if I set the path for the 
> compiler (-I/cygdrive/c/cygwin_cache/mpich2x64/include/). See the error 
> message:
>  
> ===================
> Making struct_mv ...
> make[1]: Entering directory 
> '/cygdrive/c/cygwin_cache/hypre-2.8.0b/src/struct_mv'
> icl -O2 -I/cygdrive/c/cygwin_cache/mpich2x64/include/ -DHAVE_CONFIG_H -I.. 
> -I. -I./.. -I./../utilities   -c assumed_part.c
> Intel(R) C++ Intel(R) 64 Compiler Professional for applications running on 
> Intel(R) 64, Version 11.1    Build 20091012 Package ID: w_cproc_p_11.1.051
> Copyright (C) 1985-2009 Intel Corporation.  All rights reserved.
> assumed_part.c
> C:\cygwin_cache\hypre-2.8.0b\src\utilities\HYPRE_utilities.h(26): 
> catastrophic error: could not open source file "mpi.h"
> #include "mpi.h"
> ====================
>  
> Do you have any idea what can be wrong?
>  
> Thanks,
> Qin
> 
> 
> On Tuesday, November 5, 2013 10:05 AM, Satish Balay <[email protected]> wrote:
> 
> Alctually you'll have to look at hypre docs for installation
> instructions for windows. [download-hypre does not work]
> 
> Satish
> 
> 
> 
> On Tue, 5 Nov 2013, Barry Smith wrote:
> 
> > 
> >    Reinstall the MPI in a location without spaces in the directory name.
> > 
> > On Nov 5, 2013, at 9:41 AM, Qin Lu <[email protected]> wrote:
> > 
> > > Hello,
> > > I am trying to build hypre in Windows 7 (using cygwin) since it will be 
> > > included in my PETSc lib. The configure options of hypre contains 
> > > directory such as:
> > > ./configure --with-MPI-include="/cygdrive/c/Program 
> > > Files/mpich2x64/include"
> > > Somehow hypre's configure took this directory as two separate directories 
> > > ("/cygdrive/c/Program" and "Files/mpich2x64/include") since there is a 
> > > space in the middle. (Strangely, PETSc's configure read this directory 
> > > correctly). I tried to replacing the space with "\ " but it still did not 
> > > work.
> > > How can I make hypre's configure read this directory correctly?
> > > Thanks for your suggestions,
> > > Qin
> > 
> >    
> 

Reply via email to