From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,75ceff5c399c7751 X-Google-Attributes: gid1164f8,public X-Google-Thread: 1094ba,75ceff5c399c7751 X-Google-Attributes: gid1094ba,public X-Google-ArrivalTime: 1992-03-11 13:29:07 PST Xref: sparky comp.lang.fortran:1480 comp.sys.dec:1960 Path: sparky!uunet!decwrl!deccrl!news.crl.dec.com!nntpd.lkg.dec.com!sousa.ltn.dec.com!grue!peterson From: peterson@grue.enet.dec.com (Bob Peterson) Newsgroups: comp.lang.fortran,comp.sys.dec Subject: Re: problems running fortran-based MCNP code on Decstation running Ultrix 4.2 Message-ID: <212@sousa.ltn.dec.com> Date: 10 Mar 92 21:48:55 GMT References: Sender: newsa@sousa.ltn.dec.com Reply-To: peterson@tle.enet.dec.com Followup-To: comp.lang.fortran Organization: Digital Equipment Corporation (Sorry for the late followup, but my original attempt seems to have failed. Apologies iof this is a repeat. \bob) In article , oliveria@caen.engin.umich.edu (Roque Donizete de Oliveira) writes: > Has anyone managed to get MCNP (Monte Carlo for Neutronics and >Photonics) to >compile (this is no problem) and run properly (most of the test cases >crash >with overflow errors) on a Decstation 5000 running Ultrix 4.2 and Dec's >Fortran >compiler (either version 3.04 or 3.1) ? > If so, I would appreciate getting any diffs to the source code (if >any) or >the compilation flags you used. Has -fpe 1, 2 or 3 been useless? DEC Fortran abides by a different set of defaults for floating point exceptions. For one thing, at certains settings it forces underflows to zero and not do IEEE gradual underflow. If MCNP exceeds the range of floating point precision, then maybe -r8 will help by using double precision instead of single precision. The defaults we chose were, we hope, in line with helping users find numerical problems with their code. \bob