Trilinos-based matrix backend. In development.
-
Install Trilinos following gjvz.nl
-
Trilinos will be located in
$HOME/Computer/trilinos, define a variable that contains this path to tell the compiler where Trilinos is. This can be done by adding the following line to.bashrc:TRILINOSPATH="$HOME/Computer/trilinos" export CPATH="$TRILINOSPATH/include:$CPATH" export C_INCLUDE_PATH="$TRILINOSPATH/include:$C_INCLUDE_PATH" export CPLUS_INCLUDE_PATH="$TRILINOSPATH/include:$CPLUS_INCLUDE_PATH" export LIBRARY_PATH="$TRILINOSPATH/lib:$LIBRARY_PATH" export LD_LIBRARY_PATH="$TRILINOSPATH/lib:$LD_LIBRARY_PATH" -
Restart the terminal to make it load the
TRILINOSPATHvariable -
Navigate to the libmatrix folder where this
README.mdfile is located. -
Type
maketo start compiling libmatrix -
Install
mpi4pyusingsudo pip install mpi4pyIf you don't have
pipinstalled, you can install it on Debian based systems usingsudo apt-get install python-pip