Re: Local models question

From: John Houck <houck_at_email.domain.hidden>
Date: Fri, 11 Oct 2013 12:59:53 -0400
On Fri, Oct 11, 2013 at 12:30 -0400, Joey Neilsen wrote:
> 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...

I see that your xspec_lmodels directory mentions "i686", which
normally suggests a 32-bit build, while your HEADAS path
mentions "x86_64", which normally means a 64-bit build.

Try the following:

  % file /usr/local/isis/isis/1.6.2/lib/modules/xspec-module.so
  % file /usr/local/xspec_lmodels/i686/libxspec_lmodels.so

What output do those two commands produce?
I'm wondering if the first shared library is 64-bit and the
second is 32-bit.  If so, then that's the problem -- the
local model shared library should be compiled as 64-bit,
the same as isis and xspec.

If both are 64-bit, then please try the following:
Please run isis like so:

   setenv LMODDIR /usr/local/xspec_lmodels/i686
   strace -o /tmp/xxx.log isis 

and then at the isis prompt, do:
   isis> require ("xspec");
   isis> exit;

Then please send me the file /tmp/xxx.log

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 11 2013 - 13:01:00 EDT

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