Cluster Computing and Cluster License Handling. See also Cluster Installation in the COMSOL Multiphysics Installation Guide for information about cluster installations.
|
The Micromixer — Cluster Version and Joule Heating of a Microactuator — Distributed Parameter Version models show how to set up a model for running COMSOL Multiphysics in parallel on a cluster: in one case for decreased per node memory usage of a large fluid flow model using distributed memory computing, and in the second case for speeding up solution of a distributed parameter sweep.
|
•
|
If you work on a desktop PC, which is recommended, install the COMSOL software on that local PC. Also install Microsoft® HPC Pack on the desktop PC before you start. Microsoft® HPC Pack makes it possible to access the cluster from your workstations. The latest version can be downloaded from Microsoft. An alternative is to log in to the cluster via Remote Desktop, for example.
|
2
|
3
|
In the Settings window for Cluster Computing, select Microsoft® HPC Pack from the Scheduler type list (this is typically a preference setting). This provides access to all parameters that you need for communication with the cluster.
|
4
|
To submit the job, click Compute ().
|
5
|
You can define more details in the Settings window for the Cluster Computing node ().under Job Configurations (). When you submit a job, COMSOL Multiphysics adds a Cluster Computing node. If you want to change or inspect its settings before submitting the first job, right-click the Study node () and select Show Default Solver ().
|
6
|
After submitting the job to the cluster, you can monitor the progress in the Progress window and the Log window. The Progress window shows the progress of the batch data and external processes, and the Log window contains a log with information about the solver operations for each parameter in a parametric sweep, for example. You can also get details about a cluster job in the Windows Job Manager, which is available in the HPC Pack.
|
1
|
Start the COMSOL Multiphysics server on the Linux® system with the command comsol mphserver. Notice the port number that is displayed (for example, COMSOL 6.2 started listening on port 2036).
|
3
|
From the File menu, choose COMSOL Multiphysics Server>Connect to Server (). In the Connect to Server dialog box, use the login credentials that you entered at the startup of the COMSOL Multiphysics server.
|
4
|
5
|
In the Settings window for Cluster Computing, select General from the Scheduler type list for Linux clusters. This provides access to all parameters that you need for communication with the cluster.
|
6
|
To submit the job, click Compute ().
|
7
|
You can define more details in the Settings window for the Cluster Computing node () under Job Configurations (). When you submit a job, COMSOL Multiphysics adds a Cluster Computing node. If you want to change or inspect its settings before submitting the first job, right-click the Study node () and select Show Default Solver ().
|
8
|
After submitting the job to the cluster, you can monitor the progress in the Progress window and the Log window. The Progress window shows the progress of the batch data and external processes, and the Log window contains a log with information about the solver operations for each parameter in a parametric sweep, for example.
|
•
|
Under Before sweep: the Clear meshes and Clear solutions check boxes that specify what to do before saving the model.
|
•
|
Under During sweep: The Synchronize solutions and Synchronize accumulated probe table check boxes that specify what data to insert back into the original model.
|
•
|
Under After sweep: The Output model to file check box that controls if the batch jobs save a model file or not.
|