Skip to content
Snippets Groups Projects
Commit 7a663e7e authored by Jakub Kropáček's avatar Jakub Kropáček
Browse files

add COMSOL server information

parent 6d75518d
No related branches found
No related tags found
1 merge request!375add COMSOL server information
......@@ -93,6 +93,27 @@ comsol -3drend sw -nn ${ntask} batch -configuration /tmp –mpiarg –rmk –mpi
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.
### Starting a COMSOL Server
Starting a COMSOL server on a compute node and then connecting to it through a COMSOL Desktop GUI environment is a convenient way of running calculations from GUI. To do so, you first need to submit a job with which you'll start the COMSOL server, for example:
!!! Note
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.
```bash
$ qsub -q qexp -l select=1:mpiprocs=36:ompthreads=1 -I
qsub: waiting for job 613121.isrv1 to start
qsub: job 613121.isrv1 ready
$ 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.
## LiveLink for MATLAB
COMSOL is a software package for the numerical solution of partial differential equations. LiveLink for MATLAB allows connection to the COMSOL API (Application Programming Interface) with the benefits of the programming language and computing environment of the MATLAB.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment