Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
ParaView
ParaView-Superbuild
Commits
b7c0c0cd
Commit
b7c0c0cd
authored
Jun 12, 2019
by
Scott Wittenburg
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace the lightviz application with paraview-flow
parent
35250aae
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
42 additions
and
20 deletions
+42
-20
CMakeLists.txt
CMakeLists.txt
+1
-0
Scripts/singularity/Singularity.egl
Scripts/singularity/Singularity.egl
+10
-10
Scripts/singularity/Singularity.osmesa
Scripts/singularity/Singularity.osmesa
+10
-10
projects/paraviewweb.cmake
projects/paraviewweb.cmake
+1
-0
projects/paraviewwebflow.cmake
projects/paraviewwebflow.cmake
+10
-0
projects/scripts/paraviewwebflow.install.cmake
projects/scripts/paraviewwebflow.install.cmake
+6
-0
versions.cmake
versions.cmake
+4
-0
No files found.
CMakeLists.txt
View file @
b7c0c0cd
...
...
@@ -59,6 +59,7 @@ function (superbuild_find_projects var)
paraviewwebglance
paraviewweblite
paraviewwebdivvy
paraviewwebflow
paraviewwebvisualizer
png
pythonautobahn
...
...
Scripts/singularity/Singularity.egl
View file @
b7c0c0cd
...
...
@@ -180,21 +180,21 @@ From: nvidia/opengl:1.0-glvnd-devel-ubuntu18.04
pv-release-egl.sif --data /data/disk_out.exo --port 9091
%apprun
lightviz
%apprun
flow
exec /opt/paraview/bin/pvpython \
/opt/paraview/share/paraview-5.6/web/
lightviz
/server/pvw-
light-viz
.py \
--content /opt/paraview/share/paraview-5.6/web/
lightviz
/www "$@"
/opt/paraview/share/paraview-5.6/web/
flow
/server/pvw-
flow
.py \
--content /opt/paraview/share/paraview-5.6/web/
flow
/www "$@"
%apphelp
lightviz
Run the ParaView
Web LightViz
server. The server python script (`pvw-
light-viz
.py`)
%apphelp
flow
Run the ParaView
Flow
server. The server python script (`pvw-
flow
.py`)
as well as the `--content` arguments are already provided for you, but you may still
want to provide other arguments such as `--data <path-to-
data-dir>` (note that you
must
bind-mount that path when running singularity
f
or
the image to see it), or
`--port <port-number>`.
want to provide other arguments such as `--data <path-to-
parflow-metadata-file>`
(note that you must either
bind-mount that path when running singularity
,
or
else be
in the directory where it lives for the image to see it), or
`--port <port-number>`.
Example:
$ singularity run --nv \
--bind /<path-to-data-dir>:/data \
--app
lightviz
\
pv-release-egl.sif --data /data --port 9091
--app
flow
\
pv-release-egl.sif --data /data
/pvmetadata
--port 9091
Scripts/singularity/Singularity.osmesa
View file @
b7c0c0cd
...
...
@@ -180,21 +180,21 @@ From: ubuntu:18.04
pv-release-osmesa.sif --data /data/disk_out.exo --port 9091
%apprun
lightviz
%apprun
flow
exec /opt/paraview/bin/pvpython --mesa-swr \
/opt/paraview/share/paraview-5.6/web/
lightviz
/server/pvw-
light-viz
.py \
--content /opt/paraview/share/paraview-5.6/web/
lightviz
/www "$@"
/opt/paraview/share/paraview-5.6/web/
flow
/server/pvw-
flow
.py \
--content /opt/paraview/share/paraview-5.6/web/
flow
/www "$@"
%apphelp
lightviz
Run the ParaView
Web LightViz
server. The server python script (`pvw-
light-viz
.py`)
%apphelp
flow
Run the ParaView
Flow
server. The server python script (`pvw-
flow
.py`)
as well as the `--content` arguments are already provided for you, but you may still
want to provide other arguments such as `--data <path-to-
data-dir>` (note that you
must
bind-mount that path when running singularity
f
or
the image to see it), or
`--port <port-number>`.
want to provide other arguments such as `--data <path-to-
parflow-metadata-file>`
(note that you must either
bind-mount that path when running singularity
,
or
else be
in the directory where it lives for the image to see it), or
`--port <port-number>`.
Example:
$ singularity run \
--bind /<path-to-data-dir>:/data \
--app
lightviz
\
pv-release-osmesa.sif --data /data --port 9091
--app
flow
\
pv-release-osmesa.sif --data /data
/pfmetadata
--port 9091
projects/paraviewweb.cmake
View file @
b7c0c0cd
...
...
@@ -10,6 +10,7 @@ superbuild_add_dummy_project(paraviewweb
paraviewwebglance
paraviewweblite
paraviewwebvisualizer
paraviewwebflow
paraviewwebdivvy
pythonwslink
pythonautobahn
...
...
projects/paraviewwebflow.cmake
0 → 100644
View file @
b7c0c0cd
superbuild_add_project
(
paraviewwebflow
CONFIGURE_COMMAND
""
BUILD_COMMAND
""
INSTALL_COMMAND
"
${
CMAKE_COMMAND
}
"
-Dsource_location:PATH=<SOURCE_DIR>
-Dinstall_location:PATH=<INSTALL_DIR>
-P
"
${
CMAKE_CURRENT_LIST_DIR
}
/scripts/paraviewwebflow.install.cmake"
)
projects/scripts/paraviewweb
lightviz
.install.cmake
→
projects/scripts/paraviewweb
flow
.install.cmake
View file @
b7c0c0cd
file
(
INSTALL
${
source_location
}
/dist/
DESTINATION
"
${
install_location
}
/share/paraview/web/
lightviz
/www"
)
DESTINATION
"
${
install_location
}
/share/paraview/web/
flow
/www"
)
file
(
INSTALL
${
source_location
}
/server/
DESTINATION
"
${
install_location
}
/share/paraview/web/
lightviz
/server"
)
DESTINATION
"
${
install_location
}
/share/paraview/web/
flow
/server"
)
versions.cmake
View file @
b7c0c0cd
...
...
@@ -134,6 +134,10 @@ superbuild_set_revision(paraviewwebglance
URL
"https://registry.npmjs.org/paraview-glance/-/paraview-glance-3.0.3.tgz"
URL_MD5 4eacd4ef01f86dcb53d84ef1fb75938f
)
superbuild_set_revision
(
paraviewwebflow
URL
"https://registry.npmjs.org/paraview-flow/-/paraview-flow-1.0.5.tgz"
URL_MD5 b4f04d98226720b3a554f8f09d5e48b0
)
superbuild_set_revision
(
paraviewwebdivvy
URL
"https://www.paraview.org/files/dependencies/divvy-1.3.14.tar.gz"
URL_MD5 e9a0453a057588791e00efede43cfb91
)
...
...
Scott Wittenburg
@scott.wittenburg
mentioned in commit
9280bb83
·
Jun 13, 2019
mentioned in commit
9280bb83
mentioned in commit 9280bb83ab917cbe6640481d91427c2f7fe29047
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment