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...")
 
(Restore changes)
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
[[SuperFINIX]] is Kraken's fuel behaviour solver. It is written in C and build instructions are provided for Linux.
 
[[SuperFINIX]] is Kraken's fuel behaviour solver. It is written in C and build instructions are provided for Linux.
  
=== 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>
* Uses GD graphics library for geometry plotting (libgd-dev on Ubuntu).
+
* Can be built using '''<tt>build.sh</tt>''' in the repository top folder.
** Graphics capabilities and this dependency can be switched off at compile time by setting use_gfx to FALSE in CMakeLists.txt.
+
* 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: <tt>~/Kraken/FINIX</tt> and <tt>~/Kraken/SuperFINIX</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>'''.
  
=== Windows ===
+
The executable is produced at the top level of the SuperFINIX folder, i.e. as '''<tt>SuperFINIX/superfinix</tt>'''
 +
 
 +
== Windows ==
  
 
Currently not available.
 
Currently not available.
 +
 +
[[Category:SuperFINIX]]

Latest revision as of 08:24, 8 October 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.