← Back to team overview

dorsal team mailing list archive

Configuring Trilinos with local Python interpreter

 

Hello!

When building Trilinos to see the newly installed Python (also
installed by Dorsal). The reason is apparantly that the cmake routine
FindPythonInterp sees the systemwide  installation of python before
the new locally installed python interpreter.

Is it possible that Dorsal can handle this the same way as it handles
Swig? This means
* Add to python.package
package_specific_register() {
  export PYTHON_EXECUTABLE=${INSTALL_PATH}/bin/python
}

* Add to trilinos.package
if [ -x "${PYTHON_EXECUTABLE}" ]; then
    CONFOPTS="${CONFOPTS} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON_EXECUTABLE}"
fi

Benjamin


Follow ups