Users upgrading from a previous version of McIDAS-X will at a minimum need to do the following.
to the HOME directory of the user mcidas
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.).
cd ~mcidas chmod +x mcunpack ./mcunpack
cd ~/mcidas2009/src make mcx <- to build McIDAS-X only -- OR -- make all <- to build both McIDAS-X and McIDAS-XCD
If this step applies to you, please review the contents of v2009's ADDEIMAGE.CORE to learn what you must do to convert your previous files to the correct content and format.
<login as 'ldm'> cd ~ldm ldmadmin stop <exit>
cd ~/mcidas2007/src make uninstall.all
cd ~/mcidas2009/src <- to install McIDAS-X only make install -- OR -- make install.all <- to install both McIDAS-X and McIDAS-XCD
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:
cd $McINST_ROOT/data cp LOCAL.NAM LOCAL.NAM.2007
When mcxconfig advises you to review file REDIRECTions in $McINST_ROOT/data/LOCAL.NAM, merge any/all locally added definitions from $McINST_ROOT/data/LOCAL.NAM.2007 into $McINST_ROOT/data/LOCAL.NAM.
cd $McINST_ROOT/data cp LSSERVE.BAT LSSERVE.BAT.2007
When mcxconfig advises you to review server mapping table actions in $McINST_ROOT/data/LSSERVE.BAT, merge any/all locally added definitions from $McINST_ROOT/data/LSSERVE.BAT.2007 into $McINST_ROOT/data/LSSERVE.BAT.
cd $MCDATA rm DECINFO.DAT
<login as 'ldm'> ldmadmin start <exit>
At this point, your McIDAS v2009 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.