-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0414336
commit f94d8a5
Showing
1 changed file
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,10 +15,15 @@ From a command line, run the following lines, logout, then back in, and hencefor | |
|
||
```bash | ||
echo 'export SLURM_CLUSTERS="cbsueccosl01"' >> $HOME/.bash_profile | ||
``` | ||
|
||
In the following, replace `netid` with your actual NetID. | ||
|
||
|
||
```bash | ||
echo [email protected] >> $HOME/.forward | ||
``` | ||
|
||
(replace your `netid` in the second command). | ||
|
||
### Enabling software via `module` | ||
|
||
|
@@ -59,6 +64,28 @@ If you need a specific node, use | |
srun -w cbsueccoXX --pty bash -l | ||
``` | ||
|
||
## Interactive GUI jobs | ||
|
||
You should be able to get interactive GUI jobs (Stata, MATLAB) to work as follows: | ||
|
||
```bash | ||
salloc -N 1 | ||
ssh -X $SLURM_NODELIST /usr/local/stata18/xstata | ||
``` | ||
|
||
or | ||
|
||
```bash | ||
salloc -N 1 | ||
ssh -X $SLURM_NODELIST /local/opt/MATLAB/R2023a/bin/matlab | ||
``` | ||
|
||
:::{warning} | ||
|
||
It is technically feasible to login to each node without using SLURM. However, this confuses the job scheduler. Do not abuse this, exclusion from use of the cluster may be the consequence. | ||
|
||
::: | ||
|
||
## To see running jobs | ||
|
||
``` | ||
|
@@ -77,4 +104,4 @@ where the ID can be gleaned from the `squeue` command. | |
|
||
## Additional information | ||
|
||
- [https://biohpc.cornell.edu/lab/SLURM-on-demand.htm](https://biohpc.cornell.edu/lab/SLURM-on-demand.htm) | ||
- [https://biohpc.cornell.edu/lab/SLURM-on-demand.htm](https://biohpc.cornell.edu/lab/SLURM-on-demand.htm) |