Start MATLAB® and connect to a COMSOL Multiphysics server
|
||
<target> -h
|
|
-3drend ogl | sw
|
|
-alloc {native} | scalable
|
|
-applicationsroot <path>
|
|
-autosave {on} | off
|
|
-blaspath <path>
|
|
-c <path>
|
|
Cluster storage format. The single format does I/O only from the root node, while the shared format does I/O using distributed I/O operations. The shared format requires that all nodes have access to the same storage area and the same temporary storage area.
|
|
-comsolinifile <path>
|
|
-configuration <path>
|
Path to directory for storing the state for the GUI between sessions and for performing different caching tasks. The configuration directory is by default a subdirectory to the preference directory. However, the default location of the configuration directory is not affected if you use the -prefsdir option. When running in batch or cluster mode, add @process.id to get a unique identifier to the path (for example, -configuration /tmp/comsol_@process.id).
|
Path to a workspace directory for storing internal workspace information. The workspace directory is by default a subdirectory to the preference directory. However, the default location of the workspace directory is not affected by the -prefsdir option. The workspace directory is cleared when COMSOL is launched. When running in batch or cluster mode, add @process.id to get a unique identifier to the path (for example, -data /tmp/comsol_@process.id).
|
|
-docroot <path>
|
|
-keeplicenses on | {off}
|
|
-np <no. of cores>
|
|
-numafirst <numa number>
|
|
-numasets <no. of sets>
|
|
-prefsdir <path>
|
|
-recoverydir <path>
|
|
-tmpdir <path>
|
|
-v, -version
|
|
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. To control the scalability assembling mode, which can be useful even when running on a single node, select the Memory scalability optimization for assembling check box. You can then select Off (the default, for no scalability mode), Matrix for activating scalability mode only for matrix assembling, Vector for activating scalability mode only for vector assembling, or All for activating scalability mode for all cases. You can also control these options with a command-line argument -memoptassem.
|
Use a BLAS library specified using the option -blaspath or the environment variable COMSOL_BLAS_PATH.
|
-appargnames <names>
|
|
-appargvalues <values>
|
|
-appargsfile <filename>
|
|
-appargvarlist <names>
|
|
-appargfilelist <filenames>
|
-open <file>
|
|
-run <file>
|
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.
|
|
-passwd reset | nostore
|
|
-port <port>
|
|
-user <user>
|
Always make sure that untrusted users cannot access the COMSOL login information. Protect the file .comsol/v60/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>
|
-alivetime <seconds>
|
|
-batchlog <filename>
|
|
-checklicense <filename>
|
|
-dev <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>
|
|
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 application. 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>
|
|
-runtimetype {download} | embed
|
|
-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>
|
|
Set the MPI I/O mode. Setting this property to off means that COMSOL doesn’t search for a distributed file system. Setting this property to gpfs, lustre, or panfs makes COMSOL assume it is running on the selected file system.
|
|
-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>
|
•
|