Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] abph_v1_0.gz(55 Kbytes)
Manuscript Title: WORKER: a program for histogram manipulation.
Authors: J.E. Bolger, H. Ellinger, C.F. Moore
Program title: WORKER
Catalogue identifier: ABPH_v1_0
Distribution format: gz
Journal reference: Comput. Phys. Commun. 16(1979)345
Programming language: Fortran, MACRO.
Computer: PDP-11/45.
Operating system: RDX-11D VERSION 6.
Program overlaid: yes
RAM: 80K words
Word size: 16
Peripherals: disc.
Keywords: General purpose, Data manipulation, Utility, Histogram, Display, Output, Calculator.
Classification: 4.14.

Nature of problem:
A set of programs is provided which may link to any user-written program, permitting dynamic creation of histograms as well as display, manipulation and transfer of histogrammed data. With wide flexibility, constants within the user's code may be set or monitored at any time during execution.

Solution method:
The user's code needs only to generate data and request its entry into a histogram. Histograms are dynamically created outside the user's task space. These histrograms may be displayed and manipulated by WORKER. An on-line compiler in WORKER accepts mathematical statements very similar to FORTAN and permits manipulation of up to 240 variables which are made available to the user's program through a Shareable, Global Memory Area.

A maximum of 40 histograms may be allocated in memory; however, the amount of core used by these histrograms may be any amount of memory remaining after the required task images are loaded. As many as 8 histograms can be combined, displayed, or transferred to a disk data file, on a channel-by-channel basis, in virtually any mathematical combination which includes functions such as SQRT, MAX, MIN as well as the standard operators +, -, *, / and **.

Unusual features:
The programs provided are designed specifically for a multitask space environment in which communication between tasks can be achieved easily and efficiently. The reference to HSTMGE in this paper is provided as an example and the user must provide his own, machine dependent histrogramming package which can then be coupled to WORKER, using RSX. Users are warned that WORKER is installation dependent in its present form.

Running time:
The amount of time required to store the user's data into a histogram is approximately 150 mu s. The time required for display of a histogram or its transfer to the disk is a few seconds depending upon the size of the histogram. The time required to compile and to generate the necessary task images is done with a batch job which takes roughly 35 min but need only be done once.