On Mon, 19 Dec 2005, Patrick Wallace wrote:
> On Fri, 16 Dec 2005, Tim Jenness wrote:
>
>> I'll commit revised sun67 if you send it to me.
>
> Pick up the new SLALIB/F release, including a revised SUN/67, via
> anonymous FTP from ftp.starlink.rl.ac.uk. The compressed tar file is
> called /pub/users-ftp/ptw/slalib/slalib_f.tar.Z.
I've synchronized your Fortran distribution with that in CVS.
Whilst there, I am also taking a look at the C version of HLP (donated by
Pat). It builds fine but I need to add a fortran interface. The problem
with that is that
1) HLP_HELP and HLP_CREH take fortran functon callbacks (painful but
not insurmountable)
2) HLP_HELP and HLP_CREH take Fortran unit numbers for STDOUT, STDIN and
STDERR. This is more of a pain since the C version just assumes
stdout, stdin and stderr and translating a fortran unit number to
a C fd is not generally possible.
For problem 2 my only options seem to be:
1) Ignore the unit numbers (possibly warning if they are non-standard)
2) Keep the Fortran version as well as the new C version (libhlp and
libhlpc or libhlpf and libhlp) tweaking hlp_link as appropriate.
Any votes?
The current usage breakdown is:
PCS: HLP_ERRMES
HLP_HELP
SHL: HLP_HELP
HLP_ERRMES
ICL: HLP_ERRMES
HLP_HELP
ECHOMOP: HLP_NAMETR
+ CATPAC, NDPROGS, STARMAN, IUEDR and IRCAMPACK but those because I have
not ported them to SHL. (they use HLP_ERRMES, and HLP_HELP). They are
obsolete applications.
According to SUN124, HLP_NAMETR is not part of the public api.
--
Tim Jenness
JAC software
http://www.jach.hawaii.edu/~timj
|