PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

libz.so.1 not found

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



Joined: 30 Jun 2011
Posts: 103

PostPosted: Fri Jun 15, 2012 11:24 am    Post subject: libz.so.1 not found Reply with quote

I am trying to compile the c1.c example in the PGroup literature. I am using a CentOS 6.2
64 bit system, but I am compiling for 32 bit. I get the output shown below. The system cannot find the libz.so.a file. I used the find command

find / -name libz.so.1

and found the file in

/lib64/

I assume it is a 64 bit file. Now why does it say it cannot find libz.so.1. Is it because I am compilng for 32 bit and libz.so.1 is clearly a 64 bit file? Is it becuase my LD_LIBARY_PATH does not point to it?

How do I get rid of this error? Also, how can I attach to my post in the Pgroup Forum? If I can at all?

Any help appreciated.

THX 1138.











/opt/pgi/linux86/2012/cuda/4.0/bin/cudafe: error while loading shared libraries: libz.so.1: cannot open shared object file: No such file or directory
PGC-W-0155-Compiler failed to translate accelerator region (see -Minfo messages): Device compiler exited with error status code (c3.c: 31)
smooth:
31, Generating copyout(a[1:n-2][1:m-2])
Generating copyin(b[0:n-1][0:m-1])
Generating copyout(b[1:n-2][1:m-2])
33, Loop carried dependence due to exposed use of 'b[0:n-1][0:m-1]' prevents parallelization
Parallelization would require privatization of array 'a[i2+1][1:m-2]'
Sequential loop scheduled on host
34, Loop is parallelizable
35, Loop is parallelizable
Accelerator kernel generated
41, Loop is parallelizable
42, Loop is parallelizable
Accelerator kernel generated
PGC/x86 Linux 12.5-0: compilation completed with warnings
/usr/bin/ld: cannot open output file a.out: Permission denied
[james@james accel]$
Back to top
View user's profile
THX 1138



Joined: 30 Jun 2011
Posts: 103

PostPosted: Fri Jun 15, 2012 1:22 pm    Post subject: libz.so.1 not found Reply with quote

I found the answer to this one myslf. I just had to install 320bit CentOS libraries. That is all.

Thanks anyway.

THX 1138
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