problem in compiling petsc for visual c++ 2005
berry
lua.byhh at gmail.com
Tue Aug 12 05:18:45 CDT 2008
Hi,
I am trying to compile PETSC in cygwin for Visual c++ 2005. I follow the
guide exactly from here:
http://www-unix.mcs.anl.gov/petsc/petsc-2/documentation/installation.html.
and use below command:
/usr/bin/python ./config/configure.py --with-cc='win32fe cl --nodetect'
--with-fc='win32fe ifort --nodetect' --with-mpi=1 --with-f-blas-lapack=1
--with-hypre=1
PETSC installation script really starts to run. However, it fails with
below errors:
================================================================================
=
Configuring PETSc to compile on your system
================================================================================
=
********************************************************************************
*
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for
detail
s):
--------------------------------------------------------------------------------
-------
Unable to determine host type using
/cygdrive/c/cygwin/home/pangshengyong/soft/p
etsc-2.3.3-p13/python/BuildSystem/config/packages/config.sub: Could not
execute
'/bin/sh
/cygdrive/c/cygwin/home/pangshengyong/soft/petsc-2.3.3-p13/python/Build
System/config/packages/config.guess':
/cygdrive/c/cygwin/home/pangshengyong/soft/petsc-2.3.3-p13/python/BuildSystem/co
nfig/packages/config.guess: line 38: sed: command not found
/cygdrive/c/cygwin/home/pangshengyong/soft/petsc-2.3.3-p13/python/BuildSystem/co
nfig/packages/config.guess: line 1272: mkdir: command not found
/cygdrive/c/cygwin/home/pangshengyong/soft/petsc-2.3.3-p13/python/BuildSystem/co
nfig/packages/config.guess: line 1272: mkdir: command not found
: cannot create a temporary directory in /tmp
********************************************************************************
*
It seems that the configure script miss to find the correct path. Does
anyone could point me out how to set the correct path for configure script
please?
Btw: I have successfully compiled petsc library on cygwin for gcc.
Thanks.
--
Pang Shengyong
Solidification Simulation Lab,
State Key Lab of Mould & Die Technology,
Huazhong Univ. of Sci. & Tech. China
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20080812/2ab53c71/attachment.htm>
More information about the petsc-users
mailing list