From a07ac49e3fb330538f95b9a44012087adf84176e Mon Sep 17 00:00:00 2001 From: Sajid Ali Date: Tue, 4 Aug 2026 17:30:49 -0400 Subject: [PATCH] update paths for examples on Torch --- docs/hpc/06_tools_and_software/01_intro.md | 2 +- .../02_licensed_software.md | 24 +++++++++---------- .../04_squash_file_system_and_singularity.md | 2 +- 3 files changed, 14 insertions(+), 14 deletions(-) diff --git a/docs/hpc/06_tools_and_software/01_intro.md b/docs/hpc/06_tools_and_software/01_intro.md index 66b45deacf..b1ef366693 100644 --- a/docs/hpc/06_tools_and_software/01_intro.md +++ b/docs/hpc/06_tools_and_software/01_intro.md @@ -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 | | | | |-------------------|-----------------------|-----------------------| diff --git a/docs/hpc/06_tools_and_software/02_licensed_software.md b/docs/hpc/06_tools_and_software/02_licensed_software.md index 0da068adcd..96bff7c8dc 100644 --- a/docs/hpc/06_tools_and_software/02_licensed_software.md +++ b/docs/hpc/06_tools_and_software/02_licensed_software.md @@ -104,8 +104,8 @@ cd /scratch//example ``` 2. Copy example files to your newly created directory ```sh -cp /scratch/work/public/examples/comsol/run-comsol.sbatch /scratch//example/ -cp /scratch/work/public/examples/comsol/test-input.mph /scratch//example/ +cp /projects/work/public/examples/comsol/run-comsol.sbatch /scratch//example/ +cp /projects/work/public/examples/comsol/test-input.mph /scratch//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. @@ -132,8 +132,8 @@ cd /scratch//example ``` 2. Copy example files to your newly created directory. ```sh -cp /scratch/work/public/examples/mathematica/basic/example.m /scratch//example/ -cp /scratch/work/public/examples/mathematica/basic/run-mathematica.sbatch /scratch//example +cp /projects/work/public/examples/mathematica/basic/example.m /scratch//example/ +cp /projects/work/public/examples/mathematica/basic/run-mathematica.sbatch /scratch//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. @@ -168,9 +168,9 @@ cd /scratch//example ``` 2. Copy example files to your newly created directory. ```sh -cp /scratch/work/public/examples/sas/test.sas /scratch//example/ -cp /scratch/work/public/examples/sas/test2.sas /scratch//example/ -cp /scratch/work/public/examples/sas/run-sas.sbatch /scratch//example/ +cp /projects/work/public/examples/sas/test.sas /scratch//example/ +cp /projects/work/public/examples/sas/test2.sas /scratch//example/ +cp /projects/work/public/examples/sas/run-sas.sbatch /scratch//example/ ``` 3. Submit as shown below. After successful completion of job, verify output log file generated. ```sh @@ -210,8 +210,8 @@ cd /scratch//example ``` 2. Copy example files to your newly created directory. ```sh -cp /scratch/work/public/examples/stata/run-stata.sbatch /scratch//example/ -cp /scratch/work/public/examples/stata/stata-test.do /scratch//example/ +cp /projects/work/public/examples/stata/run-stata.sbatch /scratch//example/ +cp /projects/work/public/examples/stata/stata-test.do /scratch//example/ ``` 3. Submit using sbatch. After successful completion of job, verify output log file generated. ```sh @@ -231,8 +231,8 @@ To submit a Gaussian job for running on multiple processing elements, follow bel ```sh mkdir /scratch//example cd /scratch//example #Copy example files to your newly created directory. -cp /scratch/work/public/examples/gaussian/basic/test435.com /scratch//example/ -cp /scratch/work/public/examples/gaussian/basic/run-gaussian.sbatch /scratch//example/ +cp /projects/work/public/examples/gaussian/basic/test435.com /scratch//example/ +cp /projects/work/public/examples/gaussian/basic/run-gaussian.sbatch /scratch//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 @@ -253,7 +253,7 @@ cd /scratch//example ``` 2. Copy example files to your newly created directory. ```sh -cp /scratch/work/public/examples/knitro/knitro.py /scratch//example/ +cp /projects/work/public/examples/knitro/knitro.py /scratch//example/ ``` 3. There is no sample sbatch script available for knitro. 4. After creating your own sbatch script you can execute it as follows: diff --git a/docs/hpc/07_containers/04_squash_file_system_and_singularity.md b/docs/hpc/07_containers/04_squash_file_system_and_singularity.md index bfd4c48c4b..edd5d2ba58 100644 --- a/docs/hpc/07_containers/04_squash_file_system_and_singularity.md +++ b/docs/hpc/07_containers/04_squash_file_system_and_singularity.md @@ -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