next up previous contents
Next: RDF and MagicTools Up: Manual Compilation Previous: CGTraj   Contents

Magic-core

To compile this part of the package, you need Fortran and C compiler, and also LAPACK linear algebra library. LAPACK is included in Intel MKL which comes with Intel Fortran and it is also included in Oracle Solaris Performance Library, which comes with Oracle Solaris Studio. Other option is GNU Fortran (gfortran) and a repository 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.

For better performance it is highly recommended to compile and run MagiC in the parallel mode. To do so you need a MPI-library installed. Examples of open-source MPI libraries for which MagiC was tested are http://www.open-mpi.orgOpenMPI, and http://www.mpich.orgMpich. For compilation of MagiC in the parallel mode run make gfortran-mpi, make intel-mpi, or make oracle-mpi, according to your setup.

The result of successful compilation is a binary file magic with possible extentions describing compilation conditions, which you can copy/link to your default bin folder.



Alexander Lyubartsev 2016-05-03