Installation

ASWNS requires the following prerequisites:

  • a suitable fortran compiler, e.g., gfortran
  • lapack library or separately the 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 here

Last modified: le 2022/08/16 08:03