05.03.2013 Views

The NJOY Nuclear Data Processing System, Volume 1:User's Manual

The NJOY Nuclear Data Processing System, Volume 1:User's Manual

The NJOY Nuclear Data Processing System, Volume 1:User's Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

\<br />

1<br />

#<br />

This code is extremely “1/0 bound.” Run times can often be reduced by re-<br />

questing larger input/output buffers from the system. <strong>The</strong> blocked-binary mode<br />

should be used whenever possible. Also, 1/0 time in BROADR can be reduced by<br />

allocating more storage if available (see /STORE/ and NAMAX in BROADR).<br />

VI. CODE CONVERSION<br />

<strong>The</strong> reference version of <strong>NJOY</strong> operates on CDC-7600 equipment at Los Alamos.<br />

<strong>The</strong> code includes comment cards that allow many of the changes required to<br />

convert to an IBM system to be made very simply. A typical comment-card ex-<br />

ample follows.<br />

CCDC<br />

CCDC<br />

CIBM<br />

c<br />

CIBM<br />

.<br />

In the (10/81) version<br />

ing and 177 blocks of<br />

column 1 of all card<br />

.<br />

INTEGER H(5)<br />

REAL*8 H(5)<br />

there are 146 such blocks of CDC machine-dependent cod-<br />

IBM coding. To convert to IBM form, insert a “C” in<br />

images bracketed with “CCDC” cards, and remove the “C”<br />

from column 1 of all cards bracketed by “CIBM” cards. This can be done with a<br />

simple preprocessing program such as the one listed in Appendix D.<br />

Additional changes may be required in BANNER (time, date, machine), ERROR<br />

(system fatal exit, traceback), character handling for free-form input (FREE,<br />

PACK), input/output routines (OPENZ, CLOSEZ, REPOZ, SKIPRZ, REED, RITE), and<br />

mathematical subroutines (E1,GAMI). <strong>The</strong> largest group of system-dependent<br />

routines has to do with plotting. COVR uses the DISSPLA software system,<br />

which is available at many installations. DTFR uses a local SC-4020 library,<br />

which is not widely available; however, the plotting calls have been left in<br />

the<br />

the<br />

Los<br />

code as a guide for the conversion to other systems.<br />

As a demonstration of portability, versions of<br />

following machines (operating systems): CDC-7600<br />

Alamos National Laboratory, CDC-7600 (LTSS) at<br />

<strong>NJOY</strong> have been installed on<br />

(LTSS) and CRAY-1 (CTSS) at<br />

the Magnetic Fusion Energy<br />

23

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!