Prefix based installation of PETSc

Asked by Simon James

I am using Dorsal to install the latest version of FeniCs on Scientific Linux 6. Whilst configuring PETSc I get the following error:

ERROR: cannot process file /alt/applic/user-maint/sc594/FEniCS/linux-gnu-cxx-opt/conf/petscvariables
Failure with exit status: 1
Exit message: There was a problem configuring slepc-3.3-p3.

The directory linux-gnu-cxx-opt does not exist. I am attempting a prefix based installation and having read the SLEPC manual I understand that when PETSC is installed into a prefix directory it no longer has a directory component for $PETSC_ARCH. I believe that PETSC_ARCH is taking the value linux-gnu-cxx-opt and this is causing the problem. So my question is, how can I unset PETSC_ARCH in dorsal (I know how to do this when building without dorsal).



Question information

English Edit question
DOLFIN Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Johannes Ring (johannr) said :

FEniCS no longer uses Launchpad for Questions & Answers. Please consult the documentation on the FEniCS web page for where and how to (re)post your question:

Can you help with this problem?

Provide an answer of your own, or ask Simon James for more information if necessary.

To post a message you must log in.