From chemistry-request -x- at -x- server.ccl.net Thu Nov 29 09:22:34 2001 Received: from ned1.sims.nrc.ca ([132.246.108.2]) by server.ccl.net (8.11.6/8.11.0) with ESMTP id fATEMYB11343 for ; Thu, 29 Nov 2001 09:22:34 -0500 Received: from localhost (ps "-at-" localhost) by ned1.sims.nrc.ca (8.8.8/8.8.8) with ESMTP id JAA24700; Thu, 29 Nov 2001 09:22:08 -0500 (EST) Date: Thu, 29 Nov 2001 09:22:08 -0500 From: Serguei Patchkovskii Reply-To: Serguei.Patchkovskii $#at#$ nrc.ca To: =?iso-8859-1?Q?Jes=FAs_Rodr=EDguez_Otero?= cc: chemistry;at;ccl.net Subject: Re: CCL:CADPAC for Linux In-Reply-To: <000c01c17831$fe4d6460$9a4a90c1;at;usc.es> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=X-UNKNOWN Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by server.ccl.net id fATEMYB11344 On Wed, 28 Nov 2001, [iso-8859-1] Jesús Rodríguez Otero wrote: > Also, I compiled CADPAC with compaq fortran for alpha under Linux, but > when I try to calculate polarisabilituies, the program crashes, with the > following message: [snip] > forrtl: error (65): floating invalid This looks familiar. Try recompiling -everything- (that means literally everything - including all floating-point libraries you link against, including vendor-supplied libraries) using "-mieee" option with GNU compilers, and "-fpe3" option with Compaq compilers (if you use them - which is a good idea in any case). If you are feeling adventurous, you may wish to recompile your cadpac binary with debugging turned on, and track down the offending routine. You can then recompiler just that routine. However, there is no guarantee that the error won't show up in a different place. Unfortunately, this will incur a significant performance loss. If you were running Tru64 Unix, using "-fpe1" option would have had a similar effect, at a lower performance cost. Unfortunately, it is not available under Linux. Regards, Serguei --- Dr. Serguei Patchkovskii Tel: +1-(613)-991-2719 Fax: +1-(613)-947-2838 E-mail: Serguei.Patchkovskii(+ at +)nrc.ca Research Council Officer Theory and Computation Group Steacie Institute for Molecular Sciences National Research Council Canada Room 2158, 100 Sussex Drive Ottawa, Ontario K1A 0R6 Canada