next up previous contents
Next: Working with private code Up: Working with the FLIB Previous: Changing existing sources

Introducing new sources

  1. develop on your favorite computer.
  2. if you are not working on VMS:
    1. convert the FORTRAN sources to VMS:
      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
    2. xyz.for back to VMS.
  3. on VMS introduce the new module(s) into the master reference:
    cms
    set lib cms_flib
    cre el  xyz.for
    ins el  xyz.for for_all
    cre el  xyz.inc
    ins el  xyz.inc inc_all
    CTRL-Z
  4. on VMS a new makefile for the reference object library has to be built:
    cd ref_flib:
    @ref_ulib:MMS_REBUILD.COM flib 
    mms/des=flib
  5. on VMS update version for AIX:
    cd flib_aix              # area for AIX sources on VMS
    f2fmms flib "UNIX,AIX"   # rebuild makefile
    mms/des=f2fflib
    after successful completion copy the converted sources to AIX (/fopi/flib), see gif.
  6. update the libraries on AIX: login under fopi,
    cd flib
    buildmk flib $FOPI/ $CAVEB/ # rebuild makefile
    make -f flib.make
  7. on VMS update version for ULTRIX:
    cd flib_ultrix              # area for ULTRIX sources on VMS
    f2fmms flib "UNIX,ULTRIX"   # rebuild makefile
    mms/des=f2fflib
    after successful completion copy the converted sources to ULTRIX (/fopi/flib), see gif.
  8. update the libraries on ULTRIX: login under fopi,
    cd flib
    buildmk flib $FOPI/ $CAVEB/ # rebuild makefile
    make -f flib.make
  9. on VMS update version for MVS:
    cd flib_mvs         # area for MVS sources on VMS
    f2fmms flib MVS_IBM
    mms/des=f2fflib
    after successful completion copy the converted sources to MVS: KP09.FLIB.FORT(*) and/or KP09.FLIB.INCL(*), see gif.
  10. update the libraries on MVS: login under KP09,
    buildmk flib ulib & # rebuild makefile, batch preferable
    make -f flib.make &      # batch preferable
  11. on VMS update version for offline VMS:
    cd flib_vms             # area for offline sources on VMS
    f2fmms flib VMS_DEC     # rebuild makefile
    mms/des=f2fflib         # check for successful completion !
    build_make flib VMS_DEC # rebuild makefile for flib.olb
    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