From dc2fab8546cf7945c7f4cf56127ef707dd0bb511 Mon Sep 17 00:00:00 2001 From: germann_e Date: Tue, 8 Apr 2025 10:41:40 +0200 Subject: [PATCH 1/5] ADD: first visit draft --- Tools/visit/build | 17 +++++++++++++++++ Tools/visit/files/config.yaml | 19 +++++++++++++++++++ Tools/visit/files/variants.rhel7 | 3 +++ Tools/visit/modulefile | 18 ++++++++++++++++++ 4 files changed, 57 insertions(+) create mode 100755 Tools/visit/build create mode 100644 Tools/visit/files/config.yaml create mode 100644 Tools/visit/files/variants.rhel7 create mode 100644 Tools/visit/modulefile diff --git a/Tools/visit/build b/Tools/visit/build new file mode 100755 index 0000000..a2669f7 --- /dev/null +++ b/Tools/visit/build @@ -0,0 +1,17 @@ +#!/usr/bin/env modbuild + +pbuild::prep() { + : +} + +pbuild::configure() { + : +} + +pbuild::compile() { + : +} + +pbuild::install() { + visit-install ${V} linux-$(uname -p) $PREFIX +} diff --git a/Tools/visit/files/config.yaml b/Tools/visit/files/config.yaml new file mode 100644 index 0000000..843d6e8 --- /dev/null +++ b/Tools/visit/files/config.yaml @@ -0,0 +1,19 @@ +--- +format: 1 +gnuplot: + defaults: + group: Tools + overlay: base + relstage: stable + systems: [sles15.5] + docfiles: [Copyright, NEWS, README] + urls: + - url: https://github.com/visit-dav/visit/releases/download/v${V_PKG}/visit-install${V_PKG//./_} + shasums: + visit-3.4.2: 65b5ad7facc0f7281026c78c2adeff07a31965136da150e3d9d00341907367da + versions: + 3.4.2: + config: + relstage: unstable + systems: [rhel*] + diff --git a/Tools/visit/files/variants.rhel7 b/Tools/visit/files/variants.rhel7 new file mode 100644 index 0000000..94dcdde --- /dev/null +++ b/Tools/visit/files/variants.rhel7 @@ -0,0 +1,3 @@ +gnuplot/5.4.3 stable +gnuplot/5.4.4 stable +gnuplot/5.4.5 stable diff --git a/Tools/visit/modulefile b/Tools/visit/modulefile new file mode 100644 index 0000000..8fba736 --- /dev/null +++ b/Tools/visit/modulefile @@ -0,0 +1,18 @@ +#%Pmodule + +module-whatis "portable command-line driven graphing utility" +module-url "http://www.gnuplot.info/" +module-license "See \$GNUPLOT_DIR/share/doc/gnuplot/Copyright" +module-maintainer "Achim Gsell " + +module-help " +Gnuplot is a portable command-line driven graphing utility for Linux, +OS/2, MS Windows, OSX, VMS, and many other platforms. The source code +is copyrighted but freely distributed (i.e., you don't have to pay for +it). It was originally created to allow scientists and students to +visualize mathematical functions and data interactively, but has grown +to support many non-interactive uses such as web scripting. It is also +used as a plotting engine by third-party applications like Octave. +Gnuplot has been supported and under active development since 1986. +" + From f3d8509830b589b4a02c986b980e4a4c24b6e7ba Mon Sep 17 00:00:00 2001 From: Germann Elsa Sylvia Date: Tue, 8 Apr 2025 15:35:36 +0200 Subject: [PATCH 2/5] ADD: final visit build script --- Tools/visit/build | 7 ++----- Tools/visit/files/config.yaml | 15 +++++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/Tools/visit/build b/Tools/visit/build index a2669f7..d52c52d 100755 --- a/Tools/visit/build +++ b/Tools/visit/build @@ -1,9 +1,5 @@ #!/usr/bin/env modbuild -pbuild::prep() { - : -} - pbuild::configure() { : } @@ -13,5 +9,6 @@ pbuild::compile() { } pbuild::install() { - visit-install ${V} linux-$(uname -p) $PREFIX + cd "${PMODULES_DISTFILESDIR}" + bash "./visit-install-${V_PKG}" ${V} linux-$(uname -p) ${PREFIX} } diff --git a/Tools/visit/files/config.yaml b/Tools/visit/files/config.yaml index 843d6e8..6e8d785 100644 --- a/Tools/visit/files/config.yaml +++ b/Tools/visit/files/config.yaml @@ -1,19 +1,22 @@ --- format: 1 -gnuplot: +visit: defaults: group: Tools overlay: base relstage: stable systems: [sles15.5] docfiles: [Copyright, NEWS, README] - urls: - - url: https://github.com/visit-dav/visit/releases/download/v${V_PKG}/visit-install${V_PKG//./_} - shasums: - visit-3.4.2: 65b5ad7facc0f7281026c78c2adeff07a31965136da150e3d9d00341907367da versions: 3.4.2: config: + urls: + - url: https://github.com/visit-dav/visit/releases/download/v${V_PKG}/visit-install3_4_2 + name: visit-install-${V_PKG} + unpacker: none + - url: https://github.com/visit-dav/visit/releases/download/v${V_PKG}/visit3_4_2.linux-x86_64-rocky8.tar.gz + name: visit3_4_2.linux-x86_64.tar.gz + unpacker: none relstage: unstable - systems: [rhel*] + systems: [sles*] From 360bb13e4ecaeaa782aca564c54eb541c1df4ee8 Mon Sep 17 00:00:00 2001 From: Germann Elsa Sylvia Date: Tue, 8 Apr 2025 15:40:10 +0200 Subject: [PATCH 3/5] FIX: module descrition and rm old variant file --- Tools/visit/files/variants.rhel7 | 3 --- Tools/visit/modulefile | 16 +++++----------- 2 files changed, 5 insertions(+), 14 deletions(-) delete mode 100644 Tools/visit/files/variants.rhel7 diff --git a/Tools/visit/files/variants.rhel7 b/Tools/visit/files/variants.rhel7 deleted file mode 100644 index 94dcdde..0000000 --- a/Tools/visit/files/variants.rhel7 +++ /dev/null @@ -1,3 +0,0 @@ -gnuplot/5.4.3 stable -gnuplot/5.4.4 stable -gnuplot/5.4.5 stable diff --git a/Tools/visit/modulefile b/Tools/visit/modulefile index 8fba736..722eb8f 100644 --- a/Tools/visit/modulefile +++ b/Tools/visit/modulefile @@ -1,18 +1,12 @@ #%Pmodule -module-whatis "portable command-line driven graphing utility" -module-url "http://www.gnuplot.info/" -module-license "See \$GNUPLOT_DIR/share/doc/gnuplot/Copyright" +module-whatis "Open Source, interactive, scalable, visualization, animation and analysis tool" +module-url "https://visit-dav.github.io/visit-website/about/" +module-license "BSD 3-Clause License" module-maintainer "Achim Gsell " module-help " -Gnuplot is a portable command-line driven graphing utility for Linux, -OS/2, MS Windows, OSX, VMS, and many other platforms. The source code -is copyrighted but freely distributed (i.e., you don't have to pay for -it). It was originally created to allow scientists and students to -visualize mathematical functions and data interactively, but has grown -to support many non-interactive uses such as web scripting. It is also -used as a plotting engine by third-party applications like Octave. -Gnuplot has been supported and under active development since 1986. +VisIt is an Open Source, interactive, scalable, visualization, animation and analysis tool. +From Unix, Windows or Mac workstations, users can interactively visualize and analyze data ranging in scale from small (<10 core) desktop-sized projects to large (>10,000 core) leadership-class computing facility simulation campaigns. " From 28641a2c41a9ad8ce7d318e0d66f1e6986a195f8 Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 26 May 2025 10:11:20 +0200 Subject: [PATCH 4/5] visit: configure build functions in YAML config file --- Tools/visit/build | 8 -------- Tools/visit/files/config.yaml | 6 ++++-- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/Tools/visit/build b/Tools/visit/build index d52c52d..ba4f528 100755 --- a/Tools/visit/build +++ b/Tools/visit/build @@ -1,13 +1,5 @@ #!/usr/bin/env modbuild -pbuild::configure() { - : -} - -pbuild::compile() { - : -} - pbuild::install() { cd "${PMODULES_DISTFILESDIR}" bash "./visit-install-${V_PKG}" ${V} linux-$(uname -p) ${PREFIX} diff --git a/Tools/visit/files/config.yaml b/Tools/visit/files/config.yaml index 6e8d785..89a31b9 100644 --- a/Tools/visit/files/config.yaml +++ b/Tools/visit/files/config.yaml @@ -5,8 +5,11 @@ visit: group: Tools overlay: base relstage: stable - systems: [sles15.5] + systems: [sles.*, rhel.*] docfiles: [Copyright, NEWS, README] + build_functions: + configure: [] + compile: [] versions: 3.4.2: config: @@ -18,5 +21,4 @@ visit: name: visit3_4_2.linux-x86_64.tar.gz unpacker: none relstage: unstable - systems: [sles*] From 5898e6a738cb6ffde410913c5084bf2754d9139e Mon Sep 17 00:00:00 2001 From: Achim Gsell Date: Mon, 26 May 2025 10:14:23 +0200 Subject: [PATCH 5/5] visit: release stage changed to stable --- Tools/visit/files/config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tools/visit/files/config.yaml b/Tools/visit/files/config.yaml index 89a31b9..74f630c 100644 --- a/Tools/visit/files/config.yaml +++ b/Tools/visit/files/config.yaml @@ -20,5 +20,5 @@ visit: - url: https://github.com/visit-dav/visit/releases/download/v${V_PKG}/visit3_4_2.linux-x86_64-rocky8.tar.gz name: visit3_4_2.linux-x86_64.tar.gz unpacker: none - relstage: unstable + relstage: stable