help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Running m-files generated by Petsc 3.4.3


From: Torquil Macdonald Sørensen
Subject: Running m-files generated by Petsc 3.4.3
Date: Fri, 24 Jan 2014 14:46:27 +0100

Hi!

My Petsc 3.4.3-based program outputs a Matlab-file that defines some sparse matrices in CSC format. They run fine in Matlab R2013b, but not in Octave 3.4.3. The error output I'm getting when running the m-file in Octave is:

error: spconvert: argument must be sparse or real matrix with 3 or 4 columns
error: called from:
error:   /usr/share/octave/3.4.3/m/sparse/spconvert.m at line 37, column 7
error:   /tmp/build/output.m at line 99, column 4

Is the m-file supposed to work in Octave, since it works in Matlab? Is it likely to work if I upgrade to the newest Octave? I'm attaching the m-file in this message.

Thanks!
Torquil Sørensen

Attachment: output.m
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]