Search found 12 matches

by DavidGutzwiller
Thu Nov 14, 2019 7:31 am
Forum: Accelerator Programming
Topic: PGI 19.4 and GCC 7.4.0, missing routine info for math functions
Replies: 2
Views: 15

Re: PGI 19.4 and GCC 7.4.0, missing routine info for math functions

Hi Mat,

Including accelmath.h should work, thanks for the sanity check.

Thanks,

-David
by DavidGutzwiller
Wed Nov 13, 2019 1:39 am
Forum: Accelerator Programming
Topic: PGI 19.4 and GCC 7.4.0, missing routine info for math functions
Replies: 2
Views: 15

PGI 19.4 and GCC 7.4.0, missing routine info for math functions

I am migrating from a build system with PGI19.4 + gcc 4.8.5 to one with PGI 19.4 + gcc 7.4.0 using a network installation. I have created a new localrc file in my home directory, and at first glance the gcc include directories look correct: pgc++ --dryrun test.cpp ... /common/pgi/linux86-64-llvm/19....
by DavidGutzwiller
Thu Oct 03, 2019 10:40 am
Forum: Accelerator Programming
Topic: Clarification on using OpenACC in a shared library
Replies: 11
Views: 299

Re: Clarification on using OpenACC in a shared library

Hi Brendt, Thanks for taking a look. Indeed, this makes me think there is something unusual in the way our build system works. For the time being I was able to refactor the code to get things working for what I need right now. I'll circle back to this in a few months once my current obligations are ...
by DavidGutzwiller
Wed Oct 02, 2019 9:41 am
Forum: Accelerator Programming
Topic: Clarification on using OpenACC in a shared library
Replies: 11
Views: 299

Re: Clarification on using OpenACC in a shared library

To be clear, the "ptxas fatal : Unresolved extern function" error occurs at compile time, not linking. This occurs due to the nordc flag, which is where I still am not quite clear. I have found that "nordc" is still mandatory to get any acc pragmas or API calls to work. From your earlier comments th...
by DavidGutzwiller
Tue Oct 01, 2019 12:41 pm
Forum: Accelerator Programming
Topic: Clarification on using OpenACC in a shared library
Replies: 11
Views: 299

Re: Clarification on using OpenACC in a shared library

I should also note that some of these routines are nested. For example: I have class A where the parallelism is exposed. Class A hosts a pointer to class B, which in turn calls a utility function implemented elsewhere. A system of create/attach methods offloads everything to the GPU and keeps the po...