-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ctio fft1d causes endless loop #94
Comments
Although CTIO is involved, this seems to be an IRAF core problem -- it finally calls |
Hi Ole,
That is true, those fft utilities based on complex vops are much older than
Numerical Recipes.
The ctio fft1d task works fine in current stsci astroconda 2.16 stack
installation (a 2013 update).
Please find attached a sample spectrum and the ftt1d pars that fail (but
work on conda distribution).
many thanks and regards,
Marcos
…--------------------------------------------------------
Marcos P. Diaz
prof. livre-docente
Departamento de Astronomia
Instituto de Astronomia, Geofísica e Ciências Atmosféricas
Universidade de São Paulo
Rua do Matão, 1226, Butanta
05508-900, São Paulo, SP, Brasil
e-mail: [email protected]
url: astroweb.iag.usp.br/~marcos <http://astroweb.iag.usp.br/%7Emarcos>
voice: 55-11-30912720 skype: marpdiaz fax:55-11-30912860
----------------------------------------------------------
On Sat, Oct 12, 2019 at 11:18 AM Ole Streicher ***@***.***> wrote:
Although CTIO is involved, this seems to be an IRAF core problem -- it
finally calls sys/vops/fftx.f or sys/vops/fftr.f for the actual FFT.
Differently from the other FFT routines in IRAF, this one was not marked
as originated by *Numerical Recipes*
<https://iraf-community.github.io/iraf-v216/license-problems> and
therefore remained original (and not replaced by ffpack in 934ea80
<934ea80>
).
Could you provide a small example file and the exact CL commands that lead
to the endless loop?
Do you know whether it worked for other versions (like the original
2.16.1, or under 32bit)?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#94?email_source=notifications&email_token=ANOIGCASST2Z4YDWCQHYJ3DQOHME3A5CNFSM4I7MI4VKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEBCANUY#issuecomment-541329107>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANOIGCDMDLJOVLW5YK2CH5TQOHME3ANCNFSM4I7MI4VA>
.
|
Test files: |
OK, first debugging gives that Line 20 in c2bb53e
However, then there is a loop over the index until 31: Lines 84 to 87 in c2bb53e
This just can't work at all, and did never work, and I wonder how this passed any test at NOAO. It just randomly overwrites the stack, or wherever the Lines 1913 to 1916 in c2bb53e
One may guess that the second change in this diff was done on error:@mjfitzpatrick?
|
The hand-written code is buggy (see iraf-community#94) and it is unclear where it originated from. Instead of trying to fix it, we use a reliable library instead. fftpack is already used in IRAF replacing the fourier transformation that was taken from the Numerical Recipes book.
The hand-written code is buggy (see iraf-community#94) and it is unclear where it originated from. Instead of trying to fix it, we use a reliable library instead. fftpack is already used in IRAF replacing the fourier transformation that was taken from the Numerical Recipes book.
Fresh install of IRAF and external package CTIO.
Main IRAF make sysgen and CTIO mkpkg on ubuntu 16.04 (AMD 64).
MACH and IRAFARCH = linux64
fft1d enters an endless cpu busy state.
The text was updated successfully, but these errors were encountered: