PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

Free OpenACC Webinar

cleaning up after signal (2)

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



Joined: 30 Jun 2011
Posts: 103

PostPosted: Wed Oct 17, 2012 9:25 am    Post subject: cleaning up after signal (2) Reply with quote

When I ran a compilation script with the option -Minline=levels:4 I got the follwing output. I am only showing the line that gave me a problem.

prc_brn2.c:
^Ccleaning up after signal(2)...
[james@james WEGtest_sing]$ gedit compile_sing_pgcc.sh
[james@james WEGtest_sing]$ gedit compile_sing_pgcc.sh


Now what does cleaning up after signal(2) mean?

The program hangs on the compilation of prc_brn2.c and I have to hit control-c to get out of the compilation. I do not know if the program is taking a long time or it is just hung. I hit control-c to end compilation.

What coud be happeninig?

Thanks in advance.

Newport_j
Back to top
View user's profile
THX 1138



Joined: 30 Jun 2011
Posts: 103

PostPosted: Wed Oct 17, 2012 9:46 am    Post subject: Reply with quote

As a followup to the first post, when I reduce the number of levels the same thing happens until I get to levels:1 and then I get the following output.

PRC_BRN2:
97, Int_Src_Rays inlined, size=45, file IntSrcRays.c (33)
137, TRA_RAY2 inlined, size=165, file tra_ray2.c (35)
219, Accelerator region ignored
223, PRC_TYP2 inlined, size=138, file prc_typ2.c (44)
220, Accelerator restriction: function/procedure calls are not supported
Accelerator restriction: loop has multiple exits
311, Accelerator restriction: function/procedure calls are not supported
226, ZRO_RNG2 inlined, size=100, file zro_rng2.c (39)
180, Accelerator restriction: function/procedure calls are not supported
265, Accelerator restriction: function/procedure calls are not supported
PGC/x86 Linux 12.6-0: compilation completed with warnings

which of course puts me back in the same place as before. How do I fix this?

Thanks in advance.

Newport_j
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Oct 17, 2012 1:32 pm    Post subject: Reply with quote

Hi Newport_j,

Can you post the whole output from the compile? Signal 2 is the interrupt signal and typically occurs when a user hits Ctrl-C to terminate a process but could be coming from your shell script. I'd want to see the complete output to see if something else is going on.

- Mat
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