Re: ISIS non-thermal module compilation error

From: Michael Nowak <mnowak_at_email.domain.hidden>
Date: Mon, 29 Apr 2013 11:00:31 -0400
On Apr 29, 2013, at 10:25 AM, Jamie Cohen <jcohen_at_email.domain.hidden
> I'm trying to compile isis and the non-thermal module for isis on a mac running Mountain Lion. I compiled gsl and slang2 via macports, both with the universal variants, and am using gcc 4.2.1 and gfortan 4.6.3 (both recommended for building heasoft). If I follow the mac installation instructions for isis, building everything (heasoft & xspec+patch, the S-Lang gsl L module, and isis) with -m32 flags, I don't notice any obvious compilation errors when building isis, but when I call isis on the command line it says:

I can't address the specific issues you've been having, but in general I will say that Mountain Lion is a bit of a pain in the ass, and it mostly has to do with HEASOFT.  (I expect this to change by the end of the year - allegedly for various reasons HEASOFT might be forced to support *only* Mountain Lion in future releases, and this might finally force them to clean up their 32-bit hacks, and allow it all to be built 64-bit on the Macs.)

I use Xcode gcc 4.2.1 and gfortran 4.7.1 from sourceforge.  For the most part, when it comes to compilers and major libraries, I install separately and eschew Macports and Fink.

For HEASOFT, I have built two versions: a 64-bit, XSPEC only version against which I build S-lang and ISIS, and a 32-bit version that has everything.

For the XSPEC only version, download the source code from HEASOFT, make sure you click on XSPEC and only XSPEC and absolutely nothing else, and then in the downloaded package, delete the heagen directories.  It will then happily build 64-bit, and you can forget about all the -m32 stuff.  Also, when building S-lang I configured with --with-readline=$HEADAS  (to get the 64-bit, HEASOFT compiled GNU readline - there are a number of hacks required to the GNU readline make files to get that to compile on Mountain Lion, which our friends at HEASOFT have implemented), and likewise when building ISIS I did --with-headas=$HEADAS and --with-readline=$HEADAS.

The 32-bit HEASOFT got built in a separate directory from a completely different HEASOFT download, and doesn't have any S-lang and ISIS built against it.  I just use that for the more general HEASOFT stuff, like fv.

The 64-bit stuff works fine with ISIS, with two exceptions: anything using the XSPEC udmget module does not work as a local model, and Tim Kallman's warmabs code doesn't work.  (Both of those fail for me in XSPEC alone, or run under ISIS.)

Anyhow, I don't know if going XSPEC-only, 64-bit will solve your problems, but it has at least
lessened mine when it comes to Mountain Lion.  (After about a month, I am probably at about
90-95% functionality compared to my old Snow Leopard setup.)

-Mike Nowak
----
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 Mon Apr 29 2013 - 11:00:49 EDT

This archive was generated by hypermail 2.2.0 : Tue May 07 2013 - 11:45:26 EDT