Added Paraview automatic installation

This commit is contained in:
Caubet Serrabou Marc
2020-12-03 16:41:27 +01:00
parent 810228eb7a
commit 21210530b4
4 changed files with 45 additions and 0 deletions

21
Tools/paraview/build Executable file
View File

@@ -0,0 +1,21 @@
#!/usr/bin/env modbuild
URL=$(grep -E "^${V_PKG}" files/version-to-tarname.txt | awk '{print $2}')
FILENAME=$(grep -E "^${V_PKG}" files/version-to-tarname.txt | sed 's/"//g' | awk -F'downloadFile=' '{print $2}')
pbuild::set_download_url "${URL}" "${FILENAME}"
pbuild::add_to_group 'Tools'
pbuild::configure() {
:
}
pbuild::compile() {
:
}
pbuild::install() {
rsync -alvAHXS "${SRC_DIR}"/* "${PREFIX}"
}

View File

@@ -0,0 +1,2 @@
paraview/5.8.0 removed
paraview/5.8.1 unstable

View File

@@ -0,0 +1,2 @@
5.8.0 https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.8&type=binary&os=Linux&downloadFile=ParaView-5.8.0-MPI-Linux-Python2.7-64bit.tar.gz
5.8.1 https://www.paraview.org/paraview-downloads/download.php?submit=Download&version=v5.8&type=binary&os=Linux&downloadFile=ParaView-5.8.1-MPI-Linux-Python3.7-64bit.tar.gz

20
Tools/paraview/modulefile Normal file
View File

@@ -0,0 +1,20 @@
#%Module1.0
module-whatis "ParaView"
module-url 'https://www.paraview.org/'
module-license "see: https://www.paraview.org/paraview-license/"
module-maintainer "Marc Caubet Serrabou <marc.caubet@psi.ch>"
module-help "
ParaView is an open-source, multi-platform data analysis and visualization
application. ParaView users can quickly build visualizations to analyze their
data using qualitative and quantitative techniques. The data exploration can
be done interactively in 3D or programmatically using ParaViews batch processing
capabilities.
ParaView was developed to analyze extremely large datasets using distributed
memory computing resources. It can be run on supercomputers to analyze datasets
of petascale size as well as on laptops for smaller data, has become an integral
tool in many national laboratories, universities and industry, and has won
several awards related to high performance computation.
"