[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #UUL-626069]: portland group 9.0 compilers ... pgcpp specifically



> Full Name: Tim Hoar
> Email Address: address@hidden
> Organization: NCAR
> Package Version: 3.6.3
> Operating System: Linux cr0122en 2.6.16.60-0.39.3-smp #1 SMP Mon May 11 
> 11:46:34 UTC 2009 x86_64 x86_64 x86_64 GNU/Linux
> Hardware:
> Description of problem:
> 
> I am using pgf90 9.0-4 64-bit target on x86-64 Linux -tp p7-64 and am
> unable to run config ... here is the tail end of the run-time output
> and I have attached the config.log ... any help?
> 
> checking how to recognize dependent libraries... pass_all
> checking for ar... ar
> checking for strip... strip
> checking for ranlib... ranlib
> checking command to parse /usr/bin/nm -B output from pgcc object... ok
> checking how to run the C preprocessor... pgcpp
> configure: error: C preprocessor "pgcpp" fails sanity check
> 

The "pp" in pgcpp stands for "plus plus." This is a C++ compiler, not a C 
compiler.

Probably there is a command line flag to make it compile C, but presumably you 
also have the portland C compiler somewhere, which should be called pgcc.

Please let me know if this doesn't help.

Ed

Ticket Details
===================
Ticket ID: UUL-626069
Department: Support netCDF
Priority: Critical
Status: Closed