Setting up Watfiv on MUSIC/SP ----------------------------- Updated: Mar 1, 2008 Watfiv is the fast, user-friendly Fortran compiler written by the University of Waterloo many years ago. A version of Watfiv (V2L0 from University of Waterloo) is present on the MUSIC/SP Demo system. It is without support or source. There is a sample program in file ccde:watfiv.test1 (there is a typo in some early versions of it: change ENTER X4,X4 to ENTER X4,X8 ). To make Watfiv available to all userids of the demo system, do the following (these changes are done automatically if you apply the misc9.arc update, and are not necessary on MUSIC/SP 6.2): (1) Change the file ccde:wat5.libe from PRIV to SHR, to make it readable by all users. You can do this by editing the file, then save it using the Editor command: file * shr Be careful not to change anything on the screen while editing, since the file contains binary data. (2) Create a PUBL file ccde:watfiv, if it does not already exist, containing: /COM ** Executor for WATFIV: Use /INC WATFIV instead of /LOAD WATFIV /SYS REGION=512 /FILE WATLIB N(CCDE:WAT5.LIBE) DEF /LOAD WATFIV You can do this by: /edit ccde:watfiv new Type in the lines, then end by the Editor command: file * publ Once you have made the above adjustments, Watfiv is ready for use. To invoke it, use /inc watfiv instead of /load watfiv. For example: /inc watfiv PRINT,'Hello from Watfiv' STOP END For some usage info, use the MUSIC command /help watfiv or see: http://musicm.mcgill.ca/sim390/http/help_watfiv.htm