Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
installation_aswns [2022/08/16 07:45] theoastro |
installation_aswns [2022/08/16 08:03] (current) theoastro |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ===== Installation ===== | ||
| + | |||
| ASWNS requires the following prerequisites: | ASWNS requires the following prerequisites: | ||
| * a suitable fortran compiler, e.g., gfortran | * a suitable fortran compiler, e.g., gfortran | ||
| - | * [[http:// | + | * [[http:// |
| The easiest way to achieve these requirement is simply by typing: | The easiest way to achieve these requirement is simply by typing: | ||
| sudo apt-get install gfortran liblapack3 | 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 ./ | ||
Last modified: le 2022/08/16 07:45
