Xref: utzoo comp.lang.fortran:946 comp.unix.questions:8521 Path: utzoo!utgpu!attcan!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!decwrl!labrea!denali!karish From: karish@denali.stanford.edu (Chuck Karish) Newsgroups: comp.lang.fortran,comp.unix.questions Subject: Re: Sun 3 vs uVAXII floating point speed.... Summary: VAX FORTRAN for ULTRIX Message-ID: <23198@labrea.Stanford.EDU> Date: 31 Jul 88 08:10:11 GMT References: <25065@ucbvax.BERKELEY.EDU> <3381@phri.UUCP> <59936@sun.uucp> <102@obie.UUCP> <247@texhrc.UUCP> Sender: news@labrea.Stanford.EDU Reply-To: karish@denali.stanford.edu (Chuck Karish) Distribution: na Organization: Mindcraft, Inc. Lines: 30 In article <247@texhrc.UUCP> ldm@texhrc.UUCP (Lyle Meier) writes: >Should >you wish to call a C program from the fortran, you need to write a bridge >routine in something called a jacket building language. This is because the >VAX fortran compiler insists on passing charater variables by descriptor ... The jacket building language is simple and easy to use, though the manual is not as helpful as it might be, and had (has?) some serious errors in its examples. Most jacket routines are one-line programs that simply declare the name of the routine and the types of the parameters for both C and Fortran. VAX Fortran for Ultrix is a useful tool for many Fortran users, for two reasons: 1) It's compatible with VMS Fortran, which is the source of many programs that have to be ported. 2) It's tailored for the VAX, and is fast. Probably still faster than the 4.3 version of f77; has anyone compared? Under Ultrix, VAX Fortran makes executables that are bigger than f77 executables, and bigger than they would be under VMS. This is because under VMS the Fortran runtime library stays in shared memory, so the developers favored speed over size. Under Ultrix, those big library routines get linked into every executable. Chuck Karish ARPA: karish@denali.stanford.edu BITNET: karish%denali@forsythe.stanford.edu UUCP: {decvax,hplabs!hpda}!mindcrf!karish USPS: 1825 California St. #5 Mountain View, CA 94041