PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

problem with -lpgc

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation
View previous topic :: View next topic  
Author Message
mmichal



Joined: 15 Mar 2007
Posts: 1

PostPosted: Thu Mar 15, 2007 2:15 pm    Post subject: problem with -lpgc Reply with quote

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:
Code:

>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:
Code:

> 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
Code:
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 5815
Location: The Portland Group Inc.

PostPosted: Mon Mar 19, 2007 9:44 am    Post subject: Reply with quote

Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Licenses and Installation All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group