Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Unidata McIDAS-X - Upgrading from a Previous Version


Users upgrading from a previous version of McIDAS-X will at a minimum need to do the following.

  1. Review McIDAS-X v2007 Release Notes.

  2. Download the McIDAS-X v2007 distribution files:

    to the HOME directory of the user mcidas

  3. Define needed Unix environment variables:

    Assuming that the McIDAS-X/-XCD is to be installed in the standard location, and the user wants to use the GNU gcc/g77 compiler combination, The entries for McINST_ROOT and VENDOR will look like:

    non-Conforming shells (e.g., .cshrc) Conforming shells (e.g., .profile, .bash_profile, or .kshrc)
    # McINST_ROOT and VENDOR non-conforming shell defines
    # needed to build McIDAS
    setenv McINST_ROOT $HOME
    setenv VENDOR -g77
    
    # NOTE: uncomment the line that sets MySQL_ROOT if you want to
    #       build with MySQL support:
    #       - leave the value blank if MySQL is installed in a standard
    #         location
    #       - specify the value as the root directory of the MySQL
    #         installation if MySQL is not installed in a standard
    #         location
    # setenv MySQL_ROOT TRUE
    
    if ( -e $HOME/admin/mcidas_env.csh ) then
      source $HOME/admin/mcidas_env.csh
    endif
    
    # McINST_ROOT and VENDOR conforming shell defines
    # needed to bulid McIDAS
    McINST_ROOT=$HOME
    VENDOR=-g77
    export McINST_ROOT VENDOR
    
    # NOTE: uncomment the next two lines that set MySQL_ROOT if you
    #       want to build with MySQL support:
    #       - leave the value blank if MySQL is installed in a standard
    #         location
    #       - specify the value as the root directory of the MySQL
    #         installation if MySQL is not installed in a standard
    #         location
    # MySQL_ROOT=TRUE
    # export MySQL_ROOT
    
    if [ -e $HOME/admin/mcidas_env.sh ]; then
      . $HOME/admin/mcidas_env.sh
    fi
    

    After adding entries to your shell definition file, make those additions active in your session (e.g. source .cshrc, . .profile, . .bash_profile, etc.).

  4. Unpack the distribution:

    cd ~mcidas
    chmod +x mcunpack
    ./mcunpack
    

  5. Build the distribution (if you are upgrading, the assumption is that the needed Unix environment variable definitions for the user mcidas are active):

    cd ~/mcidas2007/src
    make mcx          <- to build McIDAS-X only
      -- OR --
    make all          <- to build both McIDAS-X and McIDAS-XCD
    

  6. Optional: Test the distribution before installing it (NOTE: not needed this is a new installation or if if you are committed to upgrading to the new distribution).

  7. If you made any changes to the MCGUI image load definition file ADDEIMAGE.CORE, copied the file to your McIDAS working directory, created a site image load file ADDEIMAGE.SITE, or created a user image load defaults file ADDEIMAGE.USER, you MUST move them out of the directories defined in your MCPATH. The 2007 format and content of these files was significantly changed.

    If this step applies to you, please review the contents of v2007's ADDEIMAGE.CORE to learn what you must do to convert your previous files to the correct content and format.

  8. stop the LDM if you are installing -XCD:

    <login as 'ldm'>
    cd ~ldm
    ldmadmin stop
    <exit>
    

  9. Uninstall the previous distribution (NOTE: example is for v2006):

    cd ~/mcidas2006/src
    make uninstall.all
    

  10. Install v2007:

    cd ~/mcidas2007/src          <- to install McIDAS-X only
    make install
      -- OR --
    make install.all             <- to install both McIDAS-X and McIDAS-XCD
    

  11. Run the McIDAS-X/-XCD configuration script, mcxconfig, to configure McIDAS:

    cd $MCDATA
    mcxconfig
    

    Recommendation: use defaults presented by mcxconfig for most actions.

    If you are upgrading an existing McIDAS installation, you may need to do the following before running mcxconfig:

  12. If you stopped the LDM in a previous step, restart it now:

    <login as 'ldm'>
    ldmadmin start
    <exit>
    

At this point, your McIDAS v2007 distribution should be ready to use. If you have problems, please send email to Unidata McIDAS Support <support-mcidas@unidata.ucar.edu> for assistance. Please make sure to describe the problem you are having in enough detail so we can help you troubleshoot.

 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690