[Date Prev][Date Next][Thread Prev][Thread Next][Search]
[Main Index]
[Thread Index]
[HEASARC Archives]
Increasing XSPEC array sizes to accommodate SIS matrices
Thanks to their energy resolution, the new SIS matrices for simulations
are large - too large for some installations of XSPEC. If your XSPEC
crashes when the matrices are read in, you will have to increase the
size of the relevant arrays and remake the program. Here's how to do it:
The files:
$XANADU/spectral/xspec/inc/xspec.inc
for Unix/Ultrix, or
XANADU:[SPECTRAL.XSPEC.INC]XSPEC.INC
for VMS set the sizes of the arrays. Please edit the file to change the
array declarations to:
PARAMETER (MAXNE=10000,MAXGRP=16384,MAXRES=1500000)
PARAMETER (MAXMOD=100,MAXMPR=500,MAXFPR=500,MAXVPR=500)
PARAMETER (MAXPHA=6144,MAXPHS=4096,MAXFIL=20)
PARAMETER (MAXALP=MAXVPR*(MAXVPR+1)/2)
PARAMETER (MAXWRK=MAXNE+1,MAXBUF=MAXPHS*6)
PARAMETER (MAXARR=MAXVPR*MAXVPR)
PARAMETER (MAXNOP=10)
PARAMETER (MAXENE=81920)
PARAMETER (MAXMAX=245760)
Then remake XSPEC. These are the values which will be used in the new
XSPEC release (coming soon).
Keith Arnaud and Charles Day, ASCA GOF, NASA GSFC
Please send comments and questions to ascanra@athena.gsfc.nasa.gov