Commandlineparameters

From BenchIT-Wiki

Jump to: navigation, search

Commandlineparameters for COMPILE.SH:

  • options:
    • --help | -h
    Display information how to use the script.
    • --parameter-file=FILE | -p
    Explicitly define a parameter file to use. If not set, the PARAMETERS file from the kerneldirectory will be used.
    • --no-parameter-file
    Do not read the parameter file.
    • --comment=STRING | -c
    Set a comment which will be appended to the kernel's executable filename
    • --target=STRING | -t
    Explicitly define which LOCALDEFS's to use
    • --
    Stop argument scanning, the following argument has to be the kernel.

Commandlineparameters for RUN.SH:

  • general options:
    • --help | -h
    Display information how to use the script.
    • --parameter-file=FILE | -p
    Explicitly define a parameter file to use. If not set, the PARAMETERS file from the kerneldirectory will be used.
    • --no-parameter-file
    Do not read the parameter file. Trys to read variables from the system-environment first, what is not found is read from the binary(compile-time settings). This can be used to modify parameters by doing an export before running a kernel.
    • --outfile=FILE | -o
    Write stderr and stdout to this file.
    • --testrun
    Do not actually start the kernel, instead print what would be executed. This is for diagnostic purposes.
    • --clean
    Remove executable and temporary files after run.
    • --numcpus=VALUE
    Define (for a parallel kernel) how many CPUs to use. The number of threads (for OpenMP), or the number of processes (for MPI) will be the same if not set explicitly. This is also the value for the number of CPUs that will be requested from a batch system.
    • --numprocesses=VALUE
    Define the number of MPI processes to be started.
    • --numthreadsperprocess=VALUE
    Define the number of OpenMP threads to be started
    • --usempi
    Explicitly enable MPI
    • --useopenmp
    Explicitly enable OpenMP
    • --
    Stop argument scanning, the following argument has to be the kernel.
  • options for use on batch systems:
    • --queuename=STRING
    The queue to which the job will be submitted.
    • --queuetimelimit=VALUE
    Running time in seconds, before the batch system kills the job. (per-process CPU-time)
    • --maxmemory=VALUE
    Maximum memory in kB the kernel may use (per process). If it tries to allocate more memory the job will be killed.
    • --coredumplimit=VALUE
    Maximum size in kB for a coredump (per process)
    • --emailaddress=STRING
    EMail address to send job information to
Personal tools