Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Paraview recipe #39

Open
wants to merge 51 commits into
base: main
Choose a base branch
from
Open

Paraview recipe #39

wants to merge 51 commits into from

Conversation

biddisco
Copy link

This PR build a minimal paraview using EGL on clariden.
It requires stackinator patch PR
eth-cscs/stackinator#129

@jfavre
Copy link

jfavre commented Feb 7, 2024

installation on ALPS will require two additional items for run-time enabling of the NVIDIA IndeX libraries and license.

@biddisco
Copy link
Author

The PR can now be considered for merging. We support

eiger: zen2 : 
  paraview with OSMESA offscreen headless rendering, 
  python, 
  CDI for icon support, 
  raycasting with TBB  
  VTK-m filters using TBB
  + lots lots more
daint: gh200 : 
  paraview with EGL headless accelerated rendering, 
  nvidia index plugin, 
  python, 
  CDI support for icon
  TBB and raycasting
  CUDA enabled VTK-m filters 
  + more

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.0

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=eiger;uarch=zen2;uenv=paraview:5.13.0

1 similar comment
@simonpintarelli
Copy link
Member

cscs-ci run alps;system=eiger;uarch=zen2;uenv=paraview:5.13.0

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.0

4 similar comments
@simonpintarelli
Copy link
Member

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.0

@biddisco
Copy link
Author

biddisco commented Sep 3, 2024

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.0

@biddisco
Copy link
Author

biddisco commented Sep 3, 2024

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.0

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.0

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=eiger;uarch=zen2;uenv=paraview:5.13.0

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.0

@biddisco
Copy link
Author

Please test this and consider it for deployment on our clusters

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.0

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=eiger;uarch=zen2;uenv=paraview:5.13.0

@biddisco
Copy link
Author

cscs-ci run alps;system=eiger;uarch=zen2;uenv=paraview:5.13.1

@biddisco
Copy link
Author

please note, paraview release has been bumped from 5.13.0 to 5.13.1

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=eiger;uarch=zen2;uenv=paraview:5.13.1

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=todi;uarch=gh200;uenv=paraview:5.13.1

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=eiger;uarch=zen2;uenv=paraview:5.13.1

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=todi;uarch=gh200;uenv=paraview:5.13.1

@simonpintarelli
Copy link
Member

I've just tried to build it manually on eiger, there is an error compiling h5hut on zen2 too.

@simonpintarelli simonpintarelli self-requested a review November 25, 2024 20:38
@biddisco
Copy link
Author

biddisco commented Jan 15, 2025

cscs-ci run alps;system=todi;uarch=gh200;uenv=paraview:5.13.2

@biddisco
Copy link
Author

Help @simonpintarelli - CI seems to fail with

['#SBATCH --partition=normal', '#SBATCH --reservation=icon', '#SBATCH --time=180', '#SBATCH --account=csstaff']
2025-01-15 16:15:59.256924: Exception while waiting submitting job to queue. Exception=last request: 200 {'tasks': {'4342e4b82769ac9897fce85bc64e74e9': {'created_at': '2025-01-15T15:15:29', 'data': 'sbatch: error: Batch job submission failed: Requested reservation is invalid', 'description': 'Finished with errors

it is using a reservation for icon on machine todi - I don't know where this is set or how to change it.
where is the CI info stored?

@biddisco
Copy link
Author

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.2

1 similar comment
@simonpintarelli
Copy link
Member

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.2

@biddisco
Copy link
Author

Several users have requested a uenv for paraview. What do I need to do to get this accepted as a valid solution for users?

Copy link
Member

@simonpintarelli simonpintarelli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

name: prgenv-gnu
spack:
commit: jb-develop
repo: /capstor/scratch/cscs/biddisco/spack-eiger
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This directory isn't readable for everyone, the CI is failing to clone when calling stack-config [..]

[daint][simonpi@daint-ln001 simonpi]$ ls -alhd /capstor/scratch/cscs/biddisco/spack-eiger
drwx------+ 11 biddisco csstaff 4.0K Aug 21 23:10 /capstor/scratch/cscs/biddisco/spack-eiger

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a particular reason to use a forked spack repo? If only package.py have been changed, those recipes should be copied to repo/packages instead and then spack upstream used in config.yaml


# raytracing in VTK/ParaView
- [email protected] ~mpi +denoiser +volumes ~apps ~glm
- ispc@main
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be better to use a commit id instead.

Spack supports the following syntax
ispc@git.<git ref>=main
(https://spack.readthedocs.io/en/latest/basic_usage.html#git-versions)


# remove /dev/shm paths from build-env that will not be available to the final user
GCCLOC=$($SPACK_CMD location -i gcc@12)
sed -i "s|/dev/shm/biddisco/spack/lib/spack/env/gcc|$GCCLOC/bin|g" $BUILD_ENV
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this causing the incorrect paths in activate.sh?

@simonpintarelli
Copy link
Member

cscs-ci run alps;system=eiger;uarch=zen2;uenv=paraview:5.13.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants