[petsc-users] 答复: 答复: 答复: 答复: 答复: 答复: 转发: PETsc problem
余浩
hao.yu at peraglobal.com
Tue May 21 09:25:08 CDT 2013
I have a program OK.cpp in the directory d:/Program Files/VC/
#incldue<stdio.h>
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!
Hao
________________________________
发件人: Matthew Knepley [knepley at gmail.com]
发送时间: 2013年5月21日 18:44
收件人: 余浩
抄送: petsc-users
主题: Re: [petsc-users] 答复: 答复: 答复: 答复: 答复: 转发: PETsc problem
On Tue, May 21, 2013 at 4:52 AM, 余浩 <hao.yu at peraglobal.com<mailto:hao.yu at peraglobal.com>> wrote:
It still has problem. I open VS2010 cmd, then login in bash, then configure following the instruction, it shows "if you use batch system, you should ./configure --with-batch. otherwise, the complier has some problem...." But cl really works.
Please show us an example of your cl working from the command line. This means
a) Open a command shell
b) Create a simple program, just an empty main()
c) Compile it with cl
d) Mail us the program and all the output from this to petsc-maint at mcs.anl.gov<mailto:petsc-maint at mcs.anl.gov>
Thanks,
Matt
Thanks!
Hao
________________________________________
发件人: Satish Balay [balay at mcs.anl.gov<mailto:balay at mcs.anl.gov>]
发送时间: 2013年5月20日 23:23
收件人: 余浩
抄送: petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>
主题: Re: [petsc-users] 答复: 答复: 答复: 答复: 转发: PETsc problem
On Mon, 20 May 2013, 余浩 wrote:
> I can use cl to compile file under Windows. But even if I include path which cl is in in the enviromental variable of Cygwin, it still shows "Win32fe cl" does not work.
Have you checked the windows installation instructions?
https://www.mcs.anl.gov/petsc/documentation/installation.html#windows
You should start the 'compiler cmd' - and then run 'bash --login' inside it
[and not 'set cygwin path to include cl']
Satish
> The attached is the configure.log and make.log
> Thanks!
>
> Hao
> ________________________________
> 发件人: Matthew Knepley [knepley at gmail.com<mailto:knepley at gmail.com>]
> 发送时间: 2013年5月11日 4:32
> 收件人: 余浩; petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>
> 主题: Re: 答复: [petsc-users] 答复: 答复: 转发: PETsc problem
>
> On Fri, May 10, 2013 at 12:11 PM, 余浩 <hao.yu at peraglobal.com<mailto:hao.yu at peraglobal.com><mailto:hao.yu at peraglobal.com<mailto:hao.yu at peraglobal.com>>> wrote:
> What do you mean by compiling something with it ? I don't know. you mean 'win32fe cl' is not installed correctly?
>
> I mean, can you compile a file using cl from the command line?
>
> Matt
>
>
>
> Hao
> ________________________________
> 发件人: Matthew Knepley [knepley at gmail.com<mailto:knepley at gmail.com><mailto:knepley at gmail.com<mailto:knepley at gmail.com>>]
> 发送时间: 2013年5月10日 19:55
> 收件人: 余浩
> 抄送: petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov><mailto:petsc-users at mcs.anl.gov<mailto:petsc-users at mcs.anl.gov>>
> 主题: Re: [petsc-users] 答复: 答复: 转发: PETsc problem
>
> On Fri, May 10, 2013 at 6:20 AM, 余浩 <hao.yu at peraglobal.com<mailto:hao.yu at peraglobal.com><mailto:hao.yu at peraglobal.com<mailto:hao.yu at peraglobal.com>>> wrote:
>
> The configure.log and make.log are attached.
>
> it shows that 'win32fe cl' does not work. I dont' know what the problem is.
>
> Can you compile something with it? It looks like it is not installed correctly.
>
> Matt
>
> Thanks!
>
>
>
> Hao
> ________________________________________
> 发件人: Jed Brown [five9a2 at gmail.com<mailto:five9a2 at gmail.com><mailto:five9a2 at gmail.com<mailto:five9a2 at gmail.com>>] 代表 Jed Brown [jedbrown at mcs.anl.gov<mailto:jedbrown at mcs.anl.gov><mailto:jedbrown at mcs.anl.gov<mailto:jedbrown at mcs.anl.gov>>]
> 发送时间: 2013年5月10日 15:16
> 收件人: 余浩; petsc-users
> 主题: Re: [petsc-users] 答复: 转发: PETsc problem
>
> 余浩 <hao.yu at peraglobal.com<mailto:hao.yu at peraglobal.com><mailto:hao.yu at peraglobal.com<mailto:hao.yu at peraglobal.com>>> writes:
>
> > it shows that 'win32fe cl' does not work. I dont' know what the problem is.
>
> You couldn't have found a less helpful way to report this.
>
> Note the bold part:
>
> http://www.mcs.anl.gov/petsc/documentation/bugreporting.html
>
>
>
> --
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener
>
>
>
> --
> What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
> -- Norbert Wiener
>
--
What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.
-- Norbert Wiener
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130521/88057e66/attachment-0001.html>
More information about the petsc-users
mailing list