\documentstyle{article} \begin{document} The following changes must be made to port SCHEDULE programs from the Alliant to the Balance. \vspace{3mm} In the file {\em putq.c}, the parms structures are redone to allow for variable number of parameters. Also an extra field must be added called statlink. The order of the parameters in the declaration of WORK must be reversed. \vspace{3mm} The routines work, sched, putq, and spawn must all be rewritten so they determine the number of parameters in the calling sequence and then switch to the appropriate section. \vspace{3mm}. In the file {\em ftsubs.f}, the first three lines should be \vspace{3mm} \$ SYSTEM \$ STDUNIT \$ ALIGNWARN \vspace{3mm} Each subroutine and function should have as its second line \vspace{3mm} C\$ REENTRANT. \vspace{3mm} The subroutines checkin, gtprb, libopn, nxtag, start2, and place all need to have an underscore preceeding them. \vspace{3mm} The subroutine libopn needs the statement \vspace{2mm} external \_ work \vspace{2mm} added to it. To initialize locks off, use the call \_ s\_ init\_ lock instead of setting the lock to zero. The call to WORK is preceeded by a C\$ DOACROSS directive and the parameter j that is passed must be by reference. \vspace{3mm} Each lockon and lockoff should be changed to \_ s\_ lock and \_ s\_ unlock. \end{document}