From now on the working directory is your project directory, for
example
/work/local/heck/flow/projects/testcase. In order
to compile the source code of FASTEST3D you need to have the
inc/parp3d.inc file. This include file you will retrieve
from the map3d.fhpsystem executable run.
Now you can compile FASTEST3D. There are many platforms which are supportet by FASTEST3D to be executed on. These platforms will be called FHPSYSTEM. You can choose between a lot of different platforms. The most used FHPSYSTEMs are:
For each FHPSYSTEM you can define a target, the FHPTARGET, for the executable. These targets are:
If you do not specify any target the Makefile will just use the default target, which is defined at DEFTARGET in the FHPSYSTEM-block.
So if you want to compile FASTEST3D for your platform you
just have to invoke the Makefile with its targets like follows:
gmake -f fhp.mk FHPSYSTEM=XXXX FHPTARGET=target or
make -f fhp.mk FHPSYSTEM=XXXX FHPTARGET=target.
To use make or gmake depends on the system you are
working on, for example on a Linux machine you just should use
make. Assumed you are working on a Linuxbox you have to
compile FASTEST3D by typing:
make -f fhp.mk FHPSYSTEM=GX86LINUX FHPTARGET=all.
If you do not specify neither FHPSYSTEM nor FHPTARGET they will be set to the default values FHPSYSTEM=SOL2 and FHPTARGET=fast.
Now you know how to compile FASTEST3D for a specific platform. Let's go deeper into the magic of the Makefiles for case you want to change or add anything inside.