Mikael Öhman wrote:SLEPC_LIBS is the generated value. SLEPC_DIR is the one you should enter if you have a local installation. It should be the folder that contains the "lib" and "include" subfolders of your SLEPC installation.
SLEPC depends on PETSc, so you probably need to specify the paths to that installation as well. I know most system installations of PETSc skips out on including the PKGCONFIG-file, which we use to find the dependencies when compiling OOFEM.
* CKIT, X11, are for OOFEG
* LAPACK is for lapack/blas support in FloatMatrix/FLoatArray (i.e. OOFEM becomes slightly faster).
* VTK is for *binary* VTU files (saves space for large outputs.
* METIS & PARMETIS is for the load balancing (distributed memory parallelism).
Hello Mikael,
Thank you very much for your reply.
Could I understand it as there is no need to install the METIS and PSRMETIS in a single machine?
When I was configured the OOFEM under cmake, with:
SLEPC_DIR=/home/mrcandle/OOFEM/relatedcode/slepc-3.5.1/arch-linux2-c-debug.
And, automatically, it generates:
SLEPC_LIB=/home/mrcandle/OOFEM/relatedcode/slepc-3.5.1/arch-linux2-c-debug/lib/libslepc.so.
However, when I build it, it failure with the message:
/home/mrcandle/OOFEM/oofem/src/oofemlib/slepcsolver.h|42|fatal error: slepceps.h: No such file or directory.
The file named slepceps.h can be find from the path:
/home/mrcandle/OOFEM/relatedcode/slepc-3.5.1/include.
A list of slepc folder in a tree-like format can be find in the attachment.
I also googled information about PKGCONFIG-file, but I still donnot know how to build OOFEM with slepc.
Can you give me more help?
Thanks very much.