next up previous contents index
Next: Linking on VMS Up: The Library Version Previous: Reserved logical unit numbers:

Reserved logical unit numbers: UNIX

SIC has the following usage of Fortran logical unit numbers:

          5        Input of Commands, shareable 
          6        Output of messages, shareable
          50 to 99 Used by SIC_GETLUN
Units 5 and 6 are respectively accessed via usual READ and WRITE instructions. If you wish to be able to reassign the input or/and output of your program to a file, you should also make your input and output in the same way (or use the SIC_WPR, SIC_WPRN routine). If you mix READ(5,format) and WRITE(6,format) instructions with PRINT, READ(*,format) or WRITE(*,format) instructions, you might experience some problem. Mixing with C output (printf routine for example) may yield to disordered output because of buffering. Use of routine GAGOUT   is recommended to printout messages.

Units 50 to 99 are assumed to be available for the routine SIC_GETLUN  . This subroutine returns the next available logical unit in this range, and keeps track of their usage. Conflict may occur if the user directly opens a file under a unit in this range without allocating the unit through a call to SIC_GETLUN. Other units are never used by SIC and other GILDAS programs.


next up previous contents index
Next: Linking on VMS Up: The Library Version Previous: Reserved logical unit numbers:
Gildas manager
2002-06-07