|
|
* [Comsol Server VNC Session](#vnc-app)
|
|
|
* [Connect to VNC session **Universal** (Recommended)](Connect-to-VNC-through-SSH-Tunnel/#universal-tunnel)
|
|
|
* [Connect to VNC session using Linux](Connect-to-VNC-through-SSH-Tunnel/#linux-tunnel)
|
|
|
* [Connect to VNC session using OSX](Connect-to-VNC-through-SSH-Tunnel/#osx-tunnel)
|
|
|
* [Connect to VNC session using Windows](Connect-to-VNC-through-SSH-Tunnel/#windows-tunnel)
|
|
|
|
|
|
### <a name="vnc-app"></a>Comsol Server VNC Session
|
|
|
|
|
|
1. Connect to
|
|
|
|
|
|
```
|
|
|
oakley.osc.edu
|
|
|
```
|
|
|
|
|
|
using your favorite SSH client and your AweSim account username/password.
|
|
|
|
|
|
2. Run the Comsol Server OSC script:
|
|
|
|
|
|
```
|
|
|
$ ~jnicklas/altasim/comsol_script
|
|
|
|
|
|
Welcome to a simple OSC COMSOL server batch submission script.
|
|
|
|
|
|
Make sure you are in the working directory with your data files.
|
|
|
Current path: /nfs/17/username/path/to/project/files
|
|
|
|
|
|
1. COMSOL Server (single node)
|
|
|
Choose (default 1):
|
|
|
```
|
|
|
|
|
|
3. Choose option `1` for a VNC session
|
|
|
|
|
|
* **#1** - Launches Comsol Server with a Firefox browser on a single compute node on Oakley (12 cores).
|
|
|
|
|
|
Further details may need to be provided for specific option chosen above:
|
|
|
* **resolution** - Specify the resolution you want the VNC session to run in `WxH` (e.g., `1920x1200`)
|
|
|
* **# hours** - This is the upper limit of time the job will run. If you go beyond this time requested, the job will die unexpectedly.
|
|
|
|
|
|
4. Wait until you receive an email with the location of a file that contains the **connection information** for the VNC session launched as well as some useful host information.
|
|
|
|
|
|
> Your VNC job has started. The connection information can be found at:
|
|
|
>
|
|
|
> /nfs/17/username/path/to/project/files/3456195.oak-batch.osc.edu.conn
|
|
|
>
|
|
|
> A list of the hosts allocated for this job can be found at (used when launching Fluent from Ansys Workbench):
|
|
|
>
|
|
|
> /nfs/17/username/path/to/project/files/3564940.oak-batch.osc.edu.nodes
|
|
|
>
|
|
|
> A list of unique hosts are (used for supplying hosts in the CFX-Solver GUI):
|
|
|
>
|
|
|
> * n0616
|
|
|
> * n0617
|
|
|
|
|
|
5. Back in your SSH client connected to `oakley.osc.edu` output the contents of that secure file:
|
|
|
|
|
|
```
|
|
|
$ cat /nfs/17/username/path/to/project/files/3456195.oak-batch.osc.edu.conn
|
|
|
|
|
|
Host: n0666.ten.osc.edu
|
|
|
Port: 5901
|
|
|
Pass: 3juRnrx0Mt
|
|
|
Display: 1
|
|
|
|
|
|
username:3juRnrx0Mt:n0666.ten.osc.edu:5901
|
|
|
```
|
|
|
|
|
|
6. Use this information in your VNC client to connect to this session through SSH tunneling
|
|
|
|
|
|
* [**Universal** (Recommended)](Connect-to-VNC-through-SSH-Tunnel/#universal-tunnel)
|
|
|
* [Linux](Connect-to-VNC-through-SSH-Tunnel/#linux-tunnel)
|
|
|
* [OSX](Connect-to-VNC-through-SSH-Tunnel/#osx-tunnel)
|
|
|
* [Windows](Connect-to-VNC-through-SSH-Tunnel/#windows-tunnel)
|
|
|
|
|
|
7. You will be greeted with a Firefox browser in the VNC session running the Comsol Server
|
|
|
|
|
|

|
|
|
|
|
|
Type in your **Awesim** _username_ and _password_.
|
|
|
|
|
|
Then click "Log in to COMSOL Server". |