![]() A wide variety of projects will be undertaken, spanning everything from software development to community outreach to scientific research to trying out new analysis tools. Hack Together Day is a day to work intensively on projects, individually or in small groups, of interest to the astronomical community. We are pleased to announce a hack day to accompany the special session on astronomy research software at EWASS 2017!! To start up XSPEC, in a bash terminal session typeĪnd it should start up an XSPEC environment! Happy analysis! Step 10 If you ls in the HEAsoft directory you’ll see what to put for the system architecture thing):Įxport HEADAS=/Users/YourUserName/opt/heasoft-6.29/x86_64-apple-darwin19.6.0 Step 9Ĭopy/paste into ~/.bashrc for general use (again, your HEAsoft version number and system architecture might be different. Since it’ll use a lot of memory and you’ll hear the fans going as it’s makeing, I don’t recommend playing videogames on your computer in the downtime. The make line with build.log takes a particularly long amount of time (like 20ish minutes). You can also use tail build.log and tail install.log to view the last 10 lines of the files (though this won’t update, so this is more for occasional checks). You should be able to open build.log and install.log as those things are going (from a different terminal window) to see their progress. Note that I’m no longer passing the X11 include and library directories to the configure script, as I’ve had to do in previous installs. To configure, make, and install (your HEAsoft version number might be different when you reference this blog post): I don’t know how necessary this is, but it’s one of the few things that changed in the few days between the install not working and working. In the ~/.bash_profile file, be sure that /usr/bin and /usr/local/bin are at the beginning of your PATH environment variable. Unset CFLAGS CXXFLAGS FFLAGS LDFLAGS Step 6 Remember to save the files in ~/opt/ and put the appropriate export lines in ~/.bashrc! Step 5Ĭopy/paste into ~/.bashrc (using homebrew installations of the compilers and the anaconda distribution of python 3):Įxport PYTHON=/Users/YourUserName/opt/anaconda3/bin/python Step 4įollow the instructions for remote CALDB. If you’ve never ever installed HEAsoft on your computer, you can skip this part. You can also delete your previous old-heasoft and tarball if you still have it. This is a different location than what I’ve previously done! It seems that the new macOS really hates letting the user install things as su.Īs it’s downloading, navigate to your old HEADAS directory and rename it to, e.g., old-heasoft6.28. This download takes like 30 minutes! I then put it in the directory ~/opt/ and unzip the HEAsoft tarball in there ( tar -xvzf). The first bullet point, above Step 1 on that page, should have everything you need (and you probably don’t need the extra old XSPEC stuff). ![]() ![]() Some of these are brew upgrade Thing instead of brew install Thing (it will complain and tell you).ĭownload the HEAsoft source tarball. Using the package manager, install the following (and their dependencies). Git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask fetch –unshallow Step 2 Git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core fetch –unshallow Homebrew (or another package manager like MacPorts or Fink) Step 1Ĭommand Line Tools for Xcode by typing in a terminal window: xcode-select –install ![]() Make a full backup of your machine as-is. Actual HEAsoft maintainers should be your first point of contact if something goes wrong. Disclaimer: I’m not a HEAsoft developer or maintainer, so follow this advice at your own risk. I work in bash, so adapt as needed if you use c-shell or zsh. I learned most of this from HEAsoft’s own documentation (and a lot of trial and error over the years). Here are my instructions for how to get HEAsoft, the NASA High Energy Astrophysics Software, set up on a Mac with macOS Big Sur (v11.6).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |