In general, for a system property or option, you add -D as a command option. For example, to set the system property cs.precmp to val, use the command option -Dcs.precmd = val.
|
<target> -h
|
|
-applicationsroot <path>
|
|
-autosave {on} | off
|
|
-blaspath <path>
|
|
-c <path>
|
|
-comsolinifile <path>
|
|
-configuration <path>
|
|
Path to a workspace directory for storing internal workspace information. The workspace directory is by default a subdirectory to the preference directory. The workspace directory is cleared when COMSOL is launched.
|
|
-docroot <path>
|
|
-keeplicenses on | {off}
|
|
-np <no. of cores>
|
|
-numafirst <numa number>
|
|
-numasets <no. of sets>
|
Number of NUMA sets.3 -numasets 1 represents the case where there is only one nonuniform memory access node — that is, the entire computer.
|
-prefsdir <path>
|
|
-recoverydir <path>
|
|
-tmpdir <path>
|
|
•
|
Use the option -np to control the number of cores used. The default is to use all available cores (processing units).
|
•
|
Use the option -numasets to control the number of nonuniform memory access (NUMA) node sets that the COMSOL Multiphysics software should take into account. This is usually the number of processor sockets that the hardware is using. Note that -numasets 1 represents the case where there is only one nonuniform memory access node — that is, the entire computer. If you only set the -np option, the number of sockets is determined automatically so that sufficient number of sockets are used by default. The -np flag, together with the -numasets flag, decides the size of a NUMA set (that is, -np divided by -numasets). The purpose of -numafirst is to decide which processor core number to place the first NUMA set on (that is, the size of the NUMA set times numafirst).
|
•
|
Depending on how loaded the machine is, you can control how COMSOL Multiphysics uses the available processors with the -mpmode option. The following options are available:
|
You can also specify the number of cores and sockets as a preference 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.
|
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.
|
|
-passwd reset | nostore
|
|
-port <port>
|
|
-user <user>
|
Always make sure that untrusted users cannot access the COMSOL login information. Protect the file .comsol/v53/login.properties in your home directory. This is important when running COMSOL Multiphysics in client-server mode. 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.
|
-open <file>
|
|
-port <port>
|
|
-server <server name>
|
-batchlog <filename>
|
|
-checklicense <filename>
|
|
-error <{on}|off>
|
|
-inputfile <filename>
|
|
-job <job tag>
|
|
-outputfile <filename>
|
|
-paramfile <filename>
|
|
-pindex <parameter indices>
|
|
-plist <parameter value>
|
|
-pname <parameter name>
|
|
-stoptime <time to stop>
|
|
-study <study tag>
|
-classpathadd <classpath>
|
|
-jdkroot <path>
|
|
Micromixer — Cluster Version: Application Library path COMSOL_Multiphysics/Tutorials/micromixer_cluster
|
•
|
Make sure that the Windows HPC Server 2008 working directory is set to point to the comsol command directory (<path to COMSOL install directory>
\bin\win64). The install directory must be shared between the nodes on your cluster. In some network configurations, the firewall prevents you from starting MPI on a shared executable. To register the executable with the firewall, use the clusrun command to execute the hpcfwutil command on all nodes (for instance, to register comsolclusterbatch) use clusrun /all hpcfwutil register comsolclusterbatch.exe <shared path to COMSOL install directory>\bin\win64\comsolclusterbatch.exe |
•
|
Also make sure that the Microsoft Visual Studio 2012 and 2010 Runtimes are installed on all nodes. They are called vcredist_*.exe. You can install them from the root directory of the DVD using the clusrun command, for instance.
|
-mpipath <file>
|
|
-scalapackpath <path>
|
Start the server with graphics libraries. This enables plotting on the server. Available only when running comsolmphserver matlab [<options>].
|
|
-host <hostname>
|
|
-mlroot <path>
|
|
-port <hostname>
|