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 Jon, My bad - I had an ugly typo in my commands. I was calling your compiler gpcc instead of pgcc (you can tell how often I use the Portland Group stuff...my bad!). Try: pgcc -V which pgcc Sorry for the confusion! Sean > That's exactly the problem you are seeing. Make sure your path is setup to > include the location where gpcc is located and give it another shot. > > Cheers, > > Sean > > > Hello, > > > > I get the following when running the commands: > > > > [root@RSTEST8 netcdf-4.1.3]# gpcc -V > > -bash: gpcc: command not found > > You have new mail in /var/spool/mail/root > > [root@RSTEST8 netcdf-4.1.3]# which gpcc > > /usr/bin/which: no gpcc in > > (/usr/kerberos/sbin:/usr/kerberos/bin:/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin) > > [root@RSTEST8 netcdf-4.1.3]# csh > > [root@RSTEST8 netcdf-4.1.3]# gpcc -V > > gpcc: Command not found. > > [root@RSTEST8 netcdf-4.1.3]# which gpcc > > gpcc: Command not found. > > > > It almost seems like the compiler was not installed properly. > > > > Thanks, > > Jon > > > > Jonathan DiLeo > > System Administrator > > AIR Worldwide > > 131 Dartmouth St. > > Boston, MA 02116 > > +1-617-954-1919 > > > > > > > > -----Original Message----- > > From: Unidata netCDF Support [mailto:address@hidden] > > Sent: Wednesday, January 11, 2012 12:22 PM > > To: DiLeo, Jonathan > > Cc: address@hidden > > Subject: [netCDF #VVC-841225]: NetCDF Compile with PGI > > > > Greetings Jon! > > > > What are the output of the following commands > > > > gpcc -V > > which gpcc > > > > Cheers, > > > > Sean > > > > > Hello, > > > > > > I'm having trouble compiling NetCDF 4.1.3 with PGI Compiler 2011. Here is > > > what I get after running my compile statement: > > > > > > [root@RSTEST8 netcdf-4.1.3]# env CC=pgcc CFLAGS="-O2 -Msignextend -V" > > > FC=pgf90 F90=pgf90 FFLAGS="-O2 -w -V" CXX=pgCC CPPFLAGS="-DNDEBUG > > > -DpgiFortran" ./configure -prefix=/opt/netcdf --disable-netcdf-4 > > > configure: netCDF 4.1.3 > > > checking build system type... x86_64-unknown-linux-gnu checking host > > > system type... x86_64-unknown-linux-gnu checking target system type... > > > x86_64-unknown-linux-gnu checking for a BSD-compatible install... > > > /usr/bin/install -c checking whether build environment is sane... yes > > > checking for a thread-safe mkdir -p... /bin/mkdir -p checking for > > > gawk... gawk checking whether make sets $(MAKE)... yes > > > configure: checking user options > > > checking whether CXX is set to ''... no checking whether FC is set to > > > ''... no checking whether F90 is set to ''... no checking whether a > > > NCIO_MINBLOCKSIZE was specified... 256 checking whether udunits is to > > > be built... no checking if fsync support is enabled... yes checking > > > whether extra valgrind tests should be run... no checking whether we > > > should try to build netCDF-4... no checking whether libcf is to be > > > built... no checking whether reading of HDF4 SD files is to be > > > enabled... no checking whether to fetch some sample HDF4 files from > > > Unidata ftp site to test HDF4 reading (requires wget)... no checking > > > whether parallel I/O for classic and 64-bit offset files using > > > parallel-netcdf is to be enabled... no checking whether new netCDF-4 > > > C++ API is to be built... no checking whether extra example tests > > > should be run... no checking whether parallel IO tests should be > > > run... no checking whether a default chunk size in bytes was > > > specified... 4194304 checking whether a maximum per-variable cache > > > size for HDF5 was specified... 67108864 checking whether a number of > > > chunks for the default per-variable cache was specified... 10 checking > > > whether a default file cache size for HDF5 was specified... 4194304 > > > checking whether a default file cache maximum number of elements for > > > HDF5 was specified... 1009 checking whether a default cache preemption > > > for HDF5 was specified... 0.75 checking whether netCDF-4 logging is > > > enabled... no checking whether cdmremote client is to be built... no > > > checking whether DAP client is to be built... yes checking for style > > > of include used by make... GNU checking for gcc... pgcc checking > > > whether the C compiler works... no > > > configure: error: in `/tmp/netcdf-4.1.3': > > > configure: error: C compiler cannot create executables See > > > `config.log' for more details > > > > > > Any ideas? > > > > > > Thanks, > > > Jon > > > > > > Jonathan DiLeo > > > System Administrator > > > AIR Worldwide > > > 131 Dartmouth St. > > > Boston, MA 02116 > > > +1-617-954-1919 > > > [Description: email_signature_crop]<http://www.air-worldwide.com/> > > > > > > > > > > > > > > > Ticket Details > > =================== > > Ticket ID: VVC-841225 > > Department: Support netCDF > > Priority: Normal > > Status: Open > > > > > > > Ticket Details =================== Ticket ID: VVC-841225 Department: Support netCDF Priority: Normal Status: Open