Getting mocassin

The latest version of mocassin is 2.02.73.2, released on 15 February 2019. For the change log, see the what's new page in the manual. The code can be viewed at github.com/rwesson/mocassin (and please note that this is the only repository on github maintained by anyone connected with mocassin).

Pre-compiled binaries

Users of Debian, Ubuntu or Linux Mint from 2017 or later can install mocassin by going to apt://mocassin. If that link does not work, or if you prefer installing from the command line, do

sudo apt install mocassin

If that gives you "E: Unable to locate package mocassin", then on Ubuntu (14.04 and newer) or Linux Mint (17 and newer), you can install it from the nebulousresearch Personal Package Archive:

sudo add-apt-repository ppa:nebulousresearch/ppa && sudo apt update
sudo apt install mocassin

Compile from source

Other users will need to build mocassin from source. Mocassin depends on MPICH, which is available in many package management systems or can be compiled from source. See mpich.org.

With MPICH installed, to get mocassin compiled:

  1. download and unpack the source code: mocassin.2.02.73.2.tar.gz.
  2. (optional) the default installation prefix is /usr - edit the makefile if you need to change this, such as on a mac where it may need to be /usr/local
  3. type
    make
    sudo make install
    

X-ray mocassin and voronoi mocassin

X-ray enabled mocassin (Ercolano et al. 2008) and voronoi mocassin (Hubber et al. 2016) are not yet available via Debian or the PPA but can be compiled from source in the same way as the standard mocassin. The source codes are available on github:

Model atmospheres for ionising stars

Model atmospheres suitable for use in mocassin models have been calculated by Kaschinski et al. (2013, MNRAS, 431, 493). A grid of 16 models can be downloaded as a tar file (CSPN_Grid.tar.gz, 1.6Mb). It covers all combinations of:

Individual models can be downloaded from the links below:

Stellar radiusLog(g)Teff (kK)Shocks included?file
2.2RO3.920Logg3.9_R2.2/shock_T20k.dat
2.2RO3.920×Logg3.9_R2.2/noshock_T20k.dat
2.2RO3.930Logg3.9_R2.2/shock_T30k.dat
2.2RO3.930×Logg3.9_R2.2/noshock_T30k.dat
2.2RO3.940Logg3.9_R2.2/shock_T40k.dat
2.2RO3.940×Logg3.9_R2.2/noshock_T40k.dat
2.2RO3.950Logg3.9_R2.2/shock_T50k.dat
2.2RO3.950×Logg3.9_R2.2/noshock_T50k.dat
2.2RO4.960Logg4.9_R2.2/shock_T60k.dat
2.2RO4.960×Logg4.9_R2.2/noshock_T60k.dat
2.2RO4.970Logg4.9_R2.2/shock_T70k.dat
2.2RO4.970×Logg4.9_R2.2/noshock_T70k.dat
2.2RO4.980Logg4.9_R2.2/shock_T80k.dat
2.2RO4.980×Logg4.9_R2.2/noshock_T80k.dat
2.2RO4.990Logg4.9_R2.2/shock_T90k.dat
2.2RO4.990×Logg4.9_R2.2/noshock_T90k.dat