[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[McIDAS #UGY-921131]: mcidas check.
- Subject: [McIDAS #UGY-921131]: mcidas check.
- Date: Sun, 14 Apr 2013 21:15:43 -0600
Hi Dave,
I just got a chance to login to the new climate (Ubuntu) machine.
The first thing I decided to tackle was the building of ldm-mcidas-2012:
I created the file ldm-mcidas_Ubuntu_12.04.2_x86_64.cshrc in the
/home/ldm/ldm-mcidas/ldm-mcidas-2012/src directory and populated
it with the environment variable settings needed to build v2012:
# For ldm-mcidas builds
setenv CC cc
setenv FC gfortran
setenv CPP_MCIDAS '-I/home/mcidas/mcidas2009/src'
setenv LD_MCIDAS '-L/home/mcidas/lib -lmcidas'
setenv CPP_NETCDF '-I/home/mcidas/mcidas2009/netcdf/libsrc'
setenv LD_NETCDF '-L/home/mcidas/lib -lnetcdf'
setenv LD_MATH '-lm'
setenv CPP_LDM '-I/home/ldm/include'
#setenv LD_LDM '/home/ldm/lib/libldm.a /home/ldm/lib/libxml2.a'
setenv LDFLAGS '-Wl,-rpath,/home/ldm/lib'
setenv LD_LDM '-L/home/ldm/lib -lldm -lxml2'
setenv LD_FORTRAN '-static -lf2c'
setenv LD_X11 ''
setenv FTPDIR $HOME/ldm-mcidas/ftp
setenv FTPBINDIR $HOME/ldm-mcidas/ftpbin
I then build ldm-mcidas-2012 as follows:
<as 'ldm'>
cd ~ldm/ldm-mcidas/ldm-mcidas-2012/src
source ldm-mcidas_Ubuntu_12.04.2_x86_64.cshrc
./configure && make && make install
This created v2012 decoders and installed them in the
~ldm/ldm-mcidas/ldm-mcidas-2012/bin directory:
total 1488
-rwxr-xr-x 1 ldm ldm 7762 Apr 15 02:55 batch.k
-rwxrwxr-x 1 ldm ldm 33978 Apr 15 02:55 lgt2md
-rwxrwxr-x 1 ldm ldm 705532 Apr 15 02:55 proftomd
-rwxrwxr-x 1 ldm ldm 226453 Apr 15 02:55 pngg2gini
-rwxrwxr-x 1 ldm ldm 63744 Apr 15 02:55 zlibg2gini
-rwxrwxr-x 1 ldm ldm 226551 Apr 15 02:55 pnga2area
-rwxrwxr-x 1 ldm ldm 226130 Apr 15 02:55 area2png
drwxrwxr-x 7 ldm ldm 4096 Apr 15 02:52 ..
drwxrwsr-x 2 ldm ldm 4096 Apr 15 02:52 .
-rwxr-xr-x 1 ldm ldm 4529 Apr 15 02:52 uwgrid.sh
I saved the versions of ldm-mcidas I found in the ~ldm/decoders
directory to the ~ldm/decoders/backup directory and then copied
the v2012 decoders into the ~ldm/decoders directory.
After reviewing the ~ldm/etc/pqact.conf_mcidas[AB] pattern-action
files, I modified ~ldm/etc/pqact.conf_mcidasB by changing the
invocation of 'nldn2md' to 'lgt2md' in the LIGHTNING (renamed
from NLDN) action. I then restarted the LDM in the normal way:
ldmadmin restart
I see that the DMGRID and DMBIN decoders are exiting quickly. I
will look into this tomorrow.
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: UGY-921131
Department: Support McIDAS
Priority: Normal
Status: Closed