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 53 commits into
base: main
Choose a base branch
from
Open

Paraview recipe #39

wants to merge 53 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

recipes/paraview/5.13.0/zen2/config.yaml Outdated Show resolved Hide resolved
recipes/paraview/5.13.1/gh200/environments.yaml Outdated Show resolved Hide resolved

# 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?

Copy link
Author

Choose a reason for hiding this comment

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

No. All envs contain stuff like

export SPACK_ENV=/dev/shm/jenkssl/cp2k/2024.3/1502220409/environments/cp2k;

this is there to ensure that when a user wants to build a plugin against the installed paraview in the uenv, the paths are setup correctly for cmake to find things. A build-env generated during stackinator build has /dev/shm paths set if that was the build location, this replaces them to make the uenv usable for custom development

@simonpintarelli
Copy link
Member

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

@biddisco
Copy link
Author

biddisco commented Feb 4, 2025

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

@biddisco
Copy link
Author

biddisco commented Feb 4, 2025

cscs-ci run alps;system=daint;uarch=gh200;uenv=paraview:5.13.2
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