NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. If you are using Windows, install Cygwin as described in the following site: https://www.cygwin.com/
    Multiexcerpt include
    MultiExcerptNameExitDisclaimer
    nopaneltrue
    PageWithExcerptwikicontent:Exit Disclaimer to Include
  2. Prepare Java:
    1. Download Java 1.8.x from the following page:  https://www.java.com/en/download/
      Multiexcerpt include
      MultiExcerptNameExitDisclaimer
      nopaneltrue
      PageWithExcerptwikicontent:Exit Disclaimer to Include
    2. Install Java, as described in the following installation instructions:  https://www.java.com/en/download/help/index_installing.xml
      Multiexcerpt include
      MultiExcerptNameExitDisclaimer
      nopaneltrue
      PageWithExcerptwikicontent:Exit Disclaimer to Include
    3. Update your PATH system variable with the Java executable folder (such as c:/jdk1.8_13/bin). For details, refer to the following instructions: https://java.com/en/download/help/path.xml
      Multiexcerpt include
      MultiExcerptNameExitDisclaimer
      nopaneltrue
      PageWithExcerptwikicontent:Exit Disclaimer to Include
    4. Check whether you have performed the previous steps correctly: Open a cmd or shell window and type the following command. The command output should display the version of Java you intended to install:

      Code Block
      java –version
  3. Prepare the DME CLU:

    Use the following command to clone DME utilities to your local machine:

    Code Block
    Git clone https://github.com/CBIIT/HPC_DME_APIs
    For further instructions, refer to the following file:  https://github.com/CBIIT/HPC_DME_APIs/blob/master/utils/README.md Multiexcerpt includeMultiExcerptNameExitDisclaimernopaneltruePageWithExcerptwikicontent:Exit Disclaimer to Include
  4. In the HPC_DME_APIs\utils\ folder, create a copy of the sample configuration file (hpcdme.properties-sample) and rename it (as hpcdme.properties). Edit your hpcdme.properties file to make the following configuration changes:

    PropertyInstructions
    Server settings

    If you want to connect to the Production tier, uncomment the Production server settings and comment out the UAT server settings. By default, the UAT server settings are enabled.

    hpc.ssl.keystore.passwordContact NCIDataVault@mail.nih.gov to request this password.
    hpc.user

    Specify your NIH username.

    hpc.default.globus.endpointIf you intend to use the Globus integration, specify the UUID of the Globus endpoint that you want to use.
    Other properties not mentioned aboveContact NCIDataVault@mail.nih.gov. These properties are for special cases and internal use only.
  5. Edit your ~/.bashrc or ~/.profile file to append following lines, where <CLIENT_UTILS_HOME> is the absolute path to the HPC_DME_APIs\utils\ folder. 

    Code Block
    export HPC_DM_UTILS=<CLIENT_UTILS_HOME>
    export PATH=$HPC_DM_UTILS/scripts/:$PATH
  6. If you are using Cygwin on Windows, run sed to change end of line delimiters from Windows standard to Unix standard in any files involved in CLU setup: 

    1. Run a sed command to adjust the line delimiters for the file with your export commands (~/.bashrc or ~/.profile). For example: 

      Code Block
      sed -i "s/\r$//" /cygdrive/c/cygwin64/home/your-name/.bashrc
    2. The following command adjusts the line delimiters for all files in the scripts folder.  

      Code Block
      sed -i "s/\r$//" $HPC_DM_UTILS/scripts/*
  7. (More steps? TBD.)