Common Parameters to MIDAS Utilities

From MidasWiki
Revision as of 15:14, 20 August 2013 by Suz (talk | contribs)
Jump to navigation Jump to search

Midas experiment name

The name of the MIDAS experiment is given by

  1. environment variable MIDAS_DIR if defined
  2. the MIDAS utility input parameter exptname if supplied
  3. environment variable MIDAS_EXPT_NAME if defined
  4. if multiple experiments defined, user will be requested to supply experiment name

Midas host name

The name of the MIDAS host is given by

  1. environment variable MIDAS_DIR if defined
  2. the MIDAS utility input parameter hostname if supplied
  3. environment variable MIDAS_SERVER_HOST if defined
  4. local host


Each of the MIDAS utilities define a number of input parameters. The following parameters are common to many :

The MIDAS utility input parameter exptname

[-e <exptname> ]
specifies the MIDAS Experiment and Host names to connect to (where multiple experiments are defined on the MIDAS host (see exptab).
  • This option supersedes the default experiment name given by the environment variable MIDAS_EXPT_NAME , if defined.
  • If multiple experiments are defined, unless MIDAS_EXPT_NAME is defined or this argument is supplied, the application will request the experiment name.
  • If the environment variable MIDAS_DIR is defined (i.e. single default experiment), both the exptname input parameter and environment variable MIDAS_EXPT_NAME will be superseded.



The MIDAS utility input parameter hostname

[-h <hostname> ]
specifies the MIDAS host to connect to when connecting to an experiment running on a remote host. If the experiment is running on the local host, this argument need not be supplied.
  • If hostname is supplied :
    • hostname must be a valid IP host name.
    • hostname supersedes the default hostname given by the environment variable MIDAS_SERVER_HOST , if defined.
    • the mserver utility must be running on the remote host.
  • If the environment variable MIDAS_DIR is defined (i.e. single default experiment), both the hostname input parameter and environment variable MIDAS_SERVER_HOST will be superseded.