PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

PGF90 inline problem

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming
View previous topic :: View next topic  
Author Message
Alexey A. Romanenko



Joined: 17 Feb 2012
Posts: 31

PostPosted: Wed Mar 27, 2013 3:19 am    Post subject: PGF90 inline problem Reply with quote

Hi Mat,

I tried to inline some function with -Minline=XXXX key.
Compiler reported
Code:
PGF90-S-0274-Unable to access file XXXX/TOC

and, I suppose, didn't inline XXXX subroutine.

What does this message means?

Alexey
Back to top
View user's profile
mkcolg



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

PostPosted: Wed Mar 27, 2013 10:02 am    Post subject: Reply with quote

Hi Alexey,

Quote:
PGF90-S-0274-Unable to access file XXXX/TOC
This is the error you get when trying to use an non-existent inline library. Though, you should only see it if you're using the "lib" sub-option. What's the exact -Minline flag being used?

For example:
Code:

% pgf90 -o a a.f90 -Minfo=inline -Minline=lib:foo
PGF90-S-0274-Unable to access file foo/TOC


- Mat
Back to top
View user's profile
Alexey A. Romanenko



Joined: 17 Feb 2012
Posts: 31

PostPosted: Wed Mar 27, 2013 9:28 pm    Post subject: Reply with quote

Hi Mat,


XXXX subroutine is not in extern library or what. It is located in the same module as routine, say YYYY, which has 'call XXXX()'.

I sent my example to trs@pgroupp[dot]com

Alexey
Back to top
View user's profile
mkcolg



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

PostPosted: Thu Mar 28, 2013 8:17 am    Post subject: Reply with quote

Hi Alexey,

Wow, that's an odd one. It seems to be a new bug in 13.3 where a number in the function name is causing the driver to parse it as a library name. I've reported it as TPR#19240. The work around would be to add the "name" sub-option before the function name. For example: -Minline=name:foo3

Thanks,
Mat
Back to top
View user's profile
Alexey A. Romanenko



Joined: 17 Feb 2012
Posts: 31

PostPosted: Thu Mar 28, 2013 6:25 pm    Post subject: Reply with quote

Thanks Mat!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Accelerator Programming 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 © 2001, 2002 phpBB Group