Commit 11d92652 authored by Vincent Chabannes's avatar Vincent Chabannes

up petsc/slepcs script

parent b12775d7
......@@ -2,7 +2,7 @@
set -x
LIB_NAME="petsc"
LIB_VERSION=3.7.6
LIB_VERSION=3.8.3 #3.7.6
GCC_VERSION=6.4.0
MPI_LIB=openmpi
MPI_VERSION=1.10.7 #2.1.1 #1.10.7
......
#%Module1.0#####################################################################
###
### {{ LIB_NAME }} {{ LIB_VERSION }}
### {{ LIB_NAME }} {{ LIB_VERSION }} module
###
proc ModulesHelp { } {
global version prefix
puts stderr "\tlibs//{{ LIB_NAME }}/{{ LIB_VERSION }} - loads {{ LIB_NAME }} {{ LIB_VERSION }}"
puts stderr "\tlibs//{{ LIB_NAME }}/{{ LIB_VERSION }} - loads {{ LIB_NAME }} {{ LIB_VERSION }}"
}
module-whatis "Loads {{ LIB_NAME }} {{ LIB_VERSION }}"
module-whatis "Loads {{ LIB_NAME }} {{ LIB_VERSION }}"
# for Tcl script use only
set prefix {{ INSTALL_DIR }}
set prefix {{ INSTALL_DIR }}
# prepend-path CMAKE_PREFIX_PATH $prefix
prepend-path LD_LIBRARY_PATH $prefix/lib
......
......@@ -2,11 +2,11 @@
set -x
LIB_NAME="slepc"
LIB_VERSION=3.7.4
PETSC_VERSION=3.7.6
LIB_VERSION=3.8.2 #3.7.4
PETSC_VERSION=3.8.3 #3.7.6
GCC_VERSION=6.4.0
MPI_LIB=openmpi
MPI_VERSION=2.1.1 #1.10.7
MPI_VERSION=1.10.7 #2.1.1 #1.10.7
LIB_FULLNAME=${LIB_NAME}-${LIB_VERSION}
GCC_FULL=gcc-$GCC_VERSION
......
#%Module1.0#####################################################################
###
### {{ LIB_NAME }} {{ LIB_VERSION }}
### {{ LIB_NAME }} {{ LIB_VERSION }} module
###
proc ModulesHelp { } {
global version prefix
puts stderr "\tlibs//{{ LIB_NAME }}/{{ LIB_VERSION }} - loads {{ LIB_NAME }} {{ LIB_VERSION }}"
puts stderr "\tlibs//{{ LIB_NAME }}/{{ LIB_VERSION }} - loads {{ LIB_NAME }} {{ LIB_VERSION }}"
}
module-whatis "Loads {{ LIB_NAME }} {{ LIB_VERSION }}"
module-whatis "Loads {{ LIB_NAME }} {{ LIB_VERSION }}"
# for Tcl script use only
set prefix {{ INSTALL_DIR }}
set prefix {{ INSTALL_DIR }}
# prepend-path CMAKE_PREFIX_PATH $prefix
prepend-path LD_LIBRARY_PATH $prefix/lib
......
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