This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
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