Archive for the 'Intel Macs' Category
Well, the download page was rather confusing collection of links, and had the Intel installers rather hard to find sometimes, so I reorganized it a bit today. Hopefully, it’ll be less confusing now.
.
Generally speaking, IRAF tasks are single-threaded, meaning they don’t take advantage of multiple cores or multiple processors. So, wanting to use all the power in my new Mac Pro – I discovered one can run tasks in the background in IRAF with an &, just like in UNIX.
So, for those of us with Intel processors that have 2 cores, or Mac Pros with 2 2-core chips, this is a good way to speed up tasks by running multiple processes simultaneously. For data reduction, this can speed things up, since each extraction of say a spectra is independent of the next one.
For example, I automate my extractions of echelle spectra. Usually I make doit files and just run them all sequentally. But now I can set up a “doit” file that contains lines like so
myspec file1 output1 &
myspec file2 output2 &
myspec file3 output3 &
myspec file4 output4
....
and then four more lines similarly. The first 3 are run in the background, the fourth is run normally… so the fifth line of this doit file doesn’t get run until the fourth (and presumably at about the same time the first 3) tasks finish. Feed this into the cl like so…
cl> cl < doit
And the end result? IRAF uses nearly 400% of my CPU… check out the screen cap below…
Update Ok this does work. If I want to log what’s happening in each “myspectask” I just need to do…
myspectask input1 output1 > log1 &
making sure the ampersand is after the redirect to a log file.
Update Number 2 Apparently, some times the next batch of 3 background tasks tries to fire up before the first three are done, and then for some reason I get a “no more background slots” error, even though I’m told that IRAF can have 20 background tasks. So, I stuck a sleep 3 after each non-background task to let the background tasks “catch up” and finish before the next four simultaneous tasks are started. That seems to work…

.
The headline says it all. I’ve actually tested this one. It’s on the download page and a direct download link is below.
Don’t forget that TABLES 3.6 is required to use STSDAS.
Download STSDAS 3.6 for MacOS X – Intel
.
MSCRED 4.8 is now available from the download page. I had to completely rebuild these, but thanks to IRAF.net I did not have to compile them myself. I haven’t had a chance to test them out, but they should work. Please post a comment if they work properly or not.
You can also find direct download links below.
The PPC link was broken for … well since this story was posted until Dec 8th. I guess that’s about four days – and yet no one posted a comment or emailed me. Perhaps everyone is using Intel these days…
.
Happy Thanksgiving to those in the U.S. My gift to everyone, a TABLES 3.6 installer for Intel Macs (Download Link) which is also listed on the download page.
I have also completed some work on my new script-based system to help speed the process of creating and updating these installers. An STSDAS installer and a PPC version of TABLES should be up soon … the bottleneck with STSDAS is the sheer time to download and then to upload the installers.
Any problems with this installer, please note in the comments.
.
Posting over at the IRAF.net Forums, Mike Fitzpatrick discusses the release of new Macintel binaries of IRAF and of external packages that fix a bus error. (Note the handy RSS based feed of IRAF.net forum posts in the left sidebar of this site.)
While work continues (slowly) on the final V2.13 release I’ve decided to update the macintel binaries in the download area that includes this bug fix. At the same time I’ve updated the external package directory with a more complete build set of binaries, and especially macintel binaries linked against the bug fix (e.g. even though you can get macintel STSDAS binaries in their latest release, the ones from this site will avoid the bus error problem).
There is no immediate need for every macintel system to update binaries, however if you experience a bus error using the V2.13b2 system I’d suggest you update the binaries before reporting an error. You do not need to update sources, simply reinstall the ib.macx.x86 and nb.macx.x86 distributions, and/or the ‘bin.macintel’ binaries for the package in question.
Of course, the few Intel .pkg installers I have made available use the old potential-bus-error prone binaries. So… I guess sometime I’ll update them to fix this, and subsequent Macintel binary .pkg installers will include the fix as well.
I have a plan to write some sort of script that automagically will create .pkg installers. Or least, partially automate the process. Certainly, some of the creation is rote and could be streamlined. I think there’s even a command line method of using package maker…
.
TABLES and STSDAS 3.6 were released today, with binaries built for both PPC MacOS X and “Macintel” systems. You can check them out from the STScI STSDAS download page.
Also released was STSCI Python. I don’t really know what that is but it has to do with Pyraf.
I will endeavor to build .pkg installers for these before the end of the month. Until then, remember how to install them. First, STSDAS requires TABLES. So, install TABLES first.
- Download the TABLES source and expand it into
/iraf/extern/tables/
- Download the appropriate TABLES binaries and expand them into
/iraf/extern/tables/bin.macosx or /iraf/extern/tables/bin.macintel.
- Change the symlink of
bin to the appropriate bin.whatever
- Do the same procedure with STSDAS, putting the source in
/iraf/extern/stsdas and the binaries in the appropriate /iraf/extern/stsdas/bin.something directory, also fixing the bin symlink.
- Edit the extern.pkg file (often, this merely involves un-commenting (removing the #) from a few lines).
Then you should be good to go. Questions? Feel free to leave a comment.
.
A (you guessed it, untested) .pkg installer of GUIAPPS for Intel Macs is available on the downloads page. Here’s a direct download link for the impatient.
You might notice I’m making Intel versions of a lot of the smaller packages, and ignoring the elephant in the room, STSDAS. PPC Mac users may also be annoyed that I’m putting up newer and Tiger savvy versions and of installers for Intel Macs, when PPC installers are languishing. These are all good points.
I’ll get around to STSDAS and TABLES sometime. Hopefully, no one will run off and start using scisoft any time soon.
.
I can’t test this one either, but Intel X11IRAF 1.5DEV is available on the download page It puts everything where the normal x11iraf installer would put things, in /usr/local. You’ll need /usr/local/bin in your PATH to be able to run xgterm, ximtool, and the like.
Anyone who uses it successfully, leave a comment!
Download X11IRAF 1.5DEV for Intel Macs .pkg Installer
.
Well, I don’t have an Intel-based Mac but I think I have successfully created a .pkg installer for IRAF 2.13 BETA 2. The install process is the same, create the IRAF User, run the installer, then run the install script … and I just realized I forgot to put the .pkg installer in a folder with a README, but oh well. Someone with an Intel Mac and some bravery, give it a shot. It’s available at the download page.
Update A commenter says it seemed to work! Any other reviews, please post in comments.
Another Update It would appear the name of the .pkg is wrong, it says 2.12 BETA 2 but it’s 2.13, I assure you.
.