Using "Fortran Mathematics Library" requires fortan compiler (gfortran, ifort), cmake build system.
All options except BUILD_SHARED_LIBS are setting OFF * FML_USE_MPI: enable/desable MPI (ON or OFF) * FML_USE_OPENMP: enable/desable OPENMP (ON or OFF) * FML_USE_TIMING: enable/desable TIMING (ON or OFF) * FML_USE_IFORT: enable/desable Intel ifort non-commercial Compiler (ON or OFF) * FML_DEBUG_EXCEPTION: "enable/desable debug exception (ON or OFF) * FML_FAST: enable/desable make examples (ON or OFF) * FML_DEBUG: enable/desable make examples (ON or OFF) * FML_MAKE_EXAMPLES: enable/desable make examples (ON or OFF) * FML_MAKE_TESTS: enable/desable make tests (by CTest)" (ON or OFF) * FML_MAKE_LIBRARIES: enable/desable make libraries (ON or OFF) * FML_INSTALL_DOC: set to OFF to skip build/install Documentation (ON or OFF) * BUILD_SHARED_LIBS: set ON to build shared libraries (ON or OFF) * FML_FORCE_64BIT: enable/desable debug (ON or OFF) * FML_FORCE_WIN: enable/desable windows configuration (ON or OFF)
How compile this program :
*** Example 1: simple use (default INSTALL_PREFIX=/usr/lib) akca@pc-eisti-school:$ mkdir ./bin akca@pc-eisti-school:$ cd ./bin akca@pc-eisti-school:$ cmake ../ (main directory, CMakeLists.txt must be on the previous directory) akca@pc-eisti-school:$ make
*** Example 2: compile examples and change prefix directory CMAKE_INSTALL_PREFIX is most often defined (-D) using a command line argument when invoking CMake: cmake <src-path> -D CMAKE_INSTALL_PREFIX=<install-path> akca@pc-eisti-school:$ mkdir ./bin; mkdir ./fml akca@pc-eisti-school:$ cd ./bin akca@pc-eisti-school:$ cmake ../ -DFML_MAKE_EXAMPLES=ON -DCMAKE_INSTALL_PREFIX=../fml akca@pc-eisti-school:$ make akca@pc-eisti-school:$ make install
*** Example 3: make a package akca@pc-eisti-school:$ mkdir ./bin; mkdir ./fml akca@pc-eisti-school:$ cd ./bin akca@pc-eisti-school:$ make package akca@pc-eisti-school:$ make package_source (make a source package) if create .deb package : akca@pc-eisti-school:$ sudo dpkg -i fortran_mathematics_library-1.0.0-$ARCHI.deb This will result in INSTALL_PREFIX
*** Example 4: If you install programs (make install) ********* bin/ : binary files ********* COPYING : licence files ********* include/ : header files ********* lib/ : library files ********* licence/ : licence directory ********* mod/ : module directory (for compilation without source files) ********* ReadMe.txt (documentation)