octave-maintainers
[Top][All Lists]
Advanced

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

Re: need test run on Mac


From: John W. Eaton
Subject: Re: need test run on Mac
Date: Thu, 27 Feb 2014 12:58:39 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9

On 02/27/2014 01:56 AM, c. wrote:

can you suggest a simple example to test these assumptions?

Compile the two attached files with

  mkoctfile foo.cc bar.f

and then execute foo in Octave.  You should see something like this:

   ** On entry to barf   parameter number -7 had an illegal value
  error: foo: exception encountered in Fortran subroutine barf_

The first error is from XERBLA. The second is from Octave's F77_XFCN macro when it catches the exception.

Is the problem that we are not properly overriding the default xerbla function that is part of whatever BLAS library you are using?

As I understand it, the BLAS designers intended users to be able to replace XERBLA with their own error handling function. If the BLAS package on your system does not allow XERBLA to be replaced, then I think we need to try to fix that problem.

Here's a related bug report:

  https://savannah.gnu.org/bugs/?func=detailitem&item_id=38575

jwe


Attachment: foo.cc
Description: Text Data

Attachment: bar.f
Description: Text Data


reply via email to

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