Nel-S / seedfinding

For storing most of my seedfinding-related files. This is also the place to submit issues relating to my reference guide "On Seedfinding".

Home Page:https://docs.google.com/document/d/1V1wpuHcewQM3loxzVW0LQqASc17LkxeN6qugebkHkJ8

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Seedfinding

This repository holds almost all of my seedfinding-related files and code.

C/C++ Compiling

This repository is loosely split into three parts.

  • The programs themselves.
  • A set of C/C++ main() templates to link the programs to.
  • A Utilities library that will in many cases need to be linked as well. (This will eventually be replaced with a makefile.) Furthermore, most of the C programs will need to link the Cubiomes library when being compiled, which can be done by including a reference to libcubiomes.a (a static compilation of the library). If libcubiomes.a in turn needs to be updated, that can be done by installing CMake, entering the cubiomes submodule in a terminal, and running make libcubiomes on Linux/mingw32-make.exe libcubiomes on MinGW.

All #include paths in this repository are also standardized in relation to the parent directory seedfinding/: as such, when compiling the C programs one needs to specify that directory should be examined as well via -I"<path to seedfinding/>".

As an example, compiling Extreme Climates/Extreme Climate At Coordinate.c with pthreads would be done with

gcc "Extreme Climates/Extreme Climate At Coordinate.c" "Templates/Example main (pthreads).c" "Utilities/Math.c" "Utilities/Climates.c" "Utilities/Spawn.c" "libcubiomes.a" -I"<path to seedfinding/>" -o "<executable name>"

with optional compilation flags (-O3, -fwrapv, -Wall, etc.) listed afterwards.

On Seedfinding

This repository is also the place to raise issues relating to my reference guide "On Seedfinding", or to suggest (evidence-based) additions, deletions, or changes to it. (Please ensure any changes you suggest abide by the guide's Legal page.)

About

For storing most of my seedfinding-related files. This is also the place to submit issues relating to my reference guide "On Seedfinding".

https://docs.google.com/document/d/1V1wpuHcewQM3loxzVW0LQqASc17LkxeN6qugebkHkJ8

License:Other


Languages

Language:C 51.3%Language:Python 28.0%Language:Cuda 14.1%Language:C++ 6.6%