Re: Illegal instruction (core dumped)
From: Rob (nospam_at_nonexistant.com)
Date: 05/11/04
- Next message: Kevin G. Rhoads: "Re: Is FORTRAN a dying language? (not a troll)"
- Previous message: Steve Lionel: "Re: ES format"
- In reply to: Gerry Thomas: "Re: Illegal instruction (core dumped)"
- Next in thread: TimC: "Re: Illegal instruction (core dumped)"
- Reply: TimC: "Re: Illegal instruction (core dumped)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 11 May 2004 23:20:13 +0930
"Gerry Thomas" <gfthomas@sympatico.ca> wrote in message
news:RoZnc.9842$dr1.375825@news20.bellglobal.com...
>
> "Ali" <hgolshani@hotmail.com> wrote in message news:s31uzaap7yv1@legacy...
> > Hello, Anyone who know what is "Illegal instruction (core dumped)" ??
> > When I compiled and Run a fortran files in UNIX, this error comes out.
>
> It's a common problem in Unix, Windows, etc., and is most often caused by
> programmer error, usually by exceeding the bounds of an array via an
> invalid access. I've cross posted to comp.lang.fortran, a more appropriate
> ng for Fortran-specific problems.
>
Other causes of such a symptoms with Fortran code include;
a) Calling a function or subroutine with less arguments than
the actual function or subroutine accepts --- particularly
if the argument in question gets modified.
b) Passing an argument of wrong type, particularly a type of
different physical type. For example, passing an integer
when the called subprogram expects a double precision
or a string.
Such things are not specific to Fortran. Such programming errors cause
similar errors in several programming languages (C, Pascal, etc).
- Next message: Kevin G. Rhoads: "Re: Is FORTRAN a dying language? (not a troll)"
- Previous message: Steve Lionel: "Re: ES format"
- In reply to: Gerry Thomas: "Re: Illegal instruction (core dumped)"
- Next in thread: TimC: "Re: Illegal instruction (core dumped)"
- Reply: TimC: "Re: Illegal instruction (core dumped)"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|