problem in compiling petsc for visual c++ 2005

berry lua.byhh at
Tue Aug 12 12:19:39 CDT 2008

Hi, Satish

Sorry for my vague reply.

I just use 'bash' not 'bash --login'. With 'bash' only, the configure script
can not find 'mkdir' and 'sed' command, as you kindly points me out.

Then I try this utilities: 'usr/bin/run.exe -ls'  to open a xterm window. I
Successed.  In this window, I can find 'mkdir' and 'sed' plus visual c++'s
'cl.exe' and intel fortran 's 'ifort.exe' now.

After that, I do configure petsc again with './config/ '( I can
not remember other paramters for mpich , lapack, blas, winfe cl , winfe
ifort and hypre now, but I follow the exact guidence from petsc official

However, after several minutes's configuration, petsc configuration script
still CRASHED with no error prompt on screen. It just tell me to send the
config.log file to developers. Right now I am not in my office, tomorrow I
will send the config.log file to corresponding email address.

Hope this time you can understand what I say.

Thanks for you help!

On Tue, Aug 12, 2008 at 10:43 PM, Satish Balay <balay at> wrote:

> On Tue, 12 Aug 2008, berry wrote:
> > Thanks,  I have already logged into the cygwin from VC command prompt.
> What does this mean? do you now have mkdir and sed in your path?
> If not - redo VC cmd prompt - and 'bash --login' - and let us know if:
> - mkdir & sed are in your PATH
> which sed
> which mkdir
> - now configure is successful or not..
> Satish

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: <>

More information about the petsc-users mailing list