[petsc-users] 答复: 答复: 答复: 答复: 答复: 答复: 答复: 答复: 转发: PETsc problem
Satish Balay
balay at mcs.anl.gov
Wed May 22 21:29:55 CDT 2013
On Thu, 23 May 2013, 余浩 wrote:
> How can I just copy/paste what you wrote?
Hm - thats not what I asked. Perhaps I'm not communicating properly.
I was hoping *you* would copy/paste the complete session from your
*cmd* terminal - this way I can see what you did. [insted of you
typing in e-mail 'I did this and then I got that']
Or are you having trouble using copy/paste from cmd terminal?
> I run configure, and it shows:
>
> cannot download--install MPICH under Windows. Suggest to install MPICH manually
[again you are transcribing here - instead of copy/pasting the message
from cmd terminal]
As the message indicates - you should install MPICH for windows from
http://www.mpich.org/downloads/ [and not use --download-mpich - when
using MS compilers on windows]
Satish
>
> Thanks!
>
> Hao
>
>
> ________________________________________
> 发件人: Satish Balay [balay at mcs.anl.gov]
> 发送时间: 2013年5月22日 22:16
> 收件人: 余浩
> 抄送: petsc-users
> 主题: Re: [petsc-users] 答复: 答复: 答复: 答复: 答复: 答复: 答复: 转发: PETsc problem
>
> On Wed, 22 May 2013, 余浩 wrote:
>
> > Because the difference in directory, firstly, I enter in d:/Program Files/VC (in VS cmd)
> > cl OK.cpp
> > it shows:
> > > Microsoft <R> 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80X86
> > > Copyright <C> Microsoft Corposration. All rights reserved.
> > >
> > > OK.cpp
> > > Microsoft <R> Incremental Linker Version 10.00.30319.01
> > > Copyright <C> MIcrosoft Corporation. All rights reserved.
> > >
> > > /out:OK.exe
> > > OK.obj
> >
> > then
> > echo %errorlevel%
> > 0
> >
> > then, I login into cygwin in VS cmd, enter
> > cd /cygdrive/d/Program\ Files/VC
> > cl OK.cpp
> > with exactly the same output as you wrote.
> >
> > echo $?
> > 0
> >
> > then login into the directory that petsc is in:
>
> I would have prefered a copy/paste of everything on the terminal -
> instead of this type of transcribing. :(
>
> > $ /home/petsc-3.3-p6/bin/win32fe/win32fe cl -c OK.cpp
> > OK.cpp
>
>
> Are you sure you didn't type some of ther command inbetween these two commands? Again a proper
> copy/paste would have helped.
>
> >
> >
> > $echo $?
> > 0
>
> ok [if there was no other command inbetween the above two commands]
> its indicating that the compiler is ok here. Can you now try configure
> form this same terminal? [but first recheck the above command's return
> code]
>
> Satish
>
>
> >
> > Thanks!
> >
> > Hao
> >
> >
> >
> > Hao
> >
> > ________________________________________
> > 发件人: Satish Balay [balay at mcs.anl.gov]
> > 发送时间: 2013年5月21日 22:42
> > 收件人: 余浩
> > 抄送: petsc-users at mcs.anl.gov
> > 主题: Re: [petsc-users] 答复: 答复: 答复: 答复: 答复: 答复: 转发: PETsc problem
> >
> > On Tue, 21 May 2013, 余浩 wrote:
> >
> > > I have a program OK.cpp in the directory d:/Program Files/VC/
> >
> > thats a strange location to do compiles.
> > >
> > > #incldue<stdio.h>
> >
> > hm - typo?
> >
> > > int main()
> > > {
> > > printf("OK");
> > > return 0;
> > > }
> > >
> > > after cl OK.cpp ,
> > >
> > > Microsoft <R> 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80X86
> > > Copyright <C> Microsoft Corposration. All rights reserved.
> > >
> > > OK.cpp
> > > Microsoft <R> Incremental Linker Version 10.00.30319.01
> > > Copyright <C> MIcrosoft Corporation. All rights reserved.
> > >
> > > /out:OK.exe
> > > OK.obj
> > >
> > >
> > > Thanks!
> >
> > Please copy/paste the complete output from the following sequence of
> > commands.
> >
> > Satish
> >
> > ---------
> >
> > C:\cygwin\home\balay\junk>cl OK.c
> > Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.762 for x64
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > OK.c
> > Microsoft (R) Incremental Linker Version 8.00.50727.762
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > /out:OK.exe
> > OK.obj
> >
> > C:\cygwin\home\balay\junk>echo %errorlevel%
> > 0
> >
> > C:\cygwin\home\balay\junk>c:\cygwin\bin\bash --login
> >
> > balay at msnehalem2 ~
> > $ cd junk/
> >
> > balay at msnehalem2 ~/junk
> > $ cl OK.c
> > Microsoft (R) C/C++ Optimizing Compiler Version 14.00.50727.762 for x64
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > OK.c
> > Microsoft (R) Incremental Linker Version 8.00.50727.762
> > Copyright (C) Microsoft Corporation. All rights reserved.
> >
> > /out:OK.exe
> > OK.obj
> >
> > balay at msnehalem2 ~/junk
> > $ echo $?
> > 0
> >
> > balay at msnehalem2 ~/junk
> > $ ~/petsc.clone/bin/win32fe/win32fe cl -c OK.c
> > OK.c
> >
> > balay at msnehalem2 ~/junk
> > $ echo $?
> > 0
> >
>
More information about the petsc-users
mailing list