Magic-Core

Enter the corresponding sub-folder magic and run make. To compile this part of the package, you need to have a Fortran compiler and LAPACK linear algebra library. LAPACK is included in Intel MKL, which usually comes with Intel Fortran. Other option is GNU Fortran (gfortran) and a GCC build of LAPACK (liblapack-dev). If you have any of them just use corresponding Makefile for compilation, or use make with argument, for example make intel. Run make to see all options available. As it is the most computationally intensive part of MagiC,it is highly recommended to compile it for parallel execution. To do so you need to have a MPI-library installed. We have tested MagiC with OpenMPI, but it should work with other MPI-implementations. The result of successful compilation is a binary file magic which you can copy/link to your default bin folder.