Welcome to iraf.net Friday, May 17 2024 @ 02:44 AM GMT
sarvin |
01/17/2008 06:13PM (Read 2589 times)
|
|
|
Status: offline
Registered: 01/17/2008
Posts: 2
|
Dear All,I get the error of: Segmentation fault as I try to run my code compiled with "ifort" Does anybody know what the problem is?Thanks in advance!
Sarvin
|
|
|
|
fitz |
01/17/2008 06:13PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Segfaults can happen because you access outside an array, the wrong number of arguments to a procedure call, zero-valued pointers, call-stack corruption, and on an on. Without seeing your program, or even knowing what language it's written in, I can't comment specifically.-Mike
|
|
|
|
sarvin |
01/17/2008 06:13PM
|
|
|
Status: offline
Registered: 01/17/2008
Posts: 2
|
Hi,i am writing my code in Fortran and when I compile it with Visual Fortran and run it in windows I don't get the error! But now that I compiled it using "ifort" and try to run in Linux I get the error!ithanks,
Sarvin
|
|
|
|
fitz |
01/17/2008 06:13PM
|
|
|
Status: offline
Registered: 09/30/2005
Posts: 4040
|
Is this an IMFORT program or just some Fortran program with nothing to do with IRAF? You can use the 'gdb' debugger under linux to get a stack trace to find out where it is failing, if this is not an IRAF program then there are other forums and boards that can help with general programming problems.-Mike
|
|
|
|
| |
|
Content generated in: 0.15 seconds |
|