Skip to content

problems with libimfort.a #252

Answered by olebole
jeromeorosz asked this question in Q&A
Jan 2, 2023 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

What changed in the last 20 years is the port of IRAF to 64 bit. This port is limited to the ILP64 memory model which means that integer are 64 bit by default. This requires a special setting for the Fortran compilation, since the default model is to have 32-bit integers. In IRAF itself this is done by a modified f2c program; however if you use an external compiler (gfortran), you should make sure that you choose the correct memory model.

Could this the reason for the problem?

From the code history of imopnx.x I would guess that imopen() never supported FITS files; however I may be wrong here.

For a more modern programmatic approach to observation planning, it may be worth trying out astr…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jeromeorosz
Comment options

@olebole
Comment options

Answer selected by olebole
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants