Difference between revisions of "Compiling SuperFINIX"

From Kraken Wiki
Jump to: navigation, search
(Linux)
 
(2 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
* Can be built using '''<tt>build.sh</tt>''' in the repository top folder.
 
* 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).
 
* 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).
+
**For example: <tt>~/Kraken/FINIX</tt> and <tt>~/Kraken/SuperFINIX</tt>
** Graphics capabilities and this dependency can be switched off at compile time by setting '''use_gfx''' to '''FALSE''' in '''<tt>SuperFINIX/CMakeLists.txt</tt>'''.
+
* Can use GD graphics library for geometry plotting (libgd-dev on Ubuntu).
 +
** Graphics capabilities and this dependency can be switched on at compile time by setting '''use_gfx''' to '''TRUE''' 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>'''
 
The executable is produced at the top level of the SuperFINIX folder, i.e. as '''<tt>SuperFINIX/superfinix</tt>'''

Latest revision as of 11:42, 14 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).
    • For example: ~/Kraken/FINIX and ~/Kraken/SuperFINIX
  • Can use GD graphics library for geometry plotting (libgd-dev on Ubuntu).
    • Graphics capabilities and this dependency can be switched on at compile time by setting use_gfx to TRUE 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.