Re: Local models question

From: Joey Neilsen <neilsenj_at_email.domain.hidden>
Date: Fri, 11 Oct 2013 12:30:19 -0400
Hi John,

On Fri, 2013-10-11 at 11:39 -0400, John Houck wrote:
> On Thu, Oct 10, 2013 at 23:45 -0400, Joey Neilsen wrote:
> >
> > Any insight into why XSPEC knows about the local models but ISIS doesn't?
> 
> 
> Before using the dustscat model in isis, did you explicitly
> load the xspec module via require("xspec") ?

Yep. I have require("xspec"); in my .isisrc.

> If you run isis with the '-v' option, then load the xspec module,
> you should see what files are being loaded.  For example, try:
> 
>  % setenv LMODDIR /usr/local/xspec_lmodels/i686
>  % isis -v
>  ...
>  isis> require ("xspec");
>  
> This should show the path to the local model library as it
> is loaded.
> 
> Does that help?

Maybe? I commented out the require command from my .isisrc, ran isis -v,
and then did require("xspec"); I got the following output:

blackhole-495:echo $LMODDIR
/usr/local/xspec_lmodels/i686
isis> require("xspec");
Loading /usr/local/isis/isis/1.6.2/share/xspec.sl [ns:isis]     
Importing /usr/local/isis/isis/1.6.2/lib/modules/xspec-module.so   
Loading /usr/local/isis/share/slsh/readascii.sl [ns:isis]        
Loading /usr/local/isis/isis/1.6.2/share/parse_model_dat.sl [ns:isis]
Parsing /usr/local/heasoft/x86_64-unknown-linux-gnu-libc2.12/../spectral/manager/model.dat

You can see that it doesn't load any local models at all. I know there
should be a couple lines like:

Loading /usr/local/xspec_lmodels/i686/libxspec_lmodels.so
Parsing /usr/local/xspec_lmodels/i686/lmodel.dat

Those files do exist, it's just that ISIS isn't grabbing them...

Thanks for your help, John!

Joey

----
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 11 2013 - 12:31:23 EDT

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