[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #NGK-146672]: PGI compilers are installed but not seen by
- Subject: [netCDF #NGK-146672]: PGI compilers are installed but not seen by
- Date: Wed, 27 Feb 2008 15:16:53 -0700
Hi Erik,
This is very puzzling to me, too. There seem to be two problems.
1. "C compiler cannot create executables" message. To figure out why this is
happening, we would need to see the "config.log" file. Note this is not
the same as the configure output, it is much more voluminous. This
message
usually indicates a problem with the development environment that prevents
compiling and running a simple C program, such as having the runtime
library
installed in the wrong place, relative to where the C compiler is looking
for
it. Have you verified you can compile and run a simple C program with the
compiler you are using? You may want to put the
/opt/pgi/linux86/7.1-5/bin/
directory earlier in your PATH before running the configure script, to
make
sure the PGI C compiler is found before gcc (although I don't think that
should be necessary).
2. The configure script is finding gfortran but not pgf77 or pgf90. The
configure
script looks for pgf77 and pgf90 (and pgf95) before gfortran, so if your
PATH
is set to contain a directory with those executables, it should find them,
assuming you have permission to execute them.
If you are using sh, ksh, bash, or similar as your command shell, could you
please run
type pgf77
ls -l `type f77`
just to make sure the compiler is where you think it is and has the correct
execution permissions set. If this doesn't indicate a problem, please send
the output requested here, so we can diagnose the problem further:
http://www.unidata.ucar.edu/software/netcdf/docs/netcdf-install/Reporting-Problems.html
in particular the config.log output.
Thanks!
--Russ
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu
Ticket Details
===================
Ticket ID: NGK-146672
Department: Support netCDF
Priority: Normal
Status: Closed