@@ -47,11 +47,11 @@ Descriptions follow of basic terms.
4747- **Login node **: A type of node used only for login and job submission.
4848 No computation should be performed on it. It is sometimes referred to as
4949 *virtual desktop infrastructure * (VDI).
50- - **Partition **: A logical grouping of nodes with similar characteristics (for
51- example, CPU architecture and memory size).
52- - **Job **: A task submitted to SLURM for execution.
53- - **Queue **: A waiting area where jobs are held until resources become available.
54- - **Scheduler **: The component responsible for deciding which job gets
50+ - **Partition **: A logical grouping of nodes with similar characteristics (for
51+ example, CPU architecture and memory size).
52+ - **Job **: A task submitted to SLURM for execution.
53+ - **Queue **: A waiting area where jobs are held until resources become available.
54+ - **Scheduler **: The component responsible for deciding which job gets
5555 executed and when and where it gets executed.
5656
5757
@@ -83,7 +83,7 @@ job parameters and commands to execute. Here's a basic example:
8383**my_script.sh **
8484
8585.. code-block :: bash
86-
86+
8787 #! /bin/bash
8888 # SBATCH --job-name=myjob
8989 # SBATCH --nodes=1
@@ -107,13 +107,13 @@ To submit a job, use the ``srun`` command followed by the name of
107107the batch script:
108108
109109.. code-block :: console
110-
110+
111111 user@machine:~$ srun my_script.sh
112112
113113 If you prefer to submit a batch job, you can use the ``sbatch `` command:
114114
115115.. code-block :: console
116-
116+
117117 user@machine:~$ sbatch my_script.sh
118118
119119 You can specify each job setting using the command line. For example:
@@ -124,7 +124,7 @@ You can specify each job setting using the command line. For example:
124124
125125 .. warning :: **Command line arguments versus in-file arguments**:
126126 Command line arguments do **NOT ** overwrite the equivalent arguments
127- written in the bash file. Hence, you must ensure that the argument that you
127+ written in the bash file. Hence, you must ensure that the argument that you
128128 want to pass using the command line is not already present in the bash file.
129129
130130
@@ -173,8 +173,8 @@ you can press the **Tab** key to use autocomplete:
173173.. code-block :: console
174174
175175 user@machine:~$ which python3[TAB]
176- python3 python3-intel64 python3.10-config python3.11 python3.12 python3.8 python3.8-intel64 python3.9-config
177- python3-config python3.10 python3.10-intel64 python3.11-config python3.12-config python3.8-config python3.9
176+ python3 python3-intel64 python3.10-config python3.11 python3.12 python3.8 python3.8-intel64 python3.9-config
177+ python3-config python3.10 python3.10-intel64 python3.11-config python3.12-config python3.8-config python3.9
178178 $ which python3.10
179179 /usr/bin/python3.10
180180
@@ -204,7 +204,7 @@ To install PyMAPDL on the activated virtual environment, run the following comma
204204 user@machine:~$ source /home/user/.venv/bin/activate
205205 (.venv) user@machine:~$ pip install ansys-mapdl-core
206206 Collecting ansys-mapdl-core
207- Downloading ansys_mapdl_core-0.68.2 -py3-none-any.whl (26.9 MB)
207+ Downloading ansys_mapdl_core-0.68.3 -py3-none-any.whl (26.9 MB)
208208 ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 26.9/26.9 MB 37.3 MB/s eta 0:00:00
209209 Collecting pexpect>=4.8.0
210210 Using cached pexpect-4.9.0-py2.py3-none-any.whl (63 kB)
@@ -227,7 +227,7 @@ run this ``test.sh`` bash script:
227227 source /home/user/.venv/bin/activate
228228 python -c " from ansys.mapdl import core;print(f'PyMAPDL version {core.__version__} was successfully imported.')"
229229
230- then you can run that script using:
230+ then you can run that script using:
231231
232232.. code-block :: console
233233
@@ -240,7 +240,7 @@ On the console, you should see this output:
240240.. code-block :: text
241241
242242 Testing Python!
243- PyMAPDL version 0.68.2 was successfully imported.
243+ PyMAPDL version 0.68.3 was successfully imported.
244244
245245 If you see an error in the output, see :ref: `ref_hpc_troubleshooting `, especially
246246:ref: `ref_python_venv_not_accesible `.
@@ -454,7 +454,7 @@ Best practices
454454- Optimize resource usage to minimize job wait times and maximize cluster efficiency.
455455- Regularly monitor job queues and system resources to identify potential bottlenecks.
456456- Follow naming conventions for batch scripts and job names to maintain organization.
457- - Keep batch scripts and job submissions concise and well-documented
457+ - Keep batch scripts and job submissions concise and well-documented
458458 for reproducibility and troubleshooting.
459459
460460.. _ref_hpc_troubleshooting :
@@ -465,7 +465,7 @@ Troubleshooting
465465Debugging jobs
466466--------------
467467- Use ``--output `` and ``--error `` directives in batch scripts to capture
468- standard output and error messages.
468+ standard output and error messages.
469469
470470- Check SLURM logs for error messages and debugging information.
471471
@@ -474,7 +474,7 @@ Debugging jobs
474474
475475Python virtual environment is not accessible
476476--------------------------------------------
477- If there is an error while testing the Python installation, it might mean
477+ If there is an error while testing the Python installation, it might mean
478478that the Python environment is not accessible to the compute nodes.
479479For example, in the following output, PyMAPDL could not be found, meaning that the script
480480is not using the virtual environment (``/home/user/.venv ``):
@@ -512,7 +512,7 @@ a compute node with this code:
512512 https://stackoverflow.com/questions/64188693/problem-with-python-environment-and-slurm-srun-sbatch
513513
514514 Many HPC infrastructures use environment managers to load and unload
515- software packages using modules and environment variables.
515+ software packages using modules and environment variables.
516516Hence, you might want to make sure that the correct module is loaded in your script.
517517For information on two of the most common environment managers, see the
518518`Modules documentation <modules_docs _>`_ and `Lmod documentation <lmod_docs _>`_.
@@ -591,7 +591,7 @@ the compute nodes:
591591
592592 4. Install PyMAPDL:
593593
594- .. code-block :: console
594+ .. code-block :: console
595595
596596 (.venv) user@machine:~$ python -m pip install ansys-mapdl-core
597597
0 commit comments