PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

PGCL Dynamic Compilation Problem

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
IntoTheWind



Joined: 04 Sep 2012
Posts: 2

PostPosted: Tue Sep 04, 2012 6:32 pm    Post subject: PGCL Dynamic Compilation Problem Reply with quote

Hello.

I installed the PGCL 12.6 on Ubuntu, and I'm trying to launch an OpenCL application on my Android device, when I compile and run the "Simple1_dynamic" example, appeared the following error:

PGOCL-F-0005-Unable to open temporary file
PGOCL/arm Linux 12.6-0: compilation aborted
Error on invoking /data/pgi/bin/pgocl-llvm /data/local/opencl-kernel-Nm8198/opencl-kernel-Nm8198-0-src-def.cl -terse 1 -stdinc /data/pgi/include -x 119 0xa10000 -x 119 0x100000 -x 122 0x40 -x 123 0x1000 -x 127 4 -x 127 17 -x 119 0x40000000 -x 19 0x400000 -x 28 0x40000 -x 120 0x10000000 -x 70 0x8000 -x 122 1 -x 59 4 -x 59 4 -x 120 0x1000 -x 119 0x8000000 -astype 0 -ieee 1 -def _PGI_NOBUILTINS -def __STCL__ -def __PIC__ -x 122 0x80 -x 119 0x20 -x 123 0x80000000 -x 123 4 -x 2 0x400 -x 8 0x8000000 -x 62 8 -x 120 0x200000 -x 62 8 -x 249 30 -opt 2 -inform warn -asm /tmp/pgcll-tmp-xJ8203/opencl-kernel-Nm8198-0-src-def.ll
: 256
Segmentation fault
clBuildProgram failed.
Error value = -11

I don't know why lead to this problem.

Any help is appreciated.
ZengFei.
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Sep 05, 2012 12:52 pm    Post subject: Reply with quote

Hi ZengFei,

It appears that the compiler can't put a temporary file the "/tmp" directory and this this is causing it to abnormally abort. Can you check if you have read/write permissions in "/tmp"?

In talking with one of our developers, he said you might also try upgrading to 12.8. They changed how some of the working directory mechanics work and might help in working around this permissions issue.

Hope this helps,
Mat
Back to top
View user's profile
IntoTheWind



Joined: 04 Sep 2012
Posts: 2

PostPosted: Thu Sep 06, 2012 6:44 pm    Post subject: Reply with quote

Hi Mat,

That really can do it! Is my "/tmp" directory not create.

Thanks for the help!

cheers,
ZengFei.
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling 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