-
Notifications
You must be signed in to change notification settings - Fork 317
Open
Description
Hello SPlisHSPlasH developer.
Thank you for good library.
I got a following error when I execute splash command and choose json file.
Failed to open file: /usr/bin/output/Beam/log/SPH_log.txt
SPlisHSPlasH version: 2.13.1
Output directory: /usr/bin/output/Beam
Load scene file: /home/harumo/repos/python/splash/.venv/bin/data/Scenes/Beam.json
Initialize static boundary simulation
Initialize fluid particles
Number of fluid particles: 8982
OpenGL version 4.6
Vendor: Intel
Renderer: Mesa Intel(R) Graphics (RPL-U)
Version: 4.6 (Compatibility Profile) Mesa 23.2.1-1ubuntu3.1~22.04.2
Error occurred while loading shader: /usr/bin/resources/shaders/vs_points_vector.glsl
Error occurred while loading shader: /usr/bin/resources/shaders/fs_points.glsl
Error occurred while loading shader: /usr/bin/resources/shaders/vs_points_scalar.glsl
Error occurred while loading shader: /usr/bin/resources/shaders/fs_points.glsl
Error occurred while loading shader: /usr/bin/resources/shaders/vs_points_scalar.glsl
Error occurred while loading shader: /usr/bin/resources/shaders/fs_points_colormap.glsl
Error occurred while loading shader: /usr/bin/resources/shaders/vs_smooth.glsl
Error occurred while loading shader: /usr/bin/resources/shaders/fs_smooth.glsl
Object 0 - fixed particles: 1133
Non zero elements (H^T * K * H): 593848
Non zero elements (A): 516623
Segmentation fault (core dumped)
This error seems to be caused because the shader files are not under /usr/bin/resources/shaders.
I think it is difficult to put those file under /usr/bin/resources/shaders with pip.
So, the solution is copy those files to /usr/bin/resources/
cd .venv/bin
sudo cp -r resources /usr/bin/
Could you change the path of the referenced directory to not system but inside package, so that user can install it and start using it right away?
marcoromelli
Metadata
Metadata
Assignees
Labels
No labels