|
FlowSieve
3.0.0
Coarse Graining Routines
|
You will need to create a system.mk file in the main code directory that specifies the compilers and provides the compiler flags needed to link to the appropriate libraries.
Some system files are already provided in the Systems directory for a few computing environments. Where appropraite, they specify which modules are needed to compile and run the code (note: these modules need to be loaded both when you compile the code and also when you run the code).
If you create a system file for a computing environment that was not previously included, please consider submitting it to the repository so that others can benefit from it.
The Systems directory contains a few sample system files. To prepare a system file for your machine, there are a few steps.
Systems to system.mk into the main directory.-fopenmp to -qopenmp for intel compilers)-ip -ipo for intel compilers.LIB_DIRS and INC_DIRSA makefile is included to simplify compiling. As a first test of your install, try make clean; make Case_Files/coarse_grain.x. If the executable compiles successfully, then a good next step is to check out the ../Tutorial/TUTORIAL.md "tutorials that are provided" (tutorials1) to familiarize yourself with the code usage.
make cleanmake hardcleanclean removals, also removes the executables, symbol table (dSYM)make Case_Files/<filename>.xCase_Files contains the main files that can be compiled into executables.make docsdoxygen and dot must be installed and on the pathmake cleandocsSome of the executables (such as interpolator.x, toroidal_projection.x, and potential_projection.x) require the use of a third-party library, ALGLIB. To compile this library, simply call make ALGLIB (should only need to be done once, unless you call make hardclean).
1.8.13