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

Paraview recipe #39

wants to merge 48 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
Copy link
Member

simonpintarelli commented Nov 25, 2024

fix-threads.patch doesn't apply in the stackinator build:

==> All specs are already in the buildcache. Use --force to overwrite them.
touch paraview-python/generated/build_cache
spack -e '/dev/shm/simonpi/build-bwrap/environments/paraview-zen2-osmesa' install   --only-concrete --only=package /
atkgn2ajzjernmyoso3f5cwuj6hp2asj # ispc@main%gcc@=12.4.0~ipo build_system=cmake build_type=Release generator=make pa
tches=bda7157,ecd3ea5arch=linux-sles15-zen2
==> Installing ispc-main-atkgn2ajzjernmyoso3f5cwuj6hp2asj [1/1]
==> No binary for ispc-main-atkgn2ajzjernmyoso3f5cwuj6hp2asj found: installing from source
1 out of 1 hunk FAILED -- saving rejects to file CMakeLists.txt.rej
==> Applied patch /user-environment/repo/packages/ispc/find-tbb.patch
==> Patch /user-environment/repo/packages/ispc/fix-threads.patch failed.
==> Error: ProcessError: Command exited with status 1:
    '/usr/bin/patch' '-s' '-p' '1' '-i' '/user-environment/repo/packages/ispc/fix-threads.patch' '-d' '.'
make[1]: *** [paraview-zen2-osmesa/Makefile:23: paraview-zen2-osmesa/generated/install/ispc-main-atkgn2ajzjernmyoso3
f5cwuj6hp2asj] Error 1
make[1]: *** Waiting for unfinished jobs....
spack -e '/dev/shm/simonpi/build-bwrap/environments/paraview-zen2-osmesa' install   --only-concrete --only=package /
yhsktntz76v54zhthzxposvjkq5jrjzo # [email protected]%gcc@=12.4.0+glx+llvm+opengl~opengles+osmesa~strip build_system=meson
buildtype=release default_library=sharedarch=linux-sles15-zen2

Lookis like current ispc@main doesn't require fix-threads.patch anymore.

@biddisco
Copy link
Author

h5hut was removed from the recipe already.
The ispc patch is probably caused by a newer version ispc being available. I will fix. On my laptop it seems I don't need it any more. Will push changes asap

@biddisco
Copy link
Author

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

@biddisco
Copy link
Author

biddisco commented Nov 26, 2024

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

@biddisco
Copy link
Author

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

@simonpintarelli
Copy link
Member

The paraview binaries from /user-environment/ParaView-5.13/bin seem not to be contained in the both environments.

PATH in /user-environment/env/paraview-python/activate.sh and in /user-environment/env/paraview-zen2-osmesa/activate.sh both contain /dev/shm/jenkssl/paraview/5.13.1/1560901029/spack/bin.

Also there is a directory temp left in /user-environment.

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