Version 15 (modified by 9 years ago) ( diff ) | ,
---|
In-situ Visualisation on JUQUEEN
- check this presentation pdf
- instrument your code
- link your code with libsim
- start simulation
- connect with GUI to simulation
instrument your code
link your code with libsim
LibsimV2 is compiled as a static library on JUQUEEN and has dependencies to multiple other libraries. Hence, linking libsimV2 to a simulation results in a long link line.
Steps On JUQUEEN
start simulation
1) prepare jobscript
- Run I/O operations with POSIX rules or VisIt cannot send/recv short commands ==> BG_SYSIODPOSIXMODE=1
- 0 == I/O operation that is initiated from a compute node can cause multiple I/O operations on the I/O node.
- 1 == Each I/O operation that is initiated from a compute node completes atomically.
- Set $HOME or VisIt segfaults
2) submit job
3) wait until job has started
4) check sim2 file written by simulation
Steps On Local Machine (using Host profile)
1) create host profile
Please setup a host profile like this:
- Host nickname: JSC JUQUEEN
- Remote host name: juqueen1.fz-juelich.de
- Host name aliases: juqueen# juqueen#.fz-juelich juqueen#.fz-juelich.de juqueen1.fz-juelich.de
- Path to VisIt installation: <PATH-TO-VISIT-INSTDIR-INHERITING-THE-BIN-DIR>
- Username: <USERNAME>
- [x] Tunnel data connection through SSH
You have to
The JUQUEEN login nodes have two ip addresses. One is valid for connections from outside the JUQUEEN network and one ip address is valid from connections inside the JUQUEEN network.
Compute nodes _cannot_ access the login node using the public IP. This results in various problems.
public ip <------------> internal ip
134.94.32.59 <- juqueen1 -> 134.94.141.13
134.94.32.60 <- juqueen2 -> 134.94.141.14
134.94.32.61 <- juqueen3 -> 134.94.141.15
134.94.32.62 <- juqueen3 -> 134.94.141.16
2) connect with host profile
3) open sim2 file on with VisIt GUI
Steps On Local Machine (manual)
connect with GUI to simulation
1) tunnel port on compute node of rank 0 to local machine (forward connection)
- <USER>@juqueen.fz-juelich.de is your login to the front node
- -L <LOCAL-PORT>:<COMPUTE-NODE>:<REMOTE-PORT> defines the start and end of the tunnel
- -f tells ssh to go into the background
- -N instructs OpenSSH to not execute a command on the remote system
example:
2) copy/modify sim2 file to client
example:
modify to:
3) open sim2 file on with VisIt GUI
4) tunnel port on local machine to compute node of rank 0 (backward connection)
Attachments (5)
- connect_diagram_VisIt4Juqueen.png (47.4 KB ) - added by 9 years ago.
- visit_connect.png (61.9 KB ) - added by 9 years ago.
- JUQUEEN_HostProfile-2.png (61.9 KB ) - added by 9 years ago.
- JUQUEEN_HostProfile-1.png (94.8 KB ) - added by 9 years ago.
- psOpen_VisIt.jobscript (2.5 KB ) - added by 9 years ago.
Download all attachments as: .zip