Can't find include file float.h

I have just installed the demo workstation linux version and have got the following error message with the first program I have tried to compile

PGC-F-0206-Can’t find include file float.h (/opt/pgi/linux86-64/6.1/include/float.h: 55)
PGC/x86-64 Linux/x86-64 6.1-2: compilation aborted

What should I do to overcome this error?

Hi jhierroa,

The system’s “float.h” file is is found in your system’s gcc directory and the path to this directory is set in your PGI configuration file (“GCCINC” in localrc) during installation. Most likely your installation failed for some reason, thus this path was not set.

Can you please look over your install logs to see if any errors occured and/or try re-installing? Also, what OS and glibc version are you using? To determine the glibc version run “/lib64/”.