Hello,
I installed pdf90 compiler on RocksCluster 3.3 (based on Red Hat 9 distribution). I also have intel fortran compiler and GNU compilers installed on the same machine. The installation finished successfully and I updated the license file and I can execute:
>pgf90 -V
pgf90 3.2-3
Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved.
pgf90-warning-No files to process
but once I try compiling elementary program (which compiles with intel and GNU compilers fine - simple one-file-program) I get the following:
> pgf90 -v test2.f << simple program
/opt/pgi/linux86/bin/pgf901 test2.f -x 49 0x400004 -x 57 0x40 -x 58 0x31040 -nohpf -x 57 12 -x 124 0x1000 -x 51 0x20 -x 48 3328 -x 15 2 -output /tmp/pgf904LWc6O.ilm -stdinc /opt/pgi/linux86/include:/usr/local/include:/usr/i386-pc-linux/include:/usr/lib/gcc-lib/i386-pc-linux/3.2.3/include:/usr/include -def unix -def i386 -def linux -def __unix__ -def __inline__= -def __i386__ -def __linux__ -def __unix -def __i386 -def __linux -def __NO_MATH_INLINES -def linux86 -def unix -nostatic -opt 1 -vect 48
0 inform, 0 warnings, 0 severes, 0 fatal for square
PGF90/any Linux/x86 3.2-3: compilation successful
pgf90: /opt/pgi/linux86/bin/pgf901 completed with exit code 0
Unlinking test2.stb
/opt/pgi/linux86/bin/pgf902 /tmp/pgf904LWc6O.ilm -x 124 0x1400 -x 122 0x40 -x 119 0x10000 -x 123 0x1000 -x 119 0xa00000 -x 127 4 -x 51 0x20 -y 15 2 -x 124 1 -astype 0 -opt 1 -x 80 0x300 -y 80 0x1000 -fn test2.f -asm /tmp/pgf901p6I2j
0 inform, 0 warnings, 0 severes, 0 fatal for square
PGF90/x86 Linux/x86 3.2-3: compilation successful
pgf90: /opt/pgi/linux86/bin/pgf902 completed with exit code 0
Unlinking test2.stb
Unlinking /tmp/pgf904LWc6O.ilm
/usr/bin/as -o test2.o /tmp/pgf901p6I2j
pgf90: /usr/bin/as completed with exit code 0
Unlinking /tmp/pgf901p6I2j
/usr/bin/ld -m elf_i386 -dynamic-linker /lib/ld-linux.so.2 /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/gcc-lib/i386-pc-linux/3.2.3/crtbegin.o /opt/pgi/linux86/lib/event_init.o /opt/pgi/linux86/lib/f90main.o -L/opt/pgi/linux86/lib -L/usr/lib -L/usr/lib/gcc-lib/i386-pc-linux/3.2.3 test2.o -lpgf90 -lpgf90_rpm1 -lpgf902 -lpgf90rtl -lpgftnrtl -lm -lpgc -lgcc -lc -lgcc /usr/lib/gcc-lib/i386-pc-linux/3.2.3/crtend.o /usr/lib/crtn.o
/usr/bin/ld: cannot find -lpgc
pgf90: /usr/bin/ld completed with exit code 1
Unlinking
Unlinking
Unlinking /tmp/pgf901p6I2j
Unlinking /tmp/pgf904LWc6O.dwf
Unlinking test2.stb
It complains about library libpgc.a which is not in
$PGI/linux86/lib but it is in:
$PGI/linux86/lib-glibc-20 (lib-glibc-211) (lib-glibc-212)
I don’t know why there is no libpgc.a in the lib directory. Is there something wrong with my installation?
thanks
michal