Running GPU programs with gcc.

Wei Huang whuang@univ-wea.com
Thu Nov 12 15:15:00 GMT 2015


Hello there,

Recently, I have followed the instruction:
http://scelementary.com/2015/04/25/openacc-in-gcc.html

but to install gcc 5.2.

we have used "yum" to upgrade lib: gomp, gmp, mpfr, and mpc, so they are all in current release.
We use cuda-toolkit 7.5.

The install is smooth, and compile the "pi.c" program successful.
But when I run the generated executable, it gives error:

libgomp: no device active

I tried googling, that did not give much help.

Anyone can help me here?

Thanks!

Wei Huang
whuang@univ-wea.com




More information about the Gcc-help mailing list