Folder instructions
This directory collects the source code of the original programs and the development folders.
Instructions
The original code is contained in the folders named cluster
, sphere
and trapping
. Each folder contains a Makefile
to compile either the whole program set or the single programs. A global Makefile
, which contains instructions to build all the original source code, is available directly in the src
folder.
In all cases, build commands executed through make
will output the object files and the linked binaries in the proper folders under the build directory.
gfortran
and GNU make
)
FORTRAN code setup and execution (requires -
cd to the
src
folder. -
Run
make
as:make
-
cd to the
build/sphere
folder. -
Run
sph
following the instructions given inbuild/README.md
-
cd to the
build/cluster
folder. -
Run
clu
following the instructions given inbuild/README.md
g++
and GNU make
)
C++ code setup and execution (requires -
Follow the FORTRAN code setup steps (these build the C++ version too).
-
cd to the
build/sphere
folder. -
Run
np_sphere
:./np_sphere
-
Check the consistency between the text files named
OSPH
andc_OSPH
-
cd to the
build/cluster
folder. -
Run
np_cluster
:./np_cluster
-
Check the consistency between the text files named
OCLU
andc_OCLU