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

 
 

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

Submitted by:  Mike Miller <mtmiller>
Submitted on:  Mon 27 Jan 2014 10:55:08 PM UTC  
 
Category: LibrariesSeverity: 1 - Wish
Priority: 5 - NormalItem Group: Feature Request
Status: NoneAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Any

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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:

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>
Project Member

 

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

Attach File(s):
   
   
Comment:
   

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Updated the item)
  • -unavailable- added by mtmiller (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 10 Feb 2014 03:09:07 PM UTCpantxoAttached File-=>Added errno2str.patch, #30497

    Back to the top


    Powered by Savane 3.1-cleanup