The Cluster Sweep and Cluster Computing studies can be configured to start COMSOL simulations on other machines. This is useful if you want to perform a parametric study and you have multiple machines that are free (often referred to as grid computing) or that you have a cluster with a job scheduler to which you want to submit COMSOL simulations. The COMSOL software supports a number of common configurations. The main requirement is that you can start COMSOL Multiphysics on the machines you run simulations on and that one of the supported methods can be used to access the machines. Some example configurations are:
In the first case, you can configure the Remote and Cloud Access section of the Cluster Sweep or Cluster Computing studies to log in to the cluster’s job submit node and use the
Batch Settings section to configure the scheduler. If the login to the cluster can be done using a locally installed SSH client, you can use an SSH key file pair to login. You can also configure your own login command. Use secure copy (SCP, based on secure shell) or configure a command to copy the files from the local directory to the remote directory. The host name of the cluster login node should be set in the Remote hosts section. In the
Batch Settings section, it is important to distinguish between settings for the local machine and settings for the remote machine. The
Directory settings apply to the local machine while the
Specify external COMSOL batch directory path refers to the remote machine. The paths have to be accessible for the respective computers. The
Specify external COMSOL installation directory path can be used to start COMSOL Multiphysics when the installation path on the remote machine is different than on the local machine. Use the
Scheduler type setting to select the job scheduler to use.
In the second case above, you can configure the Remote and Cloud Access section of the Cluster Sweep or Cluster Computing studies to log in to other computers and use the
Batch Settings section to configure the start command used on the other computers. If the login to the cluster can be done using a locally installed SSH client, you can use an SSH key file pair to log in. You can also configure your own login command. Use SCP or configure a command to copy the files from the local directory to the remote directory. The host names of the remote computers should be set in the
Remote hosts list in the
Remote and Cloud Access section. In the
Batch Settings, it is important to distinguish between settings for the local machine and settings for the remote machine. The
Directory settings apply to the local machine while the
Specify external COMSOL batch directory path refers to the remote machine. The paths have to be accessible for the respective computers. The
Specify external COMSOL installation directory path can be used to start COMSOL Multiphysics when the installation path on the remote machines is different than on the local machine.
In the fourth and last case above, you only need to use the Batch Settings section of the Cluster Sweep or Cluster Computing study. In this case it is important that the
Directory setting and the Specify external
COMSOL batch directory path refer to the same physical path. The paths are usually different because you have set a hard drive path in the
Directory setting and a network path in the
Specify external COMSOL batch directory path. Use the
Scheduler type setting to select the job scheduler to use.