Python Module BuildOSMPS¶
- BuildOSMPS.main()[source]¶
Install the MPSFortLib
Arguments
- –cleanrun make clean, executed first. If clean is the only argument,
nothing is build (not even the default ubuntu)
–option=option:value : a sequence to override default option with value. Accepts the following structure:
PY:/path/to/python … python override FC:/path/to/fortran … fortran override OFLAGS:-O3 … optimization flags OPENMP:-fopenmp … option for OpenMP BLAS_FLAG:-lblas … linker flag for BLAS LAPACK_FLAG:-llapack … linker flag for LAPACK ARPACK_FLAG:-larpack … linker flag for ARPACK INCLUDES:-I/path/to/include … additional include directory flags LIBFLAGS:-framework accelerate … additional library flags
Default option may be overridden with –option=setting:value (e.g.)
–option=PY:/path/to/python –option=FC:/path/to/fortran …
- –testsspecify if Fortran test should be compiled. Tests are compiled
for values
T
,True
, andtrue
. Otherwise not tests are compiled.- –prefix=pathspecify path for local installation. Default is set to
/usr/local/bin for global installation
Any argument in the default according to options can be overwritten. Keys are FC (fortran compiler), PY (python), OFLAGS (flags for compiler, e.g., optimization), OPENMP (linking openmp if used), BLAS_FLAG (linking to BLAS libary), LAPACK_FLAG (linking to LAPACK library), ARPACK_FLAG (linking to ARPACK, only necessary for iMPS), LIBFLAGS (linking to other libraries), HDF5_FLAG (linking to the HDF5 library, if not present not used). …