Building with already installed libraries.

Asked by Ajay

Dear Harish,
I've a simple question, how to use dorsal with preinstalled PETSc and Trilinos and other packages.

Ajay

Question information

Language:
English Edit question
Status:
Solved
For:
Dorsal Edit question
Assignee:
No assignee Edit question
Solved by:
Harish Narayanan
Solved:
Last query:
Last reply:
Revision history for this message
Johannes Ring (johannr) said :
#1

Remove petsc and trilinos from the list of packages to be built by Dorsal in your platform file and set PETSC_DIR and TRILINOS_DIR to point to where they are installed (also in the platform file).

Revision history for this message
Best Harish Narayanan (hnarayanan) said :
#2

Johannes gave you the right answer for PETSc and Trilinos. In general, you

1. Open the platform file your OS.
2. Comment out the packages you already have installed.
3. For each package (foo) you comment out, look at the package file (dorsal/FEniCS/packages/foo.package) and see whether the package sets any relevant environment variables in package_specific_register().
4. If it does, you make sure you set those variables manually (to point to your own pre-installed libraries).

Revision history for this message
Ajay (ajay-rawat83) said :
#3

Thanks Harish Narayanan, that solved my question.