From owner-freebsd-hackers Wed Oct 15 14:15:43 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA02482 for hackers-outgoing; Wed, 15 Oct 1997 14:15:43 -0700 (PDT) (envelope-from owner-freebsd-hackers) Received: from mercury.Sun.COM (mercury.Sun.COM [192.9.25.1]) by hub.freebsd.org (8.8.7/8.8.7) with SMTP id OAA02474 for ; Wed, 15 Oct 1997 14:15:40 -0700 (PDT) (envelope-from Anthony.Kimball@East.Sun.COM) Received: from East.Sun.COM ([129.148.1.241]) by mercury.Sun.COM (SMI-8.6/mail.byaddr) with SMTP id OAA14627; Wed, 15 Oct 1997 14:18:45 -0700 Received: from suneast.East.Sun.COM by East.Sun.COM (SMI-8.6/SMI-5.3) id RAA09666; Wed, 15 Oct 1997 17:15:00 -0400 Received: from compound.east.sun.com by suneast.East.Sun.COM (SMI-8.6/SMI-SVR4) id RAA03257; Wed, 15 Oct 1997 17:15:00 -0400 Received: (from alk@localhost) by compound.east.sun.com (8.8.7/8.7.3) id QAA28947; Wed, 15 Oct 1997 16:24:39 -0500 (CDT) Date: Wed, 15 Oct 1997 16:24:39 -0500 (CDT) Reply-To: Anthony.Kimball@East.Sun.COM Message-Id: <199710152124.QAA28947@compound.east.sun.com> From: Tony Kimball MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Face: O9M"E%K;(f-Go/XDxL+pCxI5*gr[=FN@Y`cl1.Tn To: mike@smith.net.au Cc: hackers@freebsd.org Subject: Call for Fortran assistance X-Mailer: VM 6.33 under 19.14 XEmacs Lucid Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > Our second design threw the data through a FIFO, but Fortran has funny > formatting requirements for sequential-access data that have stymied > us. Generally, there is a header word for each binary record in a sequential-access file indicating how many bytes are in the record. Thus write(7) [1:5], 2.0d0*[1:5] (f90 syntax used for conciseness) results in a file containing binary data representing the values { 60, 1, 2, 3, 4, 5, 2.0, 4.0, 6.0, 8.0, 10.0 } (assuming real*8.) > We've offered to write a Fortran-callable C procedure that can manage > reading the FIFO, but they don't use procedures much (!) and want an > all-fortran solution. Now you're talking about a mentally defective customer. I can't fix that:-) What is the platform? You should be able to use shared memory, if there are fortran bindings to libc available. Or you could just provide a library of fortran bindings written in C and not tell them about it. It sound like they're clueless enough not to be able to tell the difference.