problem in compiling petsc for visual c++ 2005
Farshid Mossaiby
mossaiby at yahoo.com
Wed Aug 13 01:44:50 CDT 2008
Hi,
I have built Petsc a lot of times with VC++ 2008 Express edition and Cygwin. I used to run C:\Cygwin\Cygwin.bat, and had no problem.
I just looked into the batch file, and it contains:
----------------------------
@echo off
C:
chdir C:\Cygwin\bin
bash --login -i
----------------------------
I am not sure what '-i' in bash parameters mean, but it may help you. Anyway, I still recommend you running the batch file itself.
Best regards,
Farshid Mossaiby
--- On Tue, 8/12/08, berry <lua.byhh at gmail.com> wrote:
> From: berry <lua.byhh at gmail.com>
> Subject: Re: problem in compiling petsc for visual c++ 2005
> To: petsc-users at mcs.anl.gov
> Date: Tuesday, August 12, 2008, 9:49 PM
> 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/configure.py '( 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
> website).
>
> 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 mcs.anl.gov> 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
More information about the petsc-users
mailing list