Re: more local models questions

From: Michael Nowak <mnowak_at_email.domain.hidden>
Date: Sat, 12 Oct 2013 17:14:42 +0300
On Oct 12, 2013, at 1:02 AM, Daryl Haggard <dhaggard_at_email.domain.hidden
> I too am having trouble getting local models to work with XSPEC/ISIS. I had the TBnew model loading very nicely in both programs earlier today, but then I tried to include xsdustscat (and no doubt changed something else along the way) and now I am dead in the water.
> 
> Like Joey, I was following Mike's notes on this page:
> 
> http://www.black-hole.eu/index.php/schools-workshops-and-conferences/1st-school-on-multiwavelength-astronomy/course-materials/105-heasoft-and-isis-installation-guide-building-xspec-local-models

Just be aware that those directions are a few years old, and a few versions of Mac OS X back.
Mac OS X has gotten much fussier to work with, for both XSPEC and ISIS

> When I run the "initpackage" command in XSPEC I get
> 
> -------
> 
> XSPEC12> initpackage xspec_lmodels lmodel.dat /usr/local/xspec_lmodels/i386/

If you are building TBnew in XSPEC, you have to add the -udmget option to the above.
There's some hacky XSPEC code that attempts C-style memory management in 
Fortran, and that's what udmget is referring to.  TBnew, and a few other local models,
make reference to it.  I believe the xspec.inc file gets pulled in with the -udmget option.

However, I will say that in Mac OS X, I have not been able to get any local model 
using udmget to run properly in either XSPEC or ISIS, so I have been using tbvarabs
instead on OS X.  But Macs are mysterious, so you might have better luck.

Joern will hopefully have TBnew translated into C in the not too distant future, and that
should become the official version for XSPEC & ISIS on all platforms.

-Mike



----
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 Sat Oct 12 2013 - 10:15:13 EDT

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