anchor.diff:        inquire(unit=dynk_iData(dynk_niData), opened=lOpen)
         if(lOpen) then
           write(lout,"(a)")"DYNK> ERROR FUN:PIPE File '"//trim(dynk_cData(dynk_ncData-2))//"' is already open"
  -        call prror(-1)
  +        iErr = .true.
  +        return
         end if
   
         ! DYNK PIPE does not support the CR version, so BOINC support (call boincrf()) isn't needed
         open(unit=dynk_iData(dynk_niData),file=dynk_cData(dynk_ncData-2),action="read",iostat=ioStat,status="old")
         if(ioStat /= 0) then
           write(lout,"(a,i0)") "DYNK> ERROR FUN:PIPE Could not open file '"//trim(dynk_cData(dynk_ncData-2))//"' stat = ",ioStat
  -        call prror(-1)
  +        iErr = .true.
  +        return
         end if
   
         ! Open the outPipe
  
positive.code:     ! Sanity checks
      if(len(lnSplit(4)) > mStrLen-1 .or. len(lnSplit(5)) > mStrLen-1 .or. len(lnSplit(6)) > mStrLen-1 ) then
        write(lout,"(a,i0)") "DYNK> ERROR FUN:PIPE got one or more strings which is too long. Max length is ",mStrLen-1
        call prror(-1)
      end if
  
      ! Store data
  
negative.code:     if(dynk_iData(dynk_funcs(dynk_nFuncs,3)+2) < 0) then
        ! mcut < 0
        write (lout,"(a)") "DYNK> ERROR FUN:RANDG mcut must be >= 0"
        iErr = .true.
        return
      end if
  
    ! END CASE RANDG
  