next up previous contents
Next: Introducing new sources Up: Working with the FLIB Previous: Working with the FLIB

Changing existing sources

  1. on VMS reserve a module for your exclusive use:
    cms                 # enter the VMS code management system
    set lib cms_flib    
    reserve xyz.for     # module is copied to your default directory and is marked as "in-use" 
    CTRL-Z              # leave CMS
  2. if you are not working on VMS:
    1. get a reference copy of the module and do your work.
    2. convert the FORTRAN sources:
      f2f -DVMS_DEC,ONLINE -j$FLIBVMS/flib.dictincl -r xyz.f     # AIX/ULTRIX -> VMS
      f2f -DVMS_DEC,ONLINE -jFLIB.VMS(dictincl) -iFLIB.VMS(dictid) -r xyz.fort  # MVS -> VMS
    3. xyz.for back to VMS.
  3. if you are working on VMS: do your work on the reserved module.
  4. on VMS update the master source in CMS:
    cms
    set lib cms_flib
    replace xyz.for     # module is deleted from your directory 
    CTRL-Z
  5. update FLIB on VMS:
    cd ref_flib
    mms/des=flib        # updates flib.olb
  6. on VMS update version for AIX:
    cd flib_aix         # area for AIX sources on VMS
    mms/des=f2fflib
    after successful completion copy the converted sources to AIX (/fopi/flib), see gif.
  7. update the libraries on AIX: login under fopi,
    cd flib
    make -f flib.make
  8. on VMS update version for ULTRIX:
    cd flib_ultrix         # area for ULTRIX sources on VMS
    mms/des=f2fflib
    after successful completion copy the converted sources to ULTRIX (/fopi/flib), see gif.
  9. update the libraries on ULTRIX: login under fopi,
    cd flib
    make -f flib.make
  10. on VMS update version for MVS:
    cd flib_mvs         # area for MVS sources on VMS
    mms/des=f2fflib
    after successful completion copy the converted sources to MVS: KP09.FLIB.FORT(*) and/or KP09.FLIB.INCL(*), see gif.
  11. update the libraries on MVS: login under KP09,
    make -f flib.make &   # batch preferable
  12. on VMS update version for offline VMS:
    cd flib_vms         # area for offline sources on VMS
    mms/des=f2fflib     # check for successful completion !
    mms/des=flib        # update flib.olb



Back to GSI Home Page Back to FOPI Home Page Index

fopi
Tue May 28 15:33:35 CST 1996