Cluster Computing Use the Cluster Computing study step when you want to submit COMSOL Multiphysics batch jobs to a job scheduler that in turn runs the batch job on a second computer or cluster. Syntax model.study(stdname).create(fname, "ClusterComputing"); model.study(stdname).feature(fname).set(pname,value); Description Study step. The following properties are available. Table 6-83: Properties for Batch Settings Property Value Default Description batchdir String Batch directory. batchfile String batchmodel.mph Name of batch model file. batchlic on | off Use batch license. clustertype general | whpc2008 | wccs2003 | sge | slurm | none The type of cluster job. hostfile String Path to host file. mpd on | off If an mpd is running on the computer or not. mpibootstrap String Name of bootstrap server. mpirsh String Path to rsh or ssh. rundir String The directory to store files used by the batch job. serverdir String Server directory. specbatchdir on | off Specify different directory for batch process than used by the current process. specserverdir on | off off Specify server directory path. Table 6-84: Property for Cluster Settings Property Value Default Description pdistrib on | off off Distribute parametric sweep. Table 6-85: Properties for Remote and Cloud Access Property Value Default Description filetransfercmd none | scp | user none Command transfer file. filetransferfromusercmd String Command to transfer files from remote location. filetransfertousercmd String Command to transfer files to remote location. remote on | off Run on remote server. remotecmd none | ssh | user Command to use when invoking a command on a remote server. remotehosts String List of remote hostnames. remoteos native | windows | linux Command transfer file. remoteusercmd String Command to use when invoking a command on a remote server. scpkey String SCP key file. scppath String Directory where SCP resides. scpuser String Username used by SCP. scpusercmd String Command for copying files to remote location. sshcmd ssh | putty | user SSH command. sshkey String SSH key file. sshpath String Directory where SSH resides. sshporthost String Port host. sshports String Ports that should be forwarded by SSH. sshuser String Username used by SSH. Table 6-86: Properties for Study Extensions Property Value Default Description graphics on | off off Use graphics. maxalive Integer Alive time (seconds). maxallow Integer 1 Maximum number of simultaneous jobs. maxrestarts Integer Maximum number of job restarts.