[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #VBA-759926]: Building _gif programs in GEMPAK
- Subject: [GEMPAK #VBA-759926]: Building _gif programs in GEMPAK
- Date: Wed, 12 Mar 2014 10:34:55 -0600
Hi Chris,
I can not remember if there have been updates to the _gif build for gdplot2
since GEMPAK6.4.0. I always recommend installing the latest version (7.0) for
bug fixes and table updates.
Your Makefile has a programs_gif section or you wouldn't get far enough to see
the MCHPRM.PRM error. I build gdplot2_gif on linux64 fc12 and don't see the
same error as you, so I would like to see your gdplot2/Makefile and Gemenviron
file.
Gemenviron will determine which/Makeinc.common* file to include, which will
determine which Makeinc.linux* file to include, which will then determine which
MCHPRM file to use... for example:
Makeinc.linux64_gfortran:OPSYS = Linux
Makeinc.linux64_gfortran:MCHSYS = MCHPRM.$(OPSYS)_gfortran
So my guess is that the wrong file is being linked... will have to look at the
file to know.
-Michael James
Unidata
> Hi folks,
>
> We lost an old version of GEMPAK that we had previously built all of the
> _gif programs in. We use GEMPAK to build images for our web server and
>
> would prefer not to deal with X server issues to make our scripts work.
>
> (By the way, if anyone knows how to disable the "AUDIT" event that
> happens with a Redhat X.org configuration, please shoot me an email! We
>
> are generating ~15 GB of messages in less than a day.)
>
> Anyway, I found this note from a while ago:
>
> https://www.unidata.ucar.edu/support/help/MailArchives/gempak/msg04409.html
>
> However, the Makefile did not appear to be included in the archive
> view. We are also hoping to build gdplot2_gif (or gdplot3_gif), so that
>
> message looked promising at first.
>
> Here is what I tried to do:
>
> [herbster@zephyr GEMPAK6.4.0]$ pwd
>
> /storage/wrf/Web-Devel/WebTools/GEMPAK6.4.0
>
> [herbster@zephyr GEMPAK6.4.0]$ cd gempak/source/programs/gd/gdplot2
>
> [herbster@zephyr gdplot2]$ make programs_gif
>
> gfortran -fno-second-underscore -fno-range-check -fd-lines-as-comments
> -I/opt/wrf/Web-Devel/WebTools/gempak/gempak/include
> -I/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/include -g gdplot2.f
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gdplot2.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/sfmap.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gdstream.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gdmap.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/ginitp_alt.o
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gendp_alt.o
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gemlib.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gplt.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/device.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gif.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gn.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/gemlib.a
> /opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/cgemlib.a
> /opt/wrf/Web-Devel/WebTools
/gempak/os/linux64/lib/libnetcdf.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libjasper.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libpng.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libz.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/rsl.a
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/lib/libbz2.a -lm -o
/opt/wrf/Web-Devel/WebTools/gempak/os/linux64/bin/gdplot2_gif
>
> Error: Can't open included file 'MCHPRM.PRM'
>
> make: *** [gdplot2_gif] Error 1
>
> [herbster@zephyr gdplot2]$ grep MCHPRM.PRM ../../../../../find.out
>
> ./os/linux64/include/MCHPRM.PRM
>
> It looks like there is something like an environment variable that has
> to be set when you start this low in the tree, but I'm out of my league
> with that guess. There are no errors up to the point where it fails.
>
> I'd be happy to send pieces if you need them.
>
> I know this is an older version of the program. If this is "ready to
> go" in the latest release let me know. The version I have (6.4.0) has
> "gpmap_gif" which is why I am using it. (I'd love to have ALL of the
> GIF enabled programs if there is a systematic way to make that happen.
>
> Thanks in advance!
>
> Best to all,
> Chris Herbster
>
> --
>
> Dr. Christopher G. Herbster
> Associate Professor
> Director of Science and Technology
> for the ERAU Weather Center
> Applied Aviation Sciences
> Embry-Riddle Aeronautical Univ.
> 600 S. Clyde Morris Blvd.
> Daytona Beach, FL 32114-3900
>
> 386.226.6444 Office
> 386.226.6446 Weather Center
> http://wx.erau.edu/
>
> Schedule at: http://wx.erau.edu/faculty/herbster/Schedules/
>
>
>
Ticket Details
===================
Ticket ID: VBA-759926
Department: Support GEMPAK
Priority: Normal
Status: Open