Date: Thu, 21 Jan 1999 08:23:07 +0100 From: J Wunsch <j@uriah.heep.sax.de> To: committers@FreeBSD.ORG Subject: Anybody with FORTRAN knowledge? Message-ID: <19990121082307.33024@uriah.heep.sax.de>
next in thread | raw e-mail | index | archive | help
A question for anybody with some FORTRAN knowledge. I've stumpled across a FORTRAN (apparently f-77) program. (For the curious, it's some antenna numerical calculation called NEC, see ftp://ftp.qsl.net/pub/wb6tpu/nec/.) It doesn't compile cleanly on our f77 simulation. For one, there are labels like $DEBUG (conditional compilation?) and some float misalignment in a common block, which are easy to fix. However, when linking the program, it fails to find the FORTRAN functions CDABS, DREAL, CDSQRT, and CDEXP. Upon further investigation, it seems f2c calls those functions ZABS, REAL (which is applicable to both, COMPLEX*8 and COMPLEX*16 there), ZSQRT, and ZEXP. Now, are the `CD' names standard, and/or would it be appropriate to add the above (and similar) names as aliases in the f2c code? Doing so should be easy (it's all in intr.c). -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE Never trust an operating system you don't have sources for. ;-) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990121082307.33024>
