summarylogtreecommitdiffstats
path: root/slepc.install
blob: 78f5a07948915cde54e536af253a6a8f2c62e2b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
source /etc/profile.d/slepc.sh
source /etc/profile.d/petsc.sh
noVersion=${1%%-[1-9]}
rootDir=${noVersion/_/-}

cat << EOF

1) If you just ran makepkg in this directory then
   to test the SLEPc installation you can run:

   # cd src/slepc-${rootDir}/; make SLEPC_DIR=$SLEPC_DIR PETSC_DIR=$PETSC_DIR test

2) Set your environment variable somewhere appropriate:

export SLEPC_DIR=/opt/slepc/arch-linux2-cxx-opt

EOF
}

# vim:set ts=2 sw=2 et: