Uploaded image for project: 'SystemDS'
  1. SystemDS
  2. SYSTEMDS-2955

Federated binary matrix-vector fails for 1x1 vector

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • SystemDS 2.1
    • None
    • None

    Description

      An Error Occured :
            DMLRuntimeException -- org.apache.sysds.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 32 and 51 -- Error evaluating instruction: CP°+°_mVar170·MATRIX·FP64°_mVar172·MATRIX·FP64°_mVar173·MATRIX·FP64°32
            DMLRuntimeException -- ERROR: Runtime error in program block generated from statement block between lines 32 and 51 -- Error evaluating instruction: CP°+°_mVar170·MATRIX·FP64°_mVar172·MATRIX·FP64°_mVar173·MATRIX·FP64°32
            DMLRuntimeException -- Invalid values for matrix indexing: [1506:3046,1:1] must be within matrix dimensions [1,1]
      
      org.apache.sysds.runtime.DMLRuntimeException: org.apache.sysds.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 32 and 51 -- Error evaluating instruction: CP°+°_mVar170·MATRIX·FP64°_mVar172·MATRIX·FP64°_mVar173·MATRIX·FP64°32
              at org.apache.sysds.runtime.controlprogram.Program.execute(Program.java:155)
              at org.apache.sysds.api.ScriptExecutorUtils.executeRuntimeProgram(ScriptExecutorUtils.java:88)
              at org.apache.sysds.api.DMLScript.execute(DMLScript.java:423)
              at org.apache.sysds.api.DMLScript.executeScript(DMLScript.java:266)
              at org.apache.sysds.api.DMLScript.main(DMLScript.java:164)
      Caused by: org.apache.sysds.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 32 and 51 -- Error evaluating instruction: CP°+°_mVar170·MATRIX·FP64°_mVar172·MATRIX·FP64°_mVar173·MATRIX·FP64°32
              at org.apache.sysds.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:286)
              at org.apache.sysds.runtime.controlprogram.ProgramBlock.executeInstructions(ProgramBlock.java:199)
              at org.apache.sysds.runtime.controlprogram.BasicProgramBlock.execute(BasicProgramBlock.java:125)
              at org.apache.sysds.runtime.controlprogram.Program.execute(Program.java:149)
              ... 4 more
      Caused by: org.apache.sysds.runtime.DMLRuntimeException: Invalid values for matrix indexing: [1506:3046,1:1] must be within matrix dimensions [1,1]
              at org.apache.sysds.runtime.matrix.data.MatrixBlock.validateSliceArgument(MatrixBlock.java:3997)
              at org.apache.sysds.runtime.matrix.data.MatrixBlock.slice(MatrixBlock.java:3960)
              at org.apache.sysds.runtime.matrix.data.MatrixBlock.slice(MatrixBlock.java:3941)
              at org.apache.sysds.runtime.matrix.data.MatrixBlock.slice(MatrixBlock.java:117)
              at org.apache.sysds.runtime.controlprogram.federated.FederationMap.lambda$broadcastSliced$0(FederationMap.java:172)
              at java.util.Arrays.lambda$parallelSetAll$0(Arrays.java:4718)
              at java.util.stream.ForEachOps$ForEachOp$OfInt.accept(ForEachOps.java:204)
              at java.util.stream.Streams$RangeIntSpliterator.forEachRemaining(Streams.java:110)
              at java.util.Spliterator$OfInt.forEachRemaining(Spliterator.java:693)
              at java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:482)
              at java.util.stream.ForEachOps$ForEachTask.compute(ForEachOps.java:290)
              at java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:731)
              at java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:289)
              at java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:401)
              at java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:734)
              at java.util.stream.ForEachOps$ForEachOp.evaluateParallel(ForEachOps.java:159)
              at java.util.stream.ForEachOps$ForEachOp$OfInt.evaluateParallel(ForEachOps.java:188)
              at java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
              at java.util.stream.IntPipeline.forEach(IntPipeline.java:427)
              at java.util.stream.IntPipeline$Head.forEach(IntPipeline.java:584)
              at java.util.Arrays.parallelSetAll(Arrays.java:4718)
              at org.apache.sysds.runtime.controlprogram.federated.FederationMap.broadcastSliced(FederationMap.java:170)
              at org.apache.sysds.runtime.instructions.fed.BinaryMatrixMatrixFEDInstruction.processInstruction(BinaryMatrixMatrixFEDInstruction.java:103)
              at org.apache.sysds.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:250)
              ... 7 more
      

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            mboehm7 Matthias Boehm
            mboehm7 Matthias Boehm
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment