dorsal team mailing list archive
-
dorsal team
-
Mailing list archive
-
Message #00443
petsc with ml
Hello!
I am not sure this has been adressed before (I just joined the email list) but
here is a petsc package file with trilinos ml support.
The file assume that the ml library is installed by dorsal (which isn't that
bad of an assumption ;)). So the user need to put 'trilinos' infront of
'petscwithml' in the platform file.
Cheers,
Johan
NAME=petsc-3.1-p7
SOURCE=http://ftp.mcs.anl.gov/pub/petsc/release-snapshots/
PACKING=.tar.gz
BUILDCHAIN=autotools
package_specific_setup () {
echo ${INSTALL_PATH}/lib/libml.so
export PETSC_DIR=${PWD}
./config/configure.py \
COPTFLAGS=-O2 \
--prefix=${INSTALL_PATH} \
--with-debugging=0 --with-shared=1 --with-clanguage=cxx \
--with-parmetis=1 --with-parmetis-dir=${PARMETIS_DIR} \
--download-umfpack=1 \
--download-hypre=1 \
--download-mumps=1 --download-scalapack=1 --download-blacs=1 \
--download-pastix=1 \
--download-scotch=1 \
--with-ml=1 \
--with-ml-include=${INSTALL_PATH}/include/trilinos \
--with-ml-lib=${INSTALL_PATH}/lib/libml.so
}
package_specific_register () {
export PETSC_DIR=${INSTALL_PATH}
unset PETSC_ARCH
}