@@ -20,7 +20,7 @@ On the clusters, COMSOL is available in the latest stable version. There are two
...
@@ -20,7 +20,7 @@ On the clusters, COMSOL is available in the latest stable version. There are two
***Commercial** or so called **COM variant**, which can used also for commercial activities. **COM variant** has only subset of features compared to the **EDU variant** available. More about licensing [here][1].
***Commercial** or so called **COM variant**, which can used also for commercial activities. **COM variant** has only subset of features compared to the **EDU variant** available. More about licensing [here][1].
To load the `COMSOL` module, use:
To load the default `COMSOL` module ([**not** recommended][4]), use:
```console
```console
$ml COMSOL
$ml COMSOL
...
@@ -40,7 +40,7 @@ To prepare COMSOL jobs in the interactive mode, we recommend using COMSOL on the
...
@@ -40,7 +40,7 @@ To prepare COMSOL jobs in the interactive mode, we recommend using COMSOL on the
* If you receive errors at startup, for example, of the following type:
If you receive errors at startup, for example, of the following type:
```console
```console
FL3D: error at line 814 in file fl3dglcontext_x11common.c:
FL3D: error at line 814 in file fl3dglcontext_x11common.c:
PBuffers are not supported by the system.
PBuffers are not supported by the system.
FL3D: error at line 235 in file fl3dglcontext_x11common.c:
FL3D: error at line 235 in file fl3dglcontext_x11common.c:
assert: x11Handle
assert: x11Handle
```
```
you need to run COMSOL with additional parameters:
you need to run COMSOL with additional parameters:
```console
```console
$comsol -3drend sw
$comsol -3drend sw
```
```
To run COMSOL in batch mode without the COMSOL Desktop GUI environment, utilize the default (comsol.pbs) job script and execute it via the `qsub` command:
To run COMSOL in batch mode without the COMSOL Desktop GUI environment, utilize the default (comsol.pbs) job script and execute it via the `qsub` command:
A working directory has to be created before sending the (comsol.pbs) job script into the queue. The input file (name_input_f.mph) has to be in the working directory or a full path to the input file has to be specified. The appropriate path to the temp directory of the job has to be set by the `-tmpdir` command option.
A working directory has to be created before sending the (comsol.pbs) job script into the queue. The input file (name_input_f.mph) has to be in the working directory or a full path to the input file has to be specified. The appropriate path to the temp directory of the job has to be set by the `-tmpdir` command option.
...
@@ -102,11 +100,9 @@ COMSOL is a software package for the numerical solution of partial differential
...
@@ -102,11 +100,9 @@ COMSOL is a software package for the numerical solution of partial differential
LiveLink for MATLAB is available in both **EDU** and **COM****variant** of the COMSOL release. On the clusters there is 1 commercial (**COM**) and 5 educational (**EDU**) licenses of LiveLink for MATLAB (see the [ISV Licenses][3]). The following example shows how to start COMSOL model from MATLAB via LiveLink in the interactive mode.
LiveLink for MATLAB is available in both **EDU** and **COM****variant** of the COMSOL release. On the clusters there is 1 commercial (**COM**) and 5 educational (**EDU**) licenses of LiveLink for MATLAB (see the [ISV Licenses][3]). The following example shows how to start COMSOL model from MATLAB via LiveLink in the interactive mode.
$ qsub -I -X -A PROJECT_ID -q qexp -l select=1:ppn=24
$ml MATLAB/R2015b COMSOL/5.2.0-EDU
$ ml MATLAB
$comsol -3drend sw server MATLAB
$ ml COMSOL
$ comsol server MATLAB
```
```
On the first start of the LiveLink for MATLAB (client-MATLAB/server-COMSOL connection), the login and password is requested; this information is not requested again.
On the first start of the LiveLink for MATLAB (client-MATLAB/server-COMSOL connection), the login and password is requested; this information is not requested again.
...
@@ -115,12 +111,12 @@ To run LiveLink for MATLAB in batch mode with (comsol_matlab.pbs) job script, yo
...
@@ -115,12 +111,12 @@ To run LiveLink for MATLAB in batch mode with (comsol_matlab.pbs) job script, yo
This example shows how to run LiveLink for MATLAB with the following configuration: 3 nodes and 16 cores per node. A working directory has to be created before submitting (comsol_matlab.pbs) job script into the queue. The input file (test_job.m) has to be in the working directory or a full path to the input file has to be specified. The Matlab command option (`-r ”mphstart”`) created a connection with a COMSOL server using the default port number.
This example shows how to run LiveLink for MATLAB with the following configuration: 3 nodes and 36 cores per node. A working directory has to be created before submitting (comsol_matlab.pbs) job script into the queue. The input file (test_job.m) has to be in the working directory or a full path to the input file has to be specified. The Matlab command option (`-r ”mphstart”`) created a connection with a COMSOL server using the default port number.