3.1.1. General runtime options¶
Nanos++ have several common options which can be specified while running OmpSs’s programs.
| --smp-cpus=<n> | Set number of requested CPUs. |
| --smp-workers=<n> | |
| Set number of SMP worker threads. | |
| --cpus-per-socket=<n> | |
| Set number of CPUs per socket. | |
| --num-sockets=<n> | |
| Set number of sockets available. | |
| --hwloc-topology=<xml-file> | |
| Overrides hwloc’s topology discovery and uses the one provided by xml-file. | |
| --stack-size=<n> | |
| Defines default stack size for all devices. | |
| --binding-start=<cpu-id> | |
| Set initial CPU for binding (binding required). | |
| --binding-stride=<n> | |
| Set binding stride (binding required). | |
| --disable-binding, --no-disable-binding | |
| Disables/enables thread binding (enabled by default). | |
| --verbose, --no-verbose | |
| Activate verbose mode (requires Nanos++ debug version). | |
| --disable-synchronized-start, --no-disable-synchronized-start | |
| Disables synchronized start (enabled by default). | |
| --architecture=<arch> | |
Defines default architecture. Where arch can be one of the following options: smp, gpu, opencl or cluster. | |
| --disable-caches, --no-disable-caches | |
| Disables/enables the use of caches (enabled by default). | |
| --cache-policy=<cache-policy> | |
Set default cache policy. Where cache-policy can be one of the following options: wt (write through) or wb (write back). | |
| --summary, --no-summary | |
| Enables/disables runtime summary mode, printing statistics at start/end phases (disabled by default) | |