Hi Caap,
So, if i understood, running with “make jsolvec.exe OPT=”-ta:tesla:cc50 -Minfo=accel" it will run on my gtx?
The cc50 option will tell the compiler to target a Maxwell based device, including a GTX950.
I already tried that command before, but the result is a segmentation fault error, i dont know why…
Can you post more details such as the source you’re using, the output from the compilation, and the output from the run? That might help determining the problem.
everytime i run with -Minfo:accel option to get the messages, but only the first time i run the problem i get the messages, after that i just receive the result of the program;
The compiler feedback messages are only emitted during compilation. Hence, my guess is that you’re makefile isn’t rebuilding the binary and you’re just rerunning it.
Another problem is that when my pc starts, pgi is not recognized, i need to do this steps every time:
You need to include these commands in your shell start-up configuration file. The specifics depend upon what shell you’re using.
From section 4.2 Step 3 of the PGI Installation Guide:
Tip: You should add these commands to your shell startup files to ensure that you have access to the PGI products in future login sessions.
Also, if i run pgaccelinfo with sudo, i get “command not found”
sudo runs the command as root and uses roots environment. So this is not unexpected since the PGI install directory is probably not in root’s PATH.
-Mat