===== Installation ===== ASWNS requires the following prerequisites: * a suitable fortran compiler, e.g., gfortran * [[http://www.netlib.org/lapack/double/|lapack library]] or separately the [[http://www.netlib.org/cgi-bin/netlibfiles.pl?filename=/lapack/double/dgtsv.f|XEBLA]] subroutine The easiest way to achieve these requirement is simply by typing: sudo apt-get install gfortran liblapack3 Assuming that you have lapack installed (which is the preferred option), you can compile the code with gfortran -O2 ASWNS.f90 nonbarotropic.f90 -llapack -o nonbarotropic.x gfortran -O2 ASWNS.f90 kepler.f90 -llapack -o kepler.x Now you have to executables ./kepler.x and ./nonbarotropic.x that can be used to compute rotating neutron star configurations as discussed [[examples_ASWNS|here]]