Skip to content
Snippets Groups Projects
Commit d323fcf5 authored by Caughlin Bohn's avatar Caughlin Bohn
Browse files

Sas on Anvil

parent 0dd79cfb
Branches
No related tags found
1 merge request!252Running SAS on HCC
...@@ -4,9 +4,9 @@ description = "How to run SAS on HCC resources." ...@@ -4,9 +4,9 @@ description = "How to run SAS on HCC resources."
+++ +++
- [Running SAS through the command line](#connecting-to-jupyterhub) - [Running SAS through the command line](#sas-on-hcc-clusters)
- [Running SAS on JupyterHub](#connecting-to-jupyterhub) - [Running SAS on JupyterHub](#sas-on-jupyterhub)
- [Running SAS on Anvil](#connecting-to-jupyterhub) - [Running SAS on Anvil](#sas-on-anvil)
This quick start demonstrates how to implement a SAS program on This quick start demonstrates how to implement a SAS program on
HCC supercomputers through the command line and JupyterHub, and on HCC's Anvil platform. The sample code and submit scripts can be HCC supercomputers through the command line and JupyterHub, and on HCC's Anvil platform. The sample code and submit scripts can be
...@@ -95,51 +95,18 @@ Replace `<username>` with your HCC username. ...@@ -95,51 +95,18 @@ Replace `<username>` with your HCC username.
#### Sample Output #### Sample Output
The results of the t-test are computed and printed to the `.lst` file (see The results of the t-test are computed and printed to the `.lst` file
below).
{{%expand "t-test.lst" %}}
{{< highlight batchfile>}}
The SAS System
Obs pre post
1 62 61
2 63 62
3 58 59
4 64 61
5 64 63
6 61 58
7 68 61
8 66 64
9 65 62
10 67 68
11 69 65
12 61 67
13 64 65
14 61 63
15 63 62
The SAS System
The TTEST Procedure
Difference: pre - post
N Mean Std Dev Std Err Minimum Maximum
15 1.0000 3.0237 0.7807 -6.0000 7.0000
Mean 95% CL Mean Std Dev 95% CL Std Dev
1.0000 -0.6745 2.6745 3.0237 2.2137 4.7687
DF t Value Pr > |t|
14 1.28 0.2211
{{< /highlight >}}
{{% /expand %}}
## SAS on JupyterHub ## SAS on JupyterHub
## SAS on Anvil ## SAS on Anvil
SAS can also be ran on a Windows 10 instance on anvil. This allows SAS scripts to be run with a full GUI environment.
Start off creating a `Windows 10 SAS` instance from the [Anvil dashboard](https://anvil.unl.edu/). [Create an instance]({{< relref "../../anvil/creating_an_instance.md" >}}) and use the image labeled `Windows 10 SAS`. Once the instance is fully launched, [connect to the instance]({{< relref "../../anvil/connecting_to_windows_instances.md" >}}) using the retrieved password. After connecting to the instance and logging , SAS can be launched from the desktop shortcut.
{{< figure src="/images/sasAnvilDesktop.png" height="450" >}}
From here sas scripts can be ran from the editor at the bottom of the SAS window. Scripts can also be opened from a script file on the Anvil instance.
{{< figure src="/images/sasAnvil.png" height="450" >}}
Executing a script is done at the top of the SAS window `Run` and click `Submit`. When the script finishes executing, the results will be displayed.
{{< figure src="/images/sasAnvilResults.png" height="450" >}}
\ No newline at end of file
static/images/sasAnvil.png

33.3 KiB

static/images/sasAnvilDesktop.png

491 KiB

static/images/sasAnvilResults.png

32.6 KiB

0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment