Error : PGC-F-0206-Can't find include file float.h

When is compile my file sam.c with PGI compiler , i get this below given error,
but same sam.c compiles successfully with gcc compiler

Does anybody know the solution for this problem?


command: pgcc sam.c
Error:
PGC-F-0206-Can’t find include file float.h (/u/ssa/opt/pgi-7.0-4/linux86-64/7.0-4/include/float.h: 55)
PGC/x86-64 Linux 7.0-4: compilation aborted

File :sam.c

1 #include <float.h>
2 int main()
3 {
4
5
6
7 return 0;
8 }

Hi Ganeshp

I think you might have an installation issue where the installer wasn’t able to find the location of GCC specific include files. What OS are you using? What are the contents of the /u/ssa/opt/pgi-7.0-4/linux86-64/7.0-4/bin/localrc? Did you notice any errors during the installation?

Thanks,
Mat