Difference between revisions of "Compiling SuperFINIX"

From Kraken Wiki
Jump to: navigation, search
(Created page with "SuperFINIX is Kraken's fuel behaviour solver. It is written in C and build instructions are provided for Linux. === Linux === * Can be built using <tt>build.sh</tt> in t...")
 
(Linux)
Line 3: Line 3:
 
=== Linux ===
 
=== Linux ===
  
* Can be built using <tt>build.sh</tt> in the repository top folder.
+
* Compilation of SuperFINIX uses cmake, which can be installed with
* Requires FINIX repository to exist (or be linked) at the same folder as the SuperFINIX repository (but not inside the SuperFINIX repository).
+
** <tt>sudo apt install cmake</tt>
 +
* Can be built using '''<tt>build.sh</tt>''' in the repository top folder.
 +
* Requires FINIX folder/repository to exist (or be linked) at the same folder as the SuperFINIX folder/repository (but not inside the SuperFINIX folder).
 
* Uses GD graphics library for geometry plotting (libgd-dev on Ubuntu).
 
* Uses GD graphics library for geometry plotting (libgd-dev on Ubuntu).
** Graphics capabilities and this dependency can be switched off at compile time by setting use_gfx to FALSE in CMakeLists.txt.
+
** Graphics capabilities and this dependency can be switched off at compile time by setting '''use_gfx''' to '''FALSE''' in '''<tt>SuperFINIX/CMakeLists.txt</tt>'''.
 +
 
 +
The executable is produced at the top level of the SuperFINIX folder, i.e. as '''<tt>SuperFINIX/superfinix</tt>'''
  
 
=== Windows ===
 
=== Windows ===
  
 
Currently not available.
 
Currently not available.

Revision as of 11:31, 3 February 2024

SuperFINIX is Kraken's fuel behaviour solver. It is written in C and build instructions are provided for Linux.

Linux

  • Compilation of SuperFINIX uses cmake, which can be installed with
    • sudo apt install cmake
  • Can be built using build.sh in the repository top folder.
  • Requires FINIX folder/repository to exist (or be linked) at the same folder as the SuperFINIX folder/repository (but not inside the SuperFINIX folder).
  • Uses GD graphics library for geometry plotting (libgd-dev on Ubuntu).
    • Graphics capabilities and this dependency can be switched off at compile time by setting use_gfx to FALSE in SuperFINIX/CMakeLists.txt.

The executable is produced at the top level of the SuperFINIX folder, i.e. as SuperFINIX/superfinix

Windows

Currently not available.