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

20040419: 20040419: GEMPAK installation help



Andrew,

Inter process communication (or IPC) and message queues are
one way in which programs can communicate between themselves.
MAC OSX does not support this. With the ipc.h and msg.h
include files. the programs will link because the stubs are
in the C library in netbsd. However, when a program asks for
a message queue, none will be created. See:
http://www.unidata.ucar.edu/projects/coohl/mhonarc/MailArchives/gempak/msg05909.html
This is because while netBSD supports the API, the underlying
Darwin operating system does not, eg, the routines just return -1 without doing 
anything..

The GEMPAK programs (any that talk to a device driver or gplt)
use message queues to do mapping transformations and display.
The GUIs have the gplt and xw/ps/gif drivers all linked into a single 
executable,
so they do not communicate among separate programs....they will work, as will
decoders. 

Steve Chiswell
Unidata User Support






>From: "Odins, Andrew" <address@hidden>
>Organization: UCAR/Unidata
>Keywords: 200404191722.i3JHMaCT010930

>Steve:
>
>Personally, I'm not a MAC user, but that is what I have here at work.  So what
>  you are saying is that even with the .h files that you suggested, I will not
>  be able to run gdplot?  A couple of items I am not familiar with: IPC suppor
> t-what is that, the help pages?  What is fink?  Would I run into the same pro
> blems with older versions of GEMPAK? 
>
>Lastly, for my applications, I would like to be able to run nagrib, gdpolt, gd
> diag, and perhaps a couple of others, is this going to be a major complicatio
> n (or feasible for that matter) with the MAC?
>
>Thanks very much for your help.
>
>Andrew
>
>
>-----Original Message-----
>From: Unidata Support [mailto:address@hidden] 
>Sent: Monday, April 19, 2004 12:58 PM
>To: Odins, Andrew
>Cc: 'address@hidden'
>Subject: 20040419: GEMPAK installation help 
>
>
>
>Andrew,
>
>MAC OSX currently does not provide message queue
>support, so the only programs that will run are the decoders and
>GUIs. You can download the msg.h and ipc.h from the netbsd sites
>so that the code will compile, but I have tested both Panther and
>Jaguar and neither provide message queue and IPC support
>that the command line programs will need for talking to
>the gplt and device drivers.
>
>NAWIPS will be the directory where you unpacked the distribution, and
>you will have to edit the Gemenviron file if you placed the
>distribution in a directory other than /home/gempak/GEMPAK5.7.1.
>
>Lastly, you will need openmotif (I obtained it through fink for my build).
>Lesstif is not suitible.
>
>Steve Chiswell
>Unidata User Support
>
>
>
>
>
>
>>From: "Odins, Andrew" <address@hidden>
>>Organization: UCAR/Unidata
>>Keywords: 200404191533.i3JFXMCT027362
>
>>This message is in MIME format. Since your mail reader does not understand
>>this format, some or all of this message may not be legible.
>>
>>------_=_NextPart_001_01C42623.A15FAD3F
>>Content-Type: text/plain
>>
>>Hello:
>>
>>I am trying to install GEMPAK (which I have not done before) on a Mac machine
> ,
>>  that uses the Darwin config.  I have set the Gemenviron, ran the source Gem
> e
>> nviron, and received no problems.  When I run the make all command, the make
> .
>> out file contains numerous "parse" errors such as:
>>/users/aodins/GEMPAK5.7.1/gempak/include/proto_gemlib.h:72: error: parse erro
> r
>>  before "Cardinal"
>>
>>Also, at the very top of this file, I get:
>>/users/aodins/GEMPAK5.7.1/gempak/include/geminc.h:51:21: sys/msg.h: No such f
> i
>> le or directory, as well as other directories.
>>
>>I'm not sure what I'm doing wrong, but I could certainly use some help.  One 
> m
>> ore question:  in the Gemenviron file, there is a comment stating "Make sure
>  
>> NAWIPS directory exists."  Where do I check for that directory?  Thank you f
> o
>> r any help that you can provide.
>>
>>Andrew Odins
>>Progress Energy Ventures, Inc.
>>Associate Portfolio Management Specialist
>>Phone> 919-546-7766  Fax> 919-546-4704
>>
>>
>>------_=_NextPart_001_01C42623.A15FAD3F
>>Content-Type: text/html
>>Content-Transfer-Encoding: quoted-printable
>>
>><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
>><HTML>
>><HEAD>
>><META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
>>charset=3Dus-ascii">
>><META NAME=3D"Generator" CONTENT=3D"MS Exchange Server version =
>>5.5.2653.12">
>><TITLE>GEMPAK installation help</TITLE>
>></HEAD>
>><BODY>
>>
>><P><FONT SIZE=3D2 FACE=3D"Arial">Hello:</FONT>
>></P>
>>
>><P><FONT SIZE=3D2 FACE=3D"Arial">I am trying to install GEMPAK (which I =
>>have not done before) on a Mac machine, that uses the Darwin =
>>config.&nbsp; I have set the Gemenviron, ran the source Gemenviron, and =
>>received no problems.&nbsp; When I run the make all command, the =
>>make.out file contains numerous &quot;parse&quot; errors such =
>>as:</FONT></P>
>>
>><P><FONT SIZE=3D2 =
>>FACE=3D"Arial">/users/aodins/GEMPAK5.7.1/gempak/include/proto_gemlib.h:7=
>2: error: parse error before &quot;Cardinal&quot;</FONT>
>></P>
>>
>><P><FONT SIZE=3D2 FACE=3D"Arial">Also, at the very top of this file, I =
>>get:</FONT>
>><BR><FONT SIZE=3D2 =
>>FACE=3D"Arial">/users/aodins/GEMPAK5.7.1/gempak/include/geminc.h:51:21: =
>>sys/msg.h: No such file or directory, as well as other =
>>directories.</FONT></P>
>>
>><P><FONT SIZE=3D2 FACE=3D"Arial">I'm not sure what I'm doing wrong, but =
>>I could certainly use some help.&nbsp; One more question:&nbsp; in the =
>>Gemenviron file, there is a comment stating &quot;Make sure NAWIPS =
>>directory exists.&quot;&nbsp; Where do I check for that =
>>directory?&nbsp; Thank you for any help that you can =
>>provide.</FONT></P>
>>
>><P><FONT SIZE=3D2 FACE=3D"Arial">Andrew Odins</FONT>
>><BR><FONT SIZE=3D2 FACE=3D"Arial">Progress Energy Ventures, Inc.</FONT>
>><BR><FONT SIZE=3D2 FACE=3D"Arial">Associate Portfolio Management =
>>Specialist</FONT>
>><BR><FONT SIZE=3D2 FACE=3D"Arial">Phone&gt; 919-546-7766&nbsp; Fax&gt; =
>>919-546-4704</FONT>
>></P>
>>
>></BODY>
>></HTML>
>>------_=_NextPart_001_01C42623.A15FAD3F--
>>
>--
>NOTE: All email exchanges with Unidata User Support are recorded in the
>Unidata inquiry tracking system and then made publically available
>through the web.  If you do not want to have your interactions made
>available in this way, you must let us know in each email you send to us.
>
--
NOTE: All email exchanges with Unidata User Support are recorded in the
Unidata inquiry tracking system and then made publically available
through the web.  If you do not want to have your interactions made
available in this way, you must let us know in each email you send to us.