pgcc-Fatal-unable to find any RC file

Hello,
I installed PGI Compiler 6.2 Cluster Development Kit on Linux RedHat AS 4 U4. I followed the readme file included with product for the installation steps.
The PGI and PATH variables are set accordly.
Now, when I try to test if the installation was setup correctly I get the following error:

pgcc -V x.c

pgcc-Fatal-unable to find any RC file

The other test works correctly. I was able to compile using pgCC or pgf77 or pgf95.

Please could you help about this issue?
Thanks for your help.
Roberto

Hi Roberto,

What is the output from the following commands?

which pgf90
pgf90 -dryrun x.f90
which pgcc
pgcc -dryrun x.c
  • Mat

Hello Mat,
here the outputs:
[root@node01 ~]# which pgf90
/opt/pgi/linux86-64/6.2/bin/pgf90

[root@node01 ~]# pgf90 -dryrun x.f90
Reading rcfile /opt/pgi/linux86-64/6.2/bin/.pgf90rc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/nativerc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/fnativerc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/x86rc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/x8664rc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/lin86rc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/lin8664rc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/iparc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/pgf90rc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/pgftnrc
Reading rcfile /opt/pgi/linux86-64/6.2/bin/localrc
Skipping .pglocalrc.node01 (not found)
Skipping siterc (not found)
Skipping siterc.node01 (not found)
Skipping .mypgf90rc (not found)

/opt/pgi/linux86-64/6.2/bin/pgf901 x.f90 -opt 1 -terse 1 -inform warn -nohpf -nostatic -x 19 0x400000 -quad -x 59 4 -x 59 4 -x 15 2 -x 49 0x400004 -x 51 0x20 -x 57 0x4c -x 58 0x10000 -x 124 0x1000 -x 57 0xfb0000 -x 58 0x78031040 -x 48 4608 -x 49 0x100 -x 120 0x200 -stdinc /opt/pgi/linux86-64/6.2/include:/usr/local/include:/usr/lib/gcc/x86_64-redhat-linux/3.4.6/include:/usr/lib/gcc/x86_64-redhat-linux/3.4.6//include:/usr/include -def unix -def __unix -def unix -def linux -def __linux -def linux -def __NO_MATH_INLINES -def x86_64 -def LONG_MAX=9223372036854775807L -def ‘SIZE_TYPE=unsigned long int’ -def ‘PTRDIFF_TYPE=long int’ -def __THROW= -def extension= -def amd64 -def SSE -def MMX -def SSE2 -def SSE3 -freeform -vect 48 -output /tmp/pgf90_j5c6KmRHCmq.ilm

/opt/pgi/linux86-64/6.2/bin/pgf902 /tmp/pgf90_j5c6KmRHCmq.ilm -fn x.f90 -opt 1 -terse 1 -inform warn -x 51 0x20 -x 119 0xa10000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 16 -x 19 0x400000 -x 28 0x40000 -quad -x 120 0x80000000 -x 59 4 -x 59 4 -y 80 0x1000 -x 80 0x10800000 -x 124 0x1400 -y 15 2 -x 57 0x3b0000 -x 58 0x48000000 -x 49 0x100 -x 120 0x200 -astype 0 -x 124 1 -asm /tmp/pgf90Uj5ckmXBHq6v.s

/usr/bin/as /tmp/pgf90Uj5ckmXBHq6v.s -o /tmp/pgf90Ej5cAT6ioczX.o

/usr/bin/ld /usr/lib64/crt1.o /usr/lib64/crti.o /opt/pgi/linux86-64/6.2/lib/trace_init.o /usr/lib/gcc/x86_64-redhat-linux/3.4.6//crtbegin.o /opt/pgi/linux86-64/6.2/lib/f90main.o -m elf_x86_64 -dynamic-linker /lib64/ld-linux-x86-64.so.2 /opt/pgi/linux86-64/6.2/lib/pgi.ld /tmp/pgf90Ej5cAT6ioczX.o -L/opt/pgi/linux86-64/6.2/lib -L/usr/lib64 -L/usr/lib/gcc/x86_64-redhat-linux/3.4.6/ -rpath /opt/pgi/linux86-64/6.2/lib -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl -lnspgc -lpgc -lm -lgcc -lc -lgcc /usr/lib/gcc/x86_64-redhat-linux/3.4.6//crtend.o /usr/lib64/crtn.o
Unlinking /tmp/pgf90_j5c6KmRHCmq.ilm
Unlinking /tmp/pgf90_j5c6KmRHCmq.dbg
Unlinking /tmp/pgf90Uj5ckmXBHq6v.s
Unlinking /tmp/pgf90Ej5cAT6ioczX.o
[root@node01 ~]# which pgcc
/opt/pgi/linux86-64/6.2/bin/pgcc

[root@node01 ~]# pgcc -dryrun x.c
pgcc-Fatal-unable to find any RC file

Thanks for your help.
Roberto

Hi Roberto,

I’m not really sure. I thought you might be picking up a different pgcc, but all seems ok. Can you please send a note with this issue to PGI Customer Service trs@pgroup.com?

Thanks,
Mat