The HEADAS path could/should look something like this: Add the following to your ~/.bash_profile (change this according to your terminal type and username)Įxport HEADAS="/Users/username/path/to/heasoft/"Īlias heainit="source $HEADAS/headas-init.sh.configure -x-libraries=/opt/X11/lib -x-includes=/opt/X11/include Install HEASOFT from source but use the following configurations.unpack the HEADAS tar file in this directory.create a directory in your $HOME called Software.You don't need to set anything to do that, but if you have old compiler flags set to "-m32", remove them! As of HEASOFT 6.16 this is no longer the case and the recommendation is to install everything in 64bit. Up until HEASOFT 6.15, XSPEC did not work properly on Mac OS X in 64bit mode.Download the latest version of HEASOFT (source).This is not necessary if only the "stellar_isisscripts" will be used. Then type source ~/.bash_profile in the terminal. To make sure that the proper compilers are used (and not /usr/bin/gcc, which is a only "frontend" that can parse gcc), set the following in your ~/.bash_profile:Įxport FC="/opt/local/bin/gfortran-mp-12" # mac ports gfortran compiler These packages install a necessary gfortran compiler as well as necessary libraries to build the slgsl / slxfig module for slang / isis. Sudo port install texlive-latex-extra # if sltikz will be used Sudo port install texlive # only if latex is not available yet Sudo port upgrade outdated # repeat this until it does nothing I recommend installing everything with the universal flag set (which includes 32bit and 64bit versions) on older macOS versions, otherwise it is not necessary. There are several packages including their dependencies to be installed. This instruction assumes that Mac Ports is installed. Install Mac Ports or Homebrewįink could also work, the differences should be some package names and the location of some libraries which should be /opt/local/ for Mac Ports or /sw/local/ for Fink. Note: if this link is out of date, search the Web for "OS X Xquartz".Īfter installation the X11 libraries should now be available in /opt/X11/ 2. X11 is also no longer available from Apple directly, but has to be obtained from the web. Xquartz / X11 is no longer included in the latest versions of Mac OS X and need to be installed separately. On command line to install the Xcode command line tools Use the App Store to update or install Xcode If you see /Applications/Xcode.app/Contents/Developer it should be installed. To check whether Xcode is installed execute: \\ Install Xcode (latest version) and Xquartz Install slang / slang modules / isis / isisscripts
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |