From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id E3ED82FE84 for ; Wed, 1 Nov 2000 09:37:00 -0500 (EST) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id eA1Eb0a19152 for axp-list@listman.redhat.com; Wed, 1 Nov 2000 09:37:00 -0500 Received: from storeria.bio.ou.edu (storeria.bio.ou.edu [129.15.38.178]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id eA1Eb0D19148 for ; Wed, 1 Nov 2000 09:37:00 -0500 Received: from [129.15.38.178] (storeria.bio.ou.edu [129.15.38.178]) by storeria.bio.ou.edu (8.10.2/8.10.2) with ESMTP id eA1EaxP02017 for ; Wed, 1 Nov 2000 08:36:59 -0600 (CST) User-Agent: Microsoft-Outlook-Express-Macintosh-Edition/5.02.2022 Date: Wed, 01 Nov 2000 08:36:58 -0600 Subject: A few questions about compiling code and performance From: "J. Pedro Sousa do Amaral" To: Message-ID: In-Reply-To: <000b01c043fb$8f83b680$9550fea9@hptilap.hpti.com> Mime-version: 1.0 X-Face: #1;uKHg!zmi%q\d,vV}=E96;Ul|!=+f!~}vjvW]yIm[LPiYYY,2/f6GI,(:&oL*#;-A)K}scB&+Ze\WOX%~gQaN Hi, My questions are somewhat off-topic (and ignorant; I do not know how to program...) but here's the first one: I have a certain dynamical system analysis program source code, which I believe was initially written for Sun's OS. This FORTRAN code was initially set to compile with the flag -fast, but that wouldn't work in my system (AS 200, RH 5.2 highly modified, latest stable kernel, and pretty recent compilers--g77 version egcs-2.91.66 19990314). Is there an equivalent flag in the GNU FORTRAN compiler? Another question is about bogometer benchmarking. How useful is to use the function time to benchmark the performance of a given program compiled across different machines? From the man time: "The time utility executes and times utility. After the utility finishes, time writes the total time elapsed, the time consumed by system overhead, and the time used to execute utility to the standard error stream." What is exactly the meaning of the two last times reported? My last question is about a compiling error shown below. Any ideas about why this error occurs? f77 -O4 \ -o dimension dimension.f epsprg.o param.h: In program `dimension': In file included from dimension.f:39: param.h:26: parameter (nbound=max(nbins,ndatar)) ^ Invalid declaration of or reference to symbol `max' at (^) [initially seen at (^)] make: *** [dimension] Error 1 Thank you very much. ZP -- José Pedro Sousa do Amaral Disclaimer: Any resemblance between the above views and those of my employer, my terminal, or the view out my window are purely coincidental. Any resemblance between the above and my own views is non-deterministic. The question of the existence of views in the absence of anyone to hold them is left as an exercise for the reader. The question of the existence of the reader is left as an exercise for the second god coefficient. (A discussion of non-orthogonal, non-integral polytheism is beyond the scope of this article.)