The installation did complain that it is not able to find 32-bit compiler, but i don’t need it, so i didn’t install it, and it continued to a successful end, once i said ok.
The Linux downloads of PGI compilers, other than the CDK, are strictly
32-bit only or 64-only. If you downloaded the PGI workstation product,
and it complained that you do not have 32-bit compilers, would suggest you
tried to install the 32-only product.
pgilinux-2016-163-x86_64.tar.gz (the 64-bit product).
pgilinux-2016-163-x86.tar.gz ( the 32-bit product)
pgicdk-163.tar.gz (both 32-bit and 64-bit products, if you have access to it)
so make sure you downloaded the 64-bit product, and are using the
64-bit product.
Add -m64 to your compile line to make sure you are using 64-bit compilers.