NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[McIDAS #JRK-547142]: install mcidas2009 in a SUN Solaris10x86_64 machine



Hi Hsie,

I have been looking at your McIDAS setup on stratus, and I have a
a question:

It looks like your existing setup tries to use a runtime link approach
(like the LDM) to "point" at the version of McIDAS that you want to use.
For instance:

<as 'mcidas' on stratus>
cd ~mcidas
ls -alt
-rw-------   1 mcidas   unidata      966 Sep 22 11:53 .history
-rwxr-xr-x   1 mcidas   unidata     2899 Sep 22 11:49 .cshrc
-rw-rw-r--   1 mcidas   unidata      389 Sep 22 10:08 cshrc.solarisx86_64
drwxrwxr-x  21 mcidas   unidata     1024 Sep 22 09:50 .
lrwxrwxrwx   1 mcidas   unidata       11 Sep 22 09:50 solaris -> solaris2007
drwxr-xr-x  18 mcidas   unidata      512 Sep 22 09:38 mcidas2009
drwxrwxr-x   2 mcidas   unidata      512 Sep 22 09:37 admin
-rw-rw-r--   1 mcidas   unidata     1601 Sep 22 09:31 README
drwxrwxr-x  13 mcidas   unidata      512 Sep 22 09:27 solaris2009
drwx------   2 mcidas   unidata      512 Sep 21 14:53 .mctmp
-rw-------   1 mcidas   unidata        0 Sep 21 11:59 .mysql_history
dr-xr-xr-x   6 root     root           6 Sep 21 08:52 ..
lrwxrwxrwx   1 mcidas   unidata       11 May 13 17:14 bin -> solaris/bin
lrwxrwxrwx   1 mcidas   unidata       16 May 13 17:14 logs -> solaris/workdata
lrwxrwxrwx   1 mcidas   unidata        9 May 13 17:14 data -> /wrk/data
 ...

If you want to keep using this approach, I think a couple of changes are
needed:

- change the definition of 'mcidas_home' in ~mcidas/.cshrc:

  change:

  set mcidas_home = /home/mcidas/${OSTYPE}

  to:

  set version = 2009
  set mcidas_home = /home/mcidas/${OSTYPE}${version}

- resource the .cshrc settings so that McINST_ROOT is
  correctly defined

- clobber the current build of McIDAS v2009

  cd ~mcidas/mcidas2009/src
  make clobber

- have 'make' create the needed output directory structure:

  make rootdirs

- rebuild the distribution from scratch

  make all

- when switching to the new distribution, you would have to
  change the runtime link:

  change:

  solaris -> solaris2007

  to:

  solaris -> solaris2009

Do you agree with my analysis?

Cheers,

Tom
--
****************************************************************************
Unidata User Support                                    UCAR Unidata Program
(303) 497-8642                                                 P.O. Box 3000
address@hidden                                   Boulder, CO 80307
----------------------------------------------------------------------------
Unidata HomePage                       http://www.unidata.ucar.edu
****************************************************************************


Ticket Details
===================
Ticket ID: JRK-547142
Department: Support McIDAS
Priority: Normal
Status: Open