Running GPU programs with gcc.

Wei Huang
Thu Nov 12 15:15:00 GMT 2015

Hello there,

Recently, I have followed the instruction:

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?


Wei Huang

More information about the Gcc-help mailing list