Re: warmabs error

From: John Houck <houck_at_email.domain.hidden>
Date: Fri, 4 Oct 2013 10:23:31 -0400
On Thu, Oct 03, 2013 at 15:15 -0430, Efrain Gatuzz wrote:
> I am trying to use the latest warmabs model version. When I use the
> "fit_counts" command  using that model I have the following error
>
> **** XSPEC is buggy:  Segmentation Fault while in an XSPEC function.
>
> and ISIS closes.  I do not have problems in XSPEC with the latest version
> of the model. I do not have problems on ISIS with previous versions of the
> model.  Do you know why it is happening with the latest version? I am using
> the 1.6.2-27 ISIS version

It's hard to say without more information.

As a first step it would be helpful to reproduce the problem in
the simplest possible way.  If the problem occurs when warmabs
is evaluated for a specific set of parameter values, then it
should be possible to reproduce it with a script like this:
   require ("xspec");
   load_par ("some_file.p");
   variable lo, hi,
      lam_min=<whatever>,  lam_max=<whatever>, num=<whatever>;
   (lo, hi) = linear_grid (lam_min, lam_max, num);
   variable f = eval_fun (lo,hi);
A short script like that would make debugging easier.

To find the parameter values in use when fit_counts fails,
try setting Fit_Verbose=1.

To find out exactly what's going wrong, the most
straightforward way to start may be to compile everything in
debug mode and then run isis in a debugger (gdb).

If you can send me a short script that reproduces the failure,
I'll try to install the same warmabs you're using and then use
your script to identify the problem.

Thanks,
-John

----
You received this message because you are
subscribed to the isis-users list.
To unsubscribe, send a message to
isis-users-request_at_email.domain.hiddenwith the first line of the message as:
unsubscribe
Received on Fri Oct 04 2013 - 10:23:58 EDT

This archive was generated by hypermail 2.2.0 : Wed Oct 23 2013 - 12:31:42 EDT