bugGNU Octave - Bugs: bug #41372, Translate ARPACK error codes into...

 
 

bug #41372: Translate ARPACK error codes into human-readable error strings

Submitter:  Mike Miller <mtmiller>
Submitted:  Mon 27 Jan 2014 10:55:08 PM UTC
   
 
Category:  Libraries Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 17 Aug 2018 07:03:33 AM UTC, comment #4: 

Thanks Rik for taking Care of this.

Pantxo Diribarne <pantxo>
Group Member
Fri 17 Aug 2018 03:53:43 AM UTC, comment #3: 

The patch no longer applied so I had to clean it up a lot.  I checked it in here (https://hg.savannah.gnu.org/hgweb/octave/rev/650e5d50cd47).  Thanks Pantxo.  Sorry it took nearly 4 years to apply.

Rik <rik5>
Group administrator
Thu 15 Dec 2016 11:12:31 AM UTC, comment #2: 

This issue is still present in Octave 4.2.0.

There is a PATCH supplied in comment #1.

Hartmut <hardy>
Mon 10 Feb 2014 03:09:07 PM UTC, comment #1: 

In case translation is to be done in octave, I have attached a patch proposal for eis-base.cc.

I used man pages from [1-6] to parse function specific error number correspondence.

The arpack error string is appended a request for bug report ("This should not happen. Please, see http://www.gnu.org/software/octave/bugs.html, and file a bug report") when it's unambiguously a bug in octave interface to arpack (i.e. any error number but -9, -14 and -9999 which refer to Lapack or convergence errors).


[1] http://www.mathkeisan.com/UsersGuide/man/dnaupd.html
[2] http://www.mathkeisan.com/UsersGuide/man/znaupd.html
[3] http://www.mathkeisan.com/UsersGuide/man/dsaupd.html
[1] http://www.mathkeisan.com/UsersGuide/man/dneupd.html
[2] http://www.mathkeisan.com/UsersGuide/man/zneupd.html
[3] http://www.mathkeisan.com/UsersGuide/man/dseupd.html

(file #30497)

Pantxo Diribarne <pantxo>
Group Member
Mon 27 Jan 2014 10:55:08 PM UTC, original submission:  

As discussed in bug #41305, error messages like this from the eigs function:


eigs: error -14 in dneupd


are not very helpful. ARPACK has enumerated what its error codes mean, so it could be left to Octave to translate them into useful strings, or we could request that ARPACK provide a strerror-like functionality.

Mike Miller <mtmiller>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #30497:  errno2str.patch added by pantxo (13KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by mmuetzel (Updated the item)
  • -email is unavailable- added by hardy (Posted a comment)
  • -email is unavailable- added by pantxo (Updated the item)
  • -email is unavailable- added by mtmiller (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-08-17 rik5 StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2016-12-15 mmuetzel StatusNone Patch Submitted
    2014-02-10 pantxo Attached File- Added errno2str.patch, #30497

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code