On 2014-04-28 15:03, Johannes Ring wrote:
On Thu, Apr 24, 2014 at 6:09 PM, Miroslav Kuchta <[email protected]> wrote:
Hi,
I am trying to build FEniCS on rhel6 using rhel6.platform configuration
file. When building slepc.package, I obtain the following error

ERROR: cannot process file
/mn/anatu/ansatte-u8/mirok/Documents/FEniCS/FEniCS/linux-gnu-cxx-opt/conf/petscvariables
Failure with exit status: 1
Exit message: There was a problem building slepc-3.4.2.

The error makes sense, since there is no such directory. The file
petscvariables
is in fact located in

/mn/anatu/ansatte-u8/mirok/Documents/FEniCS/FEniCS/src/petsc-3.4.2/linux-gnu-cxx-opt

How can I make sure that this path is used? The linux-gnu-cxx-opt comes from
the config
file, namely, default PETSC_ARCH=linux-gnu-cxx-opt.

PETSC_ARCH will be unset after it is installed by Dorsal (see
FEniCS/packages/petsc.package) and PETSC_ARCH=arch-installed-petsc
will be used when installing SLEPc. Did you have any problems when
installing PETSc? Or have you perhaps commented out 'petsc' in the
platform file? In that case, use 'skip:petsc' instead.

Johannes

Hi Johannes and thanks for your advice. I had no issues installing petsc (I used dorsal for it with no modification to my platform file). I ended up installing slepc manually. I looked into dorsal_build script and configured slepc in the same way. The configuration script then printed how to make/make install (with SLEPC_DIR, PETSC_DIR and PETSC_ARCH you posted) which I did and slepc installed fine.

Regards, Miro
_______________________________________________
fenics-support mailing list
[email protected]
http://fenicsproject.org/mailman/listinfo/fenics-support

Reply via email to