Commit ba0c9fd3 authored by Jan Möbius's avatar Jan Möbius

Added slepc and petsc to configs



git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@6212 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 1a64d903
......@@ -635,6 +635,39 @@ defineTest( physim2 ) {
}
}
defineTest( petsc ) {
INCLUDEPATH *= /usr/include/petsc
export(INCLUDEPATH)
QMAKE_LIBDIR += /usr/lib
export(QMAKE_LIBDIR)
LIBS *= -Wl,-rpath=/usr/lib -lpetsc -lpetscmat -lpetscsnes -lpetscts -lpetscvec -lpetscksp -lpetscdm
export(LIBS)
}
defineTest( slepc ) {
INCLUDEPATH *= /usr/include/slepc
export(INCLUDEPATH)
QMAKE_LIBDIR += /usr/lib
export(QMAKE_LIBDIR)
LIBS *= -Wl,-rpath=/usr/lib -lslepc
export(LIBS)
}
defineTest( mpi ) {
INCLUDEPATH *= /usr/lib/openmpi/include
export(INCLUDEPATH)
QMAKE_LIBDIR += /usr/lib/openmpi/lib
export(QMAKE_LIBDIR)
LIBS *= -Wl,-rpath=/usr/lib/openmpi/lib -lmpi -lmpi_cxx -lmpi_f77
export(LIBS)
}
defineTest( gsl ) {
INCLUDEPATH *= /usr/include
export(INCLUDEPATH)
LIBS *= -Wl,-rpath=/usr/lib -lgsl
export(LIBS)
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment