# Libraries for PGI Community Edition compiler

**URL:** <https://forums.developer.nvidia.com/t/libraries-for-pgi-community-edition-compiler/157249>\
**Category:** CUDA Developer Tools\
**Created:** [October 16, 2020, 1:58pm UTC](https://forums.developer.nvidia.com/t/libraries-for-pgi-community-edition-compiler/157249 "2020-10-16T13:58:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![afernandez](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@afernandez](https://forums.developer.nvidia.com/u/afernandez)\
**Post date:** [October 16, 2020, 1:58pm UTC](https://forums.developer.nvidia.com/t/libraries-for-pgi-community-edition-compiler/157249/1 "2020-10-16T13:58:44Z")

</div>

Hello,  
I’ve installed the PGI Community Edition compiler (20.9) with OpenACC capabilities. However, the compilation of one app is not finding 3 libraries: _nvhpcatm.so_, _nvcpumath.so_ & _nvc.so_. My guess is that they’re either part of the CUDA components or the interface included in the compiler, but I haven’t been able to find any info about the first two. I was wondering if anyone is familiar with any of these libraries or how they’re supposed to be built. Thanks.

---

<div class="post-metadata">

**Author:** ![wyphan](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/wyphan/32/17766_2.png) [@wyphan](https://forums.developer.nvidia.com/u/wyphan)\
**Post date:** [October 18, 2020, 7:55pm UTC](https://forums.developer.nvidia.com/t/libraries-for-pgi-community-edition-compiler/157249/2 "2020-10-18T19:55:07Z")

</div>

What OS/distribution are you using, and what architecture?  
If I remember correctly, `libnvhpcatm.so` is a shared library that implements C++11 atomic operations, and `libnvc.so` sounds like the runtime library for the HPC SDK C compiler `nvc`. Not sure about `libnvcpumath.so`. In any case, all three are bundled with the compiler.  
In my installation (Ubuntu 20.04 x86\_64). all three shared library files can be found in the following directory:  
`/opt/nvidia/hpc_sdk/Linux_x86_64/2020/compilers/lib`

---

<div class="post-metadata">

**Author:** ![afernandez](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@afernandez](https://forums.developer.nvidia.com/u/afernandez)\
**Post date:** [October 19, 2020, 1:48pm UTC](https://forums.developer.nvidia.com/t/libraries-for-pgi-community-edition-compiler/157249/3 "2020-10-19T13:48:44Z")

</div>

> [@afernandez](#):
>
> nvhpcatm.so

Hi @wythan,  
I upgraded to Ubuntu 20.04 & reinstalled, and the libraries now appear at the lib subdirectory. Not sure why they weren’t showing up on Friday. Thanks.
