You are not logged in.
Hello everyone
I just got the OpenACC ToolKit, but I'm waiting for the licence.
I setup the PATH and MANPATH variables.
The the samples that came with the ToolKit, all in C, built and ran correctly using optirun (what's the licence for?)
I'm trying to compile some sample C++ code from one of the courses (matvec, dot, waxpby)... but I'm getting these errors.
$ make
pgc++ -fast -ta=tesla:managed -Minfo=accel main.cpp -o cg
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 162: error: the global
scope has no "acos"
using ::acos;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 181: error: the global
scope has no "asin"
using ::asin;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 240: error: the global
scope has no "ceil"
using ::ceil;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 278: error: the global
scope has no "cosh"
using ::cosh;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 335: error: the global
scope has no "floor"
using ::floor;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 354: error: the global
scope has no "fmod"
using ::fmod;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 375: error: the global
scope has no "frexp"
using ::frexp;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 394: error: the global
scope has no "ldexp"
using ::ldexp;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 451: error: the global
scope has no "modf"
using ::modf;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 519: error: the global
scope has no "sinh"
using ::sinh;
^
"/opt/pgi/linux86-64/16.7/include-gcc50/cmath", line 576: error: the global
scope has no "tanh"
using ::tanh;
^
11 errors detected in the compilation of "main.cpp".
make: *** [Makefile:5: all] Error 2
The thing is using it's own cmath library located in that path... algong with g++-5 (Arch's is 6.2).
The guide doesn't says anything about exporting ln(1) search paths or anything... nor Arch is supported for what matters...
Any ideas?
Offline