TroubleshootingΒΆ

You can use troubleshooting commands to get information about plugins (CLI, Platform, and Task) and to get detailed system information. To see the list of troubleshooting commands, type the following at a command prompt:

$ idmtools info --help
You are using a development version of idmtools, version 1.7.1+nightly!
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
Usage: idmtools info [OPTIONS] COMMAND [ARGS]...

  Troubleshooting and debugging information

Options:
  --help  Show this message and exit.

Commands:
  plugins  Commands to get information about installed IDM-Tools plugins
  system   Provide an output with details about your current execution...

To see the list of troubleshooting commands and options for the plugins command, type the following at a command prompt:

$ idmtools info plugins --help
You are using a development version of idmtools, version 1.7.1+nightly!
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
Usage: idmtools info plugins [OPTIONS] COMMAND [ARGS]...

  Commands to get information about installed IDM-Tools plugins

Options:
  --help  Show this message and exit.

Commands:
  cli               List CLI plugins
  platform          List Platform plugins
  platform-aliases  List Platform plugins configuration aliases
  task              List Task plugins

To see the list of troubleshooting options for the system command, type the following at a command prompt:

$ idmtools info system --help
You are using a development version of idmtools, version 1.7.1+nightly!
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
Usage: idmtools info system [OPTIONS]

  Provide an output with details about your current execution platform and
  IDM-Tools install

Options:
  --copy-to-clipboard / --no-copy-to-clipboard
                                  Copy output to clipboard
  --no-format-for-gh / --format-for-gh
                                  When copying to clipboard, do we want to
                                  formatted for Github
  --issue / --no-issue            Copy data and format for github alias
  --output-filename TEXT          Output filename
  --help                          Show this message and exit.

To see the versions of idmtools and related modules, along with the plugins they provide, you can use the version command. Here is an example of the output:

$ idmtools version
You are using a development version of idmtools, version 1.7.1+nightly!
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
idmtools                             Version: 1.7.1+nightly                   
  Plugins:
    CommandTask               
idmtools-cli                         Version: 1.7.1+nightly                   
idmtools-models                      Version: 1.7.1+nightly                   
  Plugins:
    JSONConfiguredPythonTask  
    JSONConfiguredRTask       
    JSONConfiguredTask        
    PythonTask                
    RTask                     
    ScriptWrapperTask         
    TemplatedScriptTask       
idmtools-platform-comps              Version: 1.7.1+nightly                   
  Plugins:
    COMPSPlatform             
    SSMTPlatform              
idmtools-platform-local              Version: 1.7.1+nightly                   
  Plugins:
    LocalPlatform             
idmtools-platform-slurm              Version: 1.7.1+nightly                   
  Plugins:
    SlurmPlatform

To see a list of the predefined configurations from platform plugins, use the command:

$ idmtools info plugins platform-aliases
You are using a development version of idmtools, version 1.7.1+nightly!
INI File Used: /home/docs/checkouts/readthedocs.org/user_builds/institute-for-disease-modeling-idmtools/checkouts/latest/docs/idmtools.ini
+---------------------------+-----------------------------------------------------------------------+
| Platform Plugin Aliases   | Configuration Options                                                 |
|---------------------------+-----------------------------------------------------------------------|
| BELEGOST                  | {'endpoint': 'https://comps.idmod.org', 'environment': 'Belegost'}    |
| BAYESIAN                  | {'endpoint': 'https://comps2.idmod.org', 'environment': 'Bayesian'}   |
| SLURMSTAGE                | {'endpoint': 'https://comps2.idmod.org', 'environment': 'SlurmStage'} |
| CALCULON                  | {'endpoint': 'https://comps.idmod.org', 'environment': 'Calculon'}    |
| SLURM                     | {'endpoint': 'https://comps.idmod.org', 'environment': 'Calculon'}    |
| SLURM2                    | {'endpoint': 'https://comps2.idmod.org', 'environment': 'SlurmStage'} |
| BOXY                      | {'endpoint': 'https://comps2.idmod.org', 'environment': 'SlurmStage'} |
| BELEGOST_SSMT             | {'endpoint': 'https://comps.idmod.org', 'environment': 'Belegost'}    |
| BAYESIAN_SSMT             | {'endpoint': 'https://comps2.idmod.org', 'environment': 'Bayesian'}   |
| SLURMSTAGE_SSMT           | {'endpoint': 'https://comps2.idmod.org', 'environment': 'SlurmStage'} |
| CALCULON_SSMT             | {'endpoint': 'https://comps.idmod.org', 'environment': 'Calculon'}    |
| SLURM_SSMT                | {'endpoint': 'https://comps.idmod.org', 'environment': 'Calculon'}    |
| SLURM2_SSMT               | {'endpoint': 'https://comps2.idmod.org', 'environment': 'SlurmStage'} |
| BOXY_SSMT                 | {'endpoint': 'https://comps2.idmod.org', 'environment': 'SlurmStage'} |
| SLURM_LOCAL               | {'mode': 'local', 'job_directory': '/home/docs'}                      |
| SLURM_BRIDGED             | {'mode': 'bridged', 'job_directory': '/home/docs'}                    |
+---------------------------+-----------------------------------------------------------------------+