anchor.diff:          ierr=2
           errstrng="write_props"
           if(idout.gt.izero) close(kw)
  -        close(kp)
  +        if(idsk.gt.izero) close(kp)
           return
   c
   c...  error writing to output file
  
positive.code: c                       Rensselaer Polytechnic Institute
  c                        (C) 2005  All Rights Reserved
  c
  c  Copyright 2005 Rensselaer Polytechnic Institute.
  c  All worldwide rights reserved.  A license to use, copy, modify and
  c  distribute this software for non-commercial research purposes only
  c  is hereby granted, provided that this copyright notice and
  
negative.code: c...  normal return
  c
        if(idout.gt.izero) close(kw)
        if(idsk.gt.izero) close(kp)
        return
  c
  c...  error opening output file
  