How to Compile and Install COOLFluiD

Having the source package you should go into the directory, configure your build options for the project, compile it and optionally install it.

Note: This will compile and install COOLFluiD with the default options. If you want to change these options, have a look at HowToConfigureCoolfluid.

1. Setup your build tree and configure it for debugging purposes:

cd COOLFluiD
./prepare.pl --build=debug
cd debug

This should finish with the message:

-- Configuring done
-- Generating done
-- Build files have been written to: ...

Note: In case it doesn't end with these three messages, go to the directory debug and send the files LogInfo.txt and coolfluid.cmake to the COOLFluiD mailing lists to get some help.

2. Compile. This may take a considerable amount of time depending on the selected Modules.

make -j2

3. Optional: Install the compiled code and libraries. It is possible to run the compiled code from within the build tree.

make install

Next: Have a look at Running COOLFluid Solver