@@ -62,14 +59,14 @@ you need to run COMSOL with additional parameters:
$comsol -3drend sw
```
To run COMSOL in batch mode without the COMSOL Desktop GUI environment, utilize the following (`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 following (`comsol.pbs`) job script and execute it via the `salloc` command:
@@ -98,15 +95,15 @@ Starting a COMSOL server on a compute node and then connecting to it through a C
You may be prompted to provide username and password. These can be different from your IT4Innovations credentials, and will be used during the authentication when trying to connect to the server from GUI.
$ salloc -A PROJECT_ID -p qcpu_exp --nodes=1 --ntasks=36 --cpus-per-task=1
salloc: Granted job allocation 694746
salloc: Waiting for resource configuration
salloc: Nodes cn58 are ready for job
$ ml COMSOL/5.2.0-COM
$ comsol server
COMSOL 5.2 (Build: 166) Multiphysics Server started listening on port 2036
Use the console command'close' to exit the program
```
After that, start your COMSOL Desktop GUI session and fill required information under `File -> Client Server -> Connect to Server`, where server will be the node where COMSOL server is running. Once you are done, your computational tasks will be offloaded to the COMSOL server.
...
...
@@ -118,21 +115,21 @@ 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.
salloc -A PROJECT_ID -p qcpu_exp --nodes=1 --ntasks=128 --cpus-per-task=1 --x11
$ml <matlab_module> and <comsol_module>
$comsol -3drend sw 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.
To run LiveLink for MATLAB in batch mode with (comsol_matlab.pbs) job script, you can utilize/modify the following script and execute it via the `qsub` command.
To run LiveLink for MATLAB in batch mode with (comsol_matlab.pbs) job script, you can utilize/modify the following script and execute it via the `salloc` command.