Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uwm.edu!rpi!sci.ccny.cuny.edu!phri!cmcl2!lanl!matthias From: matthias@mpx0.lampf.lanl.gov (Matthias, Bjorn E.) Newsgroups: comp.lang.fortran Subject: speed of passing in argument vs. COMMON// Keywords: subroutine arguments, COMMON blocks Message-ID: <46859@lanl.gov> Date: 27 Mar 90 03:29:37 GMT Sender: news@lanl.gov Reply-To: matthias@mpx0.lampf.lanl.gov Followup-To: comp.lang.fortran Organization: LAMPF Data Analysis Center, Los Alamos, New Mexico Lines: 13 HI! My question to you: Is it faster to pass variables to a subroutine via arguments or via a COMMON block? Same question re. passing back results to the calling routine. Speed is of the essence for the code in question. It will run on VAX FORTAN V5.3 under VMS V5.2 on a cluster of 2 8650's and maybe also under FORTRAN V4.7, VMS V4.7 on a VAXStation II/GPX. Please e-mail responses, I'll summarize to the net if there is interest. Many thanks in advance! --- Bjorn E. Matthias MATTHIAS@LAMPF (BITNET) matthias@dac.lanl.gov (internet)