Examining VisIt test results on a remote system #19750
markcmiller86
started this conversation in
Share cool stuff
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Have you ever run VisIt's test suite, or some portion thereof, on a remote system and then wanted to browse the html files produced to see how the test went? You can easily do this using a combination of python and ssh port forwarding.
index.html
is produced after running the test. It is typically in...build/test/output/html
.python3 -m http.server 8050
(where8050
is your choice for port number)ssh
to create a port-forward from your local machine to the remote machine's 8050 port with the commandssh -f -N -L 8000:localhost:8050 username@remote-host
. You will have to complete the login prompts for the remote machine but once done, the forward is created.http://localhost:8000
. You should then see the html files on the remote system in your browser. All the http traffic is flowing over the ssh connection.This is easier than tar'ing up and copying the files especially when you are running and re-running the test suite and is faster than launching a browser on the remote system and displaying back via X windows (but maybe not via VNC).
Beta Was this translation helpful? Give feedback.
All reactions