Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/hpc/06_tools_and_software/01_intro.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ We strongly advise that you setup your own computational environments via Apptai
- [Managing R packages with renv](../06_tools_and_software/05_r_packages_with_renv.mdx)

## Examples of Software Usage on Torch
Examples can be found under `/scratch/work/public/examples/` and include the following
Examples can be found under `/projects/work/public/examples/` and include the following

| | | |
|-------------------|-----------------------|-----------------------|
Expand Down
24 changes: 12 additions & 12 deletions docs/hpc/06_tools_and_software/02_licensed_software.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,8 +104,8 @@ cd /scratch/<net_id>/example
```
2. Copy example files to your newly created directory
```sh
cp /scratch/work/public/examples/comsol/run-comsol.sbatch /scratch/<net_id>/example/
cp /scratch/work/public/examples/comsol/test-input.mph /scratch/<net_id>/example/
cp /projects/work/public/examples/comsol/run-comsol.sbatch /scratch/<net_id>/example/
cp /projects/work/public/examples/comsol/test-input.mph /scratch/<net_id>/example/
```
3. Edit the slurm batch script file (run-comsol.sbatch) to match your case (for example chance location of the run directory).
4. Once the slurm batch script file is ready, it can be submitted to the job scheduler using sbatch. After successful completion of job, verify output log file for detail output information.
Expand All @@ -132,8 +132,8 @@ cd /scratch/<net_id>/example
```
2. Copy example files to your newly created directory.
```sh
cp /scratch/work/public/examples/mathematica/basic/example.m /scratch/<net_id>/example/
cp /scratch/work/public/examples/mathematica/basic/run-mathematica.sbatch /scratch/<net_id>/example
cp /projects/work/public/examples/mathematica/basic/example.m /scratch/<net_id>/example/
cp /projects/work/public/examples/mathematica/basic/run-mathematica.sbatch /scratch/<net_id>/example
```
3. Edit the slurm batch script file (run-mathematica.sbatch) to match your case (for example chance location of the run directory).
4. Once the sbatch script file is ready, it can be submitted to the job scheduler using sbatch. After successful completion of job, verify output log file generated.
Expand Down Expand Up @@ -168,9 +168,9 @@ cd /scratch/<net_id>/example
```
2. Copy example files to your newly created directory.
```sh
cp /scratch/work/public/examples/sas/test.sas /scratch/<net_id>/example/
cp /scratch/work/public/examples/sas/test2.sas /scratch/<net_id>/example/
cp /scratch/work/public/examples/sas/run-sas.sbatch /scratch/<net_id>/example/
cp /projects/work/public/examples/sas/test.sas /scratch/<net_id>/example/
cp /projects/work/public/examples/sas/test2.sas /scratch/<net_id>/example/
cp /projects/work/public/examples/sas/run-sas.sbatch /scratch/<net_id>/example/
```
3. Submit as shown below. After successful completion of job, verify output log file generated.
```sh
Expand Down Expand Up @@ -210,8 +210,8 @@ cd /scratch/<net_id>/example
```
2. Copy example files to your newly created directory.
```sh
cp /scratch/work/public/examples/stata/run-stata.sbatch /scratch/<net_id>/example/
cp /scratch/work/public/examples/stata/stata-test.do /scratch/<net_id>/example/
cp /projects/work/public/examples/stata/run-stata.sbatch /scratch/<net_id>/example/
cp /projects/work/public/examples/stata/stata-test.do /scratch/<net_id>/example/
```
3. Submit using sbatch. After successful completion of job, verify output log file generated.
```sh
Expand All @@ -231,8 +231,8 @@ To submit a Gaussian job for running on multiple processing elements, follow bel
```sh
mkdir /scratch/<net_id>/example
cd /scratch/<net_id>/example #Copy example files to your newly created directory.
cp /scratch/work/public/examples/gaussian/basic/test435.com /scratch/<net_id>/example/
cp /scratch/work/public/examples/gaussian/basic/run-gaussian.sbatch /scratch/<net_id>/example/
cp /projects/work/public/examples/gaussian/basic/test435.com /scratch/<net_id>/example/
cp /projects/work/public/examples/gaussian/basic/run-gaussian.sbatch /scratch/<net_id>/example/
```
2. Once the sbatch script file is ready, it can be submitted to the job scheduler using sbatch. After successful completion of job, verify output log file generated.
```sh
Expand All @@ -253,7 +253,7 @@ cd /scratch/<net_id>/example
```
2. Copy example files to your newly created directory.
```sh
cp /scratch/work/public/examples/knitro/knitro.py /scratch/<net_id>/example/
cp /projects/work/public/examples/knitro/knitro.py /scratch/<net_id>/example/
```
3. There is no sample sbatch script available for knitro.
4. After creating your own sbatch script you can execute it as follows:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ srun: job 62890341 has been allocated resources

2. Unzip files there, for example
```sh
[NetID@cm002 NetID]$ tar -vxzf /scratch/work/public/examples/squashfs/imagenet-example.tar.gz
[NetID@cm002 NetID]$ tar -vxzf /projects/work/public/examples/squashfs/imagenet-example.tar.gz
```

3. Change access permissions in case we'll share files with others
Expand Down
Loading