Skip to content

Instantly share code, notes, and snippets.

@krishnakalyan3
Created July 29, 2017 16:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krishnakalyan3/1225efa5cc13a53a3b4f859b10aefe79 to your computer and use it in GitHub Desktop.
Save krishnakalyan3/1225efa5cc13a53a3b4f859b10aefe79 to your computer and use it in GitHub Desktop.
singlenode clustering error
krishna@Krishna:~/open-source/systemml$ /Users/krishna/open-source/systemml/bin/systemml-standalone.py -f Kmeans.dml -nvargs X=/Users/krishna/open-source/systemml/scripts/perftest/temp/data-gen/clustering.dense.10k_100/X.data k=50 maxi=50 tol=0.0001 C=/Users/krishna/open-source/systemml/scripts/perftest/temp/train/Kmeans.clustering.dense.10k_100/C.data
17/07/29 12:19:21 INFO api.DMLScript: BEGIN DML run 07/29/2017 12:19:21
17/07/29 12:19:22 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
BEGIN K-MEANS SCRIPT
Reading X...
Taking data samples for initialization...
17/07/29 12:19:23 INFO mapred.FileInputFormat: Total input paths to process : 1
Initializing the centroids for all runs...
SystemML Statistics:
Total execution time: 1.684 sec.
Number of executed MR Jobs: 0.
17/07/29 12:19:25 INFO api.DMLScript: END DML run 07/29/2017 12:19:25
17/07/29 12:19:25 ERROR api.DMLScript: Failed to execute DML script.
org.apache.sysml.runtime.DMLRuntimeException: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in for program block generated from for statement block between lines 91 and 125 -- Error evaluating for program block
at org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:130)
at org.apache.sysml.api.ScriptExecutorUtils.executeRuntimeProgram(ScriptExecutorUtils.java:94)
at org.apache.sysml.api.DMLScript.execute(DMLScript.java:741)
at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:505)
at org.apache.sysml.api.DMLScript.main(DMLScript.java:232)
Caused by: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in for program block generated from for statement block between lines 91 and 125 -- Error evaluating for program block
at org.apache.sysml.runtime.controlprogram.ForProgramBlock.execute(ForProgramBlock.java:157)
at org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:123)
... 4 more
Caused by: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 94 and 120 -- Error evaluating instruction: CP°leftIndex°_mVar228·MATRIX·DOUBLE°_mVar237·MATRIX·DOUBLE°1·SCALAR·INT·true°10·SCALAR·INT·true°1·SCALAR·INT·true°10·SCALAR·INT·true°_mVar239·MATRIX·DOUBLE
at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:316)
at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeInstructions(ProgramBlock.java:217)
at org.apache.sysml.runtime.controlprogram.ProgramBlock.execute(ProgramBlock.java:163)
at org.apache.sysml.runtime.controlprogram.ForProgramBlock.execute(ForProgramBlock.java:145)
... 5 more
Caused by: org.apache.sysml.runtime.DMLRuntimeException: Invalid values for matrix indexing: dimensions of the source matrix [451x10] do not match the shape of the matrix specified by indices [1:10, 1:10].
at org.apache.sysml.runtime.matrix.data.MatrixBlock.leftIndexingOperations(MatrixBlock.java:3654)
at org.apache.sysml.runtime.matrix.data.MatrixBlock.leftIndexingOperations(MatrixBlock.java:3631)
at org.apache.sysml.runtime.instructions.cp.MatrixIndexingCPInstruction.processInstruction(MatrixIndexingCPInstruction.java:95)
at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:286)
... 8 more
Exception in thread "main" org.apache.sysml.api.DMLException: org.apache.sysml.runtime.DMLRuntimeException: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in for program block generated from for statement block between lines 91 and 125 -- Error evaluating for program block
at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:532)
at org.apache.sysml.api.DMLScript.main(DMLScript.java:232)
Caused by: org.apache.sysml.runtime.DMLRuntimeException: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in for program block generated from for statement block between lines 91 and 125 -- Error evaluating for program block
at org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:130)
at org.apache.sysml.api.ScriptExecutorUtils.executeRuntimeProgram(ScriptExecutorUtils.java:94)
at org.apache.sysml.api.DMLScript.execute(DMLScript.java:741)
at org.apache.sysml.api.DMLScript.executeScript(DMLScript.java:505)
... 1 more
Caused by: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in for program block generated from for statement block between lines 91 and 125 -- Error evaluating for program block
at org.apache.sysml.runtime.controlprogram.ForProgramBlock.execute(ForProgramBlock.java:157)
at org.apache.sysml.runtime.controlprogram.Program.execute(Program.java:123)
... 4 more
Caused by: org.apache.sysml.runtime.DMLRuntimeException: ERROR: Runtime error in program block generated from statement block between lines 94 and 120 -- Error evaluating instruction: CP°leftIndex°_mVar228·MATRIX·DOUBLE°_mVar237·MATRIX·DOUBLE°1·SCALAR·INT·true°10·SCALAR·INT·true°1·SCALAR·INT·true°10·SCALAR·INT·true°_mVar239·MATRIX·DOUBLE
at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeSingleInstruction(ProgramBlock.java:316)
at org.apache.sysml.runtime.controlprogram.ProgramBlock.executeInstructions(ProgramBlock.java:217)
at org.apache.sysml.runtime.controlprogram.ProgramBlock.execute(ProgramBlock.java:163)
at org.apache.sysml.runtime.controlprogram.ForProgramBlock.execute(ForProgramBlock.java:145)
... 5 more
Caused by: org.apache.sysml.runtime.DMLRuntimeException: Invalid values for matrix indexing: dimensions of the source matrix [451x10] do not match the shape of the matrix specified by indices [1:10, 1:10].
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment