Applying polfit to a zbs file:
Checkout aplib from CVS
in apfit_sample.F
change: Call apfit(0) to Call apfit(128)
and add call aprstbnk(0) if it is not there.
then do a usual:
imake_boot
gmake all
gmake apfit_sample
and then use
polfit.sc and polfit.sh to start the jobs
Common problems:
if you forget to add call aprstbnk(0)then you will get the following message in the name.err file:
tprogname ERROR: tensor: unnormalized len_sq(dir)-1 = -1
tprogname: Inappropriate ioctl for device