[petsc-users] About the ./configure of petsc and mpi
Jed Brown
jedbrown at mcs.anl.gov
Sat Jun 2 09:34:58 CDT 2012
On Sat, Jun 2, 2012 at 9:28 AM, w_ang_temp <w_ang_temp at 163.com> wrote:
> Hello Jed
> It is true that LTR is uninitialized.
>
There are lots of ways for uninitialized variables to accidentally have
valid values. That doesn't mean your program is correct, it just means that
it accidentally "worked". You have to fix your code.
http://fortran90.org/src/best-practices.html#file-input-output
> But before the reconfiguration, it is ok by the default compiler. The
> codes are the same before and after the reconfiguration.
> Also I use ifort to compile the fortran project before I add petsc
> code to it and it is ok. So I think that this line (line 126) should not be
> incorrect when use ifort.
> Maybe there's any other reason related to the new compiler.
> Thanks.
> Jim
> >At 2012-06-02 22:13:06,"Jed Brown" <jedbrown at mcs.anl.gov> wrote:
>
> >Looks like LTR is uninitialized or has been overwritten by earlier
> corruption. This does not have anything to do with PETSc.
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120602/da996b78/attachment.html>
More information about the petsc-users
mailing list