Online about the introduction of a lot of compiling, in fact, Ubuntu system comes with compiled good suitesparse, do not want to toss the words, with the new stand easy to take care of
Preparatory work:
- Download and compile Openblas (it will also download and compile lapack), please use the new installation;
- New to search and install TBB;
- Download METIS-4.0.3 (Note: 4.0.1 has a bug);
- Download SuiteSparse-4.4.1 or the latest version;
- Modify the Suitesparse_config.mk file under the Suitesparse_config directory;
The next thing is compile, skip here.
Precautions:
For variables in the suitesparse_config.mk file Metis_path Please be careful, personally suggest using absolute path or add if statement to judge
Reference Example:
Metis_path = $ (if $ (realpath). /metis-4.0), $ (realpath). /metis-4.0), $ (realpath). /.. /metis-4.0))
Ubuntu under compilation SuiteSparse-4.4.1 and METIS-4.0.3