[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GEMPAK #ZAL-722072]: Compiling GEMPAK
- Subject: [GEMPAK #ZAL-722072]: Compiling GEMPAK
- Date: Thu, 12 Mar 2009 11:31:14 -0600
Hi Karl,
So far I can't pin down the problem.
For your configuration files it appears that g77 is being defined and used
correctly, but the problem I see from the error message is an incorrect version
of MCHPRM.PRM being referenced:
gcc -DUNDERSCORE -DLinux -I/ops/tools/gempak/GEMPAK5.11.4/gempak/include
-I/ops/tools/gempak/GEMPAK5.11.4/os/linux64/include -I/usr/X11R6/include
-DG_64BIT -O -c -o dcshef_comet.o dcshef_comet.c
g77 -ff2c -fno-second-underscore
-I/ops/tools/gempak/GEMPAK5.11.4/gempak/include
-I/ops/tools/gempak/GEMPAK5.11.4/os/linux64/include -O -c -o dcshcd.o dcshcd.f
MCHPRM.PRM: In subroutine `dcshcd':
MCHPRM.PRM:28:
PARAMETER ( CHNULL = CHAR (0) )
MCHPRM.PRM exists as a symbolic link to a version specific to the compiler
defined in your Makeinc.common file. The above line
PARAMETER ( CHNULL = CHAR (0) )
exists in MCHPRM.Linux_gfortran but not in MCHPRM.Linux (which should be used
based on how your Gemenviron.profile and Makeinc.* files are configured), so
the wrong MCHPRM.$(OPSYS) is being used - if MCHPRM.Linux_gfortran is being
referenced, that means Makeinc.linux64_gfortran is somewhere being referenced.
Are you absolutely sure that you have sourced Gemenviron.profile correctly?
What is the output of `env`? Perhaps there is a conflict somewhere with a
definition for an environmental variable.
Michael James
Unidata User Support
> HI Michael
>
> Thanks for staying on this. I was out yesterday.
>
> Here are Makeinc.common and Makeinc.linux64_g77 as text attachments.
>
> On Tue, 10 Mar 2009, Unidata GEMPAK Support wrote:
>
> > Kurt,
> >
> > Hmm, everything seems to be okay in Gemenviron.profile
> >
> > Can you send along Makeinc.common and Makeinc.linux64_g77 ?
> >
> > Thanks,
> >
> > Michael
> >
> >
>
Ticket Details
===================
Ticket ID: ZAL-722072
Department: Support GEMPAK
Priority: High
Status: Open