Re: isis falls down with a simple script

From: John Houck <houck_at_email.domain.hidden>
Date: Fri, 17 May 2013 19:57:12 -0400
On Fri, May 17, 2013 at 19:25 -0400, Raul Puebla wrote:
> Hi,
> 
> I am new in isis.
> 
> I tried to run the next script:
> 
> variable n = 3;
> variable t = default_plasma_state ();
> t.norm = Double_Type[n];
> t.norm[*] = 1.0;
> t.temperature = 1.e6 + (1.e7 * [1:n])/n;
> create_aped_fun ("xaped", t);

I don't see where you have loaded the spectroscopy database.

The models generated by create_aped_fun() require that the
spectroscopy database, atomdb, be loaded. If the ATOMDB
environment variable is set, providing the path to the
database, then you can load the database like so:

   plasma(aped);
   
Atomdb is available from here:  http://www.atomdb.org/   


> fit_fun ("xaped(1)");
> list_par;
> variable e = 10.0^[-1:1:0.005];
> variable n = length (e);
> variable lo = e[[0:n-1]];
> variable hi = e;
> hi[[0:n-2]] = lo[[1:n-1]];
> hi[n-1]=2.*lo[n-1] - lo[n-2];
> variable xpar = [0:9];
> print(xpar);
> xpar = [1.0,1.0,1.0,4333333,7666667,1.1e+07,1.0,0.0,0.0,1.0];
> print(xpar);
> variable s = eval_fun2("xaped",lo,hi,xpar);
> 
> 
> and then isis falls down...:
> 
> 
> **** isis:  Backtrace start
[...]
> **** isis:  Fatal Error:  Please report this bug to houck_at_email.domain.hidden
I'd like to understand why this crash occurred because I cannot
reproduce it.

I assume you're using the current isis-1.6.2-19?

Please send me the files config.log and config.status from
your isis build.

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 May 17 2013 - 19:57:29 EDT

This archive was generated by hypermail 2.3.0 : Fri May 02 2014 - 08:35:47 EDT