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.
The PGI fortran compiler does not work. It does not allow a file to be opened by more than 1 unit number at the same time. There are no compiler flags to work around this limitation. Gcc and g77 with openmotif will work. Steve Chiswell >From: Derek Posselt <address@hidden> >Organization: UCAR/Unidata >Keywords: 200207082303.g68N3wa18211 >I noticed gempak has been compiled using PGI compilers. Any chance I >could get my hands on the makefiles and routines mentioned below? I'm >attempting to compile with pgf77 and pgcc on a PC running Redhat 7.2. >Thanks! > >Derek Posselt > >> Robert, >> >> I have built GEMPAK with Linux pgcc and pgf77. >> >> I have attatched a tar.gz file with updates to 2 routines and >> 3 Makefiles necessary to clean up the build. >> >> You can unpack the tarfile from $NAWIPS with the usual >> gunzip tarfile.gz | tar xvf - >> >> >> I included my $NAWIPS/config/Makeinc.linux_portland. >> >> All you will need to do to build with the portland compilers is: >> >> cd $CONFIGDIR >> mv Makeinc.linux Makeinc.linux_gcc >> ln -s Makeinc.linux_portland Makeinc.linux >> >> >> For our PGI compilers, I had to set the PGI environmental variable >> to the /opt/pgi directory, and ass /opt/pgi/linux86/bin to my path. >> >> The $GEMPAK/source/melbufr directory still has errors for Linux, but >> no program uses that library yet, so it isn't fatal. >> >> I ran a quick test by using NMAP2 to pull up a few products, and things >> appeared to work OK. >> >> Steve Chiswell >> Unidata User Support >> >> >> > >-- >Derek Posselt >SSEC/CIMSS--Univ. of Wisconsin, Madison >address@hidden >Office: (608) 263-1116 > >