You control the options for running COMSOL Multiphysics on a cluster from the Study node in the Model Builder. To enable the cluster computing feature, click the Show button () and select Advanced Study Options. Then in the Model Builder, right-click a Study node and select Cluster Computing (
). You must have a floating network license (FNL) to run COMSOL Multiphysics in distributed-memory parallel mode.
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 faster solution of a large fluid flow model using distributed solver jobs and in another case for a distributed parametric sweep.This section outlines the main steps for running a cluster job on Windows®. Before you start, check that the installation of COMSOL Multiphysics follows these guidelines:
• If you work on a desktop PC, which is recommended, install the COMSOL software on that local PC. Also install Windows HPC Pack on the desktop PC before you start. Windows HPC Pack makes it possible to access the cluster from your workstations. It is free and ships with the Microsoft® HPC Server 2008 (HPCS 2008). An alternative is to log in to the cluster via Remote Desktop, for example.
2
3 In the Settings window for Cluster Computing, select HPCS 2008 from the Cluster type list. This provides access to all parameters that you need for communication with the cluster.
4
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.You can do the same cluster simulation from the command line using, for example, a scheduler script.For additional information about running COMSOL Multiphysics on clusters from the command line, see the section COMSOL Cluster Commands for Windows.
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 5.2a 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 Cluster type list for Linux clusters. This provides access to all parameters that you need for communication with the cluster.
6
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.You can do the same cluster simulation from the command line using, for example, a scheduler script.