Skip to content

Commit a4986c1

Browse files
committed
added first pass on ood stata
1 parent 6ac2292 commit a4986c1

7 files changed

Lines changed: 47 additions & 2 deletions

File tree

docs/hpc/09_ood/10_NGLView.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Be aware that when you start from `Recently Used Apps` it will start with the sa
1313

1414
You can select the number or cores, amount of memory, GPU type (if any) and CUDA version, amount of time, optional Slurm options, and the root directory.
1515

16-
![OOD Matlab Configuration](./static/ood_nglview_config.png)
16+
![OOD NGLView Configuration](./static/ood_nglview_config.png)
1717

1818
:::warning
1919
If you select home as the root directory, be careful not to go over your quota. You can find your current usage with the `myquota` command. Please see our [Storage documentation](../03_storage/01_intro_and_data_management.mdx) for details about your storage options.
@@ -29,7 +29,7 @@ Once that happens you'll get one last form that will allow you to:
2929
- open a terminal window on the compute node your NGLView Jupyter Notebook session is running on
3030
- go to the directory associated with your Session ID that stores output, config and other related files for your session
3131

32-
![Pre-launch matlab OOD](./static/ood_nglview_prelaunch.png)
32+
![Pre-launch NGLView OOD](./static/ood_nglview_prelaunch.png)
3333

3434
Then after you hit the `Connect to NGLView Jupyter` button you'll be able to use NGLView commands in a Jupyter Notebook.
3535

docs/hpc/09_ood/11_Stata.mdx

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# Stata in OOD
2+
3+
## Getting Started
4+
You can run Stata in OOD by going to the URL [ood.hpc.nyu.edu](http://ood.hpc.nyu.edu) in your browser and selecting `STATA` from the `Interactive Apps` pull-down menu at the top of the page. As you can see below, once you've used it and other interactive apps they'll show up on your home screen under the `Recently Used Apps` header.
5+
6+
:::note
7+
Be aware that when you start from `Recently Used Apps` it will start with the same configuration that you used previously. If you'd like to configure your NGLView Jupyter Notebook session differently, you'll need to select it from the menu.
8+
:::
9+
10+
![OOD Interactive Apps menu](./static/ood_interactive_apps_stata.png)
11+
12+
## Configuration
13+
14+
You can select the Stata version, number or cores, amount of memory, amount of time, and optional Slurm options.
15+
16+
![OOD Stata Configuration](./static/ood_stata_config.png)
17+
18+
## Stata running in OOD
19+
20+
After you hit the `Launch` button you'll have to wait for the scheduler to find node(s)for you to run on:
21+
![OOD Stata in queue](./static/ood_stata_in_queue.png)
22+
23+
Then you'll have a short wait for Stata itself to start up.<br />
24+
Once that happens you'll get one last form that will allow you to:
25+
- open a terminal window on the compute node your Stata session is running on
26+
- go to the directory associated with your Session ID that stores output, config and other related files for your session
27+
- set compression and image quality for your app
28+
- get a share-able, view only link to your app
29+
30+
![Pre-launch Stata OOD](./static/ood_stata_prelaunch.png)
31+
32+
Then after you hit the `Launch STATA` button, your Stata window will be displayed.
33+
34+
### Stata example
35+
36+
Please enter the following commands into the Stata command window and run execute them by hitting `enter`:
37+
```
38+
. sysuse auto
39+
. describe
40+
. summarize
41+
. twoway (scatter mpg weight)
42+
```
43+
44+
You should get output like this:
45+
![OOD Stata example](./static/ood_stata_example.png)
178 KB
Loading
224 KB
Loading
832 KB
Loading
128 KB
Loading
158 KB
Loading

0 commit comments

Comments
 (0)