Skip to content

Commit 0af747a

Browse files
committed
Recipe for minimal paraview build on clariden
1 parent 0a39d36 commit 0af747a

File tree

5 files changed

+54
-39
lines changed

5 files changed

+54
-39
lines changed

recipes/paraview/a100/config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ store: /user-environment
33
description: ParaView visualization tool
44

55
spack:
6-
commit: releases/v0.19
76
repo: https://github.com/spack/spack.git
7+
commit: v0.20.0
88

recipes/paraview/a100/environments.yaml

+33-36
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,13 @@ gcc-nvgpu:
1010
- cmake
1111
- ninja
1212
- python
13-
- [email protected] +egl +cuda +mpi +opengl2 +tbb +ospray +python use_vtkm=on build_edition=rendering ^llvm~gold
13+
- py-pandas
14+
15+
#- ospray
16+
- [email protected] +egl +cuda +mpi +hdf5 +opengl2 +tbb ~ospray ~python use_vtkm=on build_edition=rendering
1417
packages:
1518
- git
1619
- perl
17-
- diffutils
18-
- gettext
19-
- openssh
20-
- openssl
21-
- ncurses
22-
- cpio
2320
variants:
2421
- +cuda
2522
- cuda_arch=80
@@ -28,32 +25,32 @@ gcc-nvgpu:
2825
- cxxstd=17
2926
- ~examples
3027

31-
gcc-osmesa:
32-
compiler:
33-
- toolchain: gcc
34-
spec: gcc@11
35-
mpi:
36-
spec: cray-mpich
37-
gpu: cuda
38-
unify: true
39-
specs:
40-
- cmake
41-
- ninja
42-
- python
43-
- mesa+glx+llvm+opengl+osmesa swr=avx2 default_library=shared
44-
- vtk +osmesa ^mesa+glx+llvm+opengl+osmesa swr=avx2 default_library=shared
45-
- [email protected]+osmesa~cuda+mpi+opengl2+tbb+ospray+python use_vtkm=default build_edition=rendering ^mesa+glx+llvm+opengl+osmesa swr=avx2 default_library=shared
46-
packages:
47-
- git
48-
- perl
49-
- diffutils
50-
- gettext
51-
- openssh
52-
- openssl
53-
- ncurses
54-
- cpio
55-
variants:
56-
- ~fortran
57-
- build_type=Release
58-
- cxxstd=17
59-
- ~examples
28+
#gcc-osmesa:
29+
# compiler:
30+
# - toolchain: gcc
31+
# spec: gcc@11
32+
# mpi:
33+
# spec: cray-mpich
34+
# gpu: cuda
35+
# unify: true
36+
# specs:
37+
# - cmake
38+
# - ninja
39+
# - python
40+
# - mesa+glx+llvm+opengl+osmesa swr=avx2 default_library=shared
41+
# - vtk +osmesa ^mesa+glx+llvm+opengl+osmesa swr=avx2 default_library=shared
42+
# - [email protected]+osmesa~cuda+mpi+opengl2+tbb+ospray+python use_vtkm=default build_edition=rendering ^mesa+glx+llvm+opengl+osmesa swr=avx2 default_library=shared
43+
# packages:
44+
# - git
45+
# - perl
46+
# - diffutils
47+
# - gettext
48+
# - openssh
49+
# - openssl
50+
# - ncurses
51+
# - cpio
52+
# variants:
53+
# - ~fortran
54+
# - build_type=Release
55+
# - cxxstd=17
56+
# - ~examples

recipes/paraview/a100/packages.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
packages:
22
all:
3-
providers:
3+
providers:
44
gl: [egl]
55
egl:
66
externals:
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
*** a/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c 2023-03-16 16:57:14.172102586 -0400
2+
--- b/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c 2023-03-16 11:20:28.230116660 -0400
3+
***************
4+
*** 1770,1776 ****
5+
--- 1770,1778 ----
6+
*/
7+
8+
/* const int NC_SZIP_EC = 4; */ /* Selects entropy coding method for szip. */
9+
+ #ifndef NC_SZIP_NN
10+
const int NC_SZIP_NN = 32; /* Selects nearest neighbor coding method for szip. */
11+
+ #endif
12+
/* Even and between 4 and 32; typical values are 8, 10, 16, 32 */
13+
const int SZIP_PIXELS_PER_BLOCK =
14+
file->compression_level == 0 ? 32 : file->compression_level;

recipes/paraview/job-build-clariden.sh

+5-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#SBATCH --output=/users/biddisco/stackinator-output.txt
99
#SBATCH --error=/users/biddisco/stackinator-error.txt
1010

11+
SRC=/users/biddisco/src
1112
CLUSTER=clariden
1213
STACKI_DIR=$SRC/alps-vcluster/stackinator
1314
RECIPE_DIR=$SRC/alps-vcluster/alps-spack-stacks/recipes/paraview/a100
@@ -20,7 +21,10 @@ mkdir -p ${BUILD_DIR}
2021
mkdir -p ${BUILD_DIR}/tmp
2122

2223
echo "Execute stackinator"
23-
$STACKI_DIR/bin/stack-config -s $SYSTEM_DIR -b ${BUILD_DIR} -r $RECIPE_DIR -c $RECIPE_DIR/cache-config.yaml --debug
24+
$STACKI_DIR/bin/stack-config -s $SYSTEM_DIR -b ${BUILD_DIR} -r $RECIPE_DIR -c $RECIPE_DIR/cache-config.yaml --debug
25+
26+
# if using develop branch of spack, add --develop
27+
#$STACKI_DIR/bin/stack-config -s $SYSTEM_DIR -b ${BUILD_DIR} -r $RECIPE_DIR -c $RECIPE_DIR/cache-config.yaml --debug --develop
2428

2529
# build the squashfs image - bubblewrap is used inside the makefile
2630
echo "Trigger build"

0 commit comments

Comments
 (0)