Browse code

20230613: Added MATLAB troubleshooting and corrected a typo in the srun option.

root authored on2023-06-13 16:38:30
Showing4 changed files
... ...
@@ -85,8 +85,8 @@ Please refer to the [Official Manual](https://slurm.schedmd.com/srun.html#SECTIO
85 85
 
86 86
 Option         |Function
87 87
     :--------------------:|-----------------------
88
-         -n=_PROCS_      |  Specify the number of processes to be started. If not specified, the value of p in the --rsc option is used.
89
-         -c=_CORES_      |  Specify the number of CPU cores to be secured per process. If not specified, the value of c in the --rsc option is used.
88
+         -n _PROCS_      |  Specify the number of processes to be started. If not specified, the value of p in the --rsc option is used.
89
+         -c _CORES_      |  Specify the number of CPU cores to be secured per process. If not specified, the value of c in the --rsc option is used.
90 90
      --ntasks-per-node=_PROCS\_PER\_NODE_ |    Specify the number of processes per node. If not specified, they will be scheduled to execute on a small number of nodes.
91 91
 
92 92
 
... ...
@@ -84,8 +84,8 @@ srunコマンドのオプションのうち、代表的なものを以下に示
84 84
 
85 85
 オプション         |機能
86 86
     :--------------------:|-----------------------
87
-         -n=_PROCS_      |  起動するプロセス数を指定する。指定がない場合は、--rscオプションの pの値が使用されます。
88
-         -c=_CORES_      |  プロセスあたり確保するCPUコア数を指定する。指定がない場合は、--rscオプションの cの値が使用されます。
87
+         -n _PROCS_      |  起動するプロセス数を指定する。指定がない場合は、--rscオプションの pの値が使用されます。
88
+         -c _CORES_      |  プロセスあたり確保するCPUコア数を指定する。指定がない場合は、--rscオプションの cの値が使用されます。
89 89
      --ntasks-per-node=_PROCS\_PER\_NODE_ |    ノードあたりのプロセス数を指定する。他のパラメータと合わせて、ノード当たりのプロセス数を制御したい場合に使用して下さい。
90 90
 
91 91
 
... ...
@@ -61,7 +61,7 @@ MATLAB widens its application area by Toolbox, which is an assortment of non-bas
61 61
 
62 62
 ### Available Toolboxes{#toolbox}
63 63
 
64
-Matlab which is offered by our supercomputer system is shared its license with the MATLAB users group of Kyoto university. For information on available toolboxes, please visit the website of the [MATLAB users group of Kyoto university](http://matlab.chase-dream.com/group/toolbox.html) (Japanese version only).
64
+You can check the available toolboxes by entering the `ver` command in the command window after starting MATLAB.
65 65
 
66 66
 
67 67
 ## How to Use{#usage}
... ...
@@ -83,7 +83,7 @@ $ module load matlab
83 83
 #### GUI Mode
84 84
 
85 85
 You can start MATLAB by executing the following command in an environment where FastX, NiceDCV with the X Window System is available.
86
-Please refer to  [Interactive Processing](/run/interactive) for details on the**tssrun** command. 
86
+Please refer to  [Interactive Processing](/run/interactive) for details on the **tssrun** command. 
87 87
 
88 88
 
89 89
 ```nohighlight
... ...
@@ -101,7 +101,7 @@ If you are a Kyoto University member, please enter your university address (@kyo
101 101
 #### CUI Mode
102 102
 
103 103
 You can start MATLAB by specifying the option and executing the following command.
104
-Please refer to  [Interactive Processing](/run/interactive) for details on the**tssrun** command. 
104
+Please refer to  [Interactive Processing](/run/interactive) for details on the **tssrun** command. 
105 105
 
106 106
 
107 107
 
... ...
@@ -115,7 +115,12 @@ You can exit MATLAB by executing the following command.
115 115
 >> quit
116 116
 ```
117 117
 
118
+#### What to do if the startup fails
119
+If an error message **'Unable to communicate with required MathWorks services (error 5201)'** appears when starting MATLAB, please try the following procedure.
118 120
 
121
+```nohighlight
122
+$ rm -rf ~/.MathWorks/ServiceHost/*/v[0-9]*
123
+```
119 124
 
120 125
 ### Simulink{#simulink}
121 126
 
... ...
@@ -137,7 +142,7 @@ To exit Simulink, select the **File** menu in the menu bar, then click **Close**
137 142
 
138 143
 ### MATLAB Compiler{#matlab_comp}
139 144
 
140
-You can create a stand-alone executable file by converting a MATLAB m file into a C or C++ source file and then compiling it.
145
+You can create a stand-alone executable file by converting a MATLAB m file into a C/C++ source file and then compiling it.
141 146
 
142 147
 
143 148
 #### How to compile
... ...
@@ -115,6 +115,16 @@ $ tssrun matlab -nodesktop -nosplash
115 115
 >> quit
116 116
 ```
117 117
 
118
+#### 起動に失敗する場合の対処
119
+MATLABを起動した際に、
120
+**Unable to communicate with required MathWorks services (error 5201).**
121
+といったエラーが表示された場合は、以下の手順を行うことで改善されることが
122
+ありますので、お試しください。
123
+
124
+```nohighlight
125
+$ rm -rf ~/.MathWorks/ServiceHost/*/v[0-9]*
126
+```
127
+
118 128
 ### Simulink{#simulink}
119 129
 
120 130
 SimulinkはMATLAB環境と統合されており、MATLABの Command Window から以下のコマンドを入力することで、起動できます。