Start MATLAB® and connect to a COMSOL Multiphysics server
|
||
You can also specify the number of cores and sockets and the use of the scalable allocators as preferences on the Multicore and Cluster Computing page in the Preferences dialog box. To specify those numbers manually, select the Number of cores and Number of sockets check boxes to enter a number in the associated text fields. By default, all cores are used and the number of sockets are set automatically. If you lower the number of cores, it is good practice to also lower the number of sockets. The preference option for the scalable allocator is called Optimized for multicore. If you want to choose another memory allocator than the default setting, select the Memory allocator check box and the choose Native or Optimized for multicore.
|
Use a BLAS library specified using the option -blaspath or the environment variable COMSOL_BLAS_PATH.
|
Ask for login information. info means that only missing information is asked for. force resets the password. never requires that the login information is available. auto automatically creates a new username and password.
|
|
-port <port>
|
|
-user <user>
|
Always make sure that untrusted users cannot access the COMSOL login information. Protect the file .comsol/v54/login.properties in your home directory. This is important when using the COMSOL Multiphysics client-server configuration. Alternatively, start the COMSOL Multiphysics server with the -passwd nostore option, and clear the Remember username and password check box when connecting to the server. This ensures that your login information is not stored on file.
|
Documentation server port when started from comsol.exe.
|
||
Documentation server port when started from comsoldoc.exe.
|
-open <file>
|
|
-port <port>
|
|
-server <server name>
|
-batchlog <filename>
|
|
-checklicense <filename>
|
|
-error <{on}|off>
|
|
-inputfile <filename>
|
|
-job <job tag>
|
|
-mode {batch} | desktop
|
|
-outputfile <filename>
|
|
-paramfile <filename>
|
|
-pindex <parameter indices>
|
|
-plist <parameter value>
|
|
-pname <parameter name>
|
|
-study <study tag>
|
|
If the model uses an inner parametric solver (in a nested parametric sweep), the Job Configurations node is ignored by the batch job. In such cases, you need to switch to an outer parametric solver.
|
-classpathadd <classpath>
|
|
-jdkroot <path>
|
|
-icon <path>
|
|
-outputdir <path>
|
|
-runtime default|ask|<path>
|
Specify where to store the runtime when running the application. The default option is the platform’s default location. The ask option asks the user for the location of the runtime when running the app. The <path> option provides a location where the runtime should be unpacked and stored. Only specify a path when compiling for a single platform.
|
-runtimewindows <path>
|
|
-runtimelinux <path>
|
|
-runtimemacOS <path>
|
|
-splash <path>
|
comsol -nn <nn> batch
|
|
comsol -nn <nn> mphserver
|
|
comsol -nn <nn>
|
-mpiarg <arg>
|
|
-mpibootstrapexec <path>
|
|
Select network fabrics where fabric1 is one of <shm | dapl | tcp | tmi | ofa>, and fabric2 is one of <dapl | tcp | tmi | ofa>.
|
|
-mpihosts <hostnames>
|
|
-mpipath <file>
|
|
-mpirmk <pbs>
|
|
-mpiroot <path>
|
|
-nn <no. of nodes>
|
|
-nnhost <no. of nodes>
|
Number of compute nodes on each host. For the path option, the environment variable COMSOL_SCALAPACK_PATH must be set.
|
Scalapack library to use. For the path option, the environment variable COMSOL_SCALAPACK_PATH must be set.
|
|
-scalapackpath <path>
|
|
•
|
You can set the remote node access mechanism that is used for connecting using the switch -mpibootstrap. The valid options are ssh, rsh, fork, slurm, ll, lsf, sge, and jmi. This is important if the cluster only supports a different remote node access mechanism than ssh because ssh is the default protocol used.
|
•
|
Use the switch -mpibootstrapexec to set the path to the remote node access mechanism such as /usr/bin/ssh.
|
•
|
The option -mpidebug sets the output level from MPI. The default is level 4.
|
•
|
You can control the network fabrics used for communication with the option -mpifabrics fabric1:fabric2 where fabric1 is one of shm, dapl, tcp, tmi, or ofa, and fabric2 is one of dapl, tcp, tmi, or ofa. Use this option if you are having trouble with the default fabrics used.
|
•
|
Use -mpienablex to enable Xlib forwarding. Xlib forwarding is off by default.
|
•
|
If you are using a PBS-based scheduler, add -mpirmk pbs to the command line in order for Intel MPI to interpret the environment correctly. The Intel MPI library automatically tries to detect the best option for communication and uses InfiniBand if it detects it. To verify that COMSOL is using InfiniBand, check the output from the startup of COMSOL:, it should not mention TCP transfer mode.
|
•
|
If you have problems running on a Myrinet network, add the options -mpiarg -mx to the command line.
|
•
|
If you have problems running on a Qlogic network, add the options -mpiarg -psm to the command line.
|
•
|
If you have problems running on a Intel network, add the options -mpiarg -psm2 to the command line
|
Start the server with graphics libraries. This enables plotting on the server. Available only when running comsolmphserver matlab [<options>].
|
|
-host <hostname>
|
|
-mlroot <path>
|
|
Start in directory path <path>.
|
|
-port <hostname>
|