Greetings,
I'm a sysadmin and recently I've just finished compiling the latest version of abinit (6.8.1) on one of our compute clusters. One of the worker nodes have some nVidia Tesla GPUs and I compiled with the '--enable-gpu' flag, as described in the documentation.
Now I would like to run a test or two in order to verify if my abinit installation is correctly linked to the CUDA libraries. I've ran some existing jobs and the results seem valid, but there was no load on the GPU units. I assume this is because that particular job did not make use of the GPU enabled code in abinit.
I looked in the documentation and online but I am not able to find a test that I can run that will exercise the part of abinit that has be optimzed to use GPUs.
Does anyone have any recommendations or suggestions?
Thanks a lot!
Andre
simple test to exercise GPU enabled code in abinit
Moderators: fgoudreault, mcote
Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Re: simple test to exercise GPU enabled code in abinit
GPU support is enabled for recursion. You can test it doing the following:
Test T in the 'paral' series also uses this part of Abinit.
Code: Select all
cd tests; make tests_v5 start=75 stop=76
Test T in the 'paral' series also uses this part of Abinit.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: simple test to exercise GPU enabled code in abinit
Hello Andre,
the test proposed by Pouillon is good but to appreciate the GPU
I would suggest to make another test.
After to have executed the test described (but only one):
make tests_v5 start=75 stop=75
you should copy locally the t75.in file (look in the ab.files for its location),
change the value of the variable ngfft (for example: ngfft 3*24 => 3*36 => 3*48 =>3*64),
add the line: "timopt -1"
Finally change the first line of the ab.files (to look at the modified t75.in)
To launch the tests: abinit <ab.files > logtest
NB1- To have an idea of the speedup you should compile abinit also without gpu and make the same tests.
NB2- In the standard ouput file the only reference to GPUs appears in the timing otherwise the reference in GPU will be only in the log file.
Regards,
Marco
the test proposed by Pouillon is good but to appreciate the GPU
I would suggest to make another test.
After to have executed the test described (but only one):
make tests_v5 start=75 stop=75
you should copy locally the t75.in file (look in the ab.files for its location),
change the value of the variable ngfft (for example: ngfft 3*24 => 3*36 => 3*48 =>3*64),
add the line: "timopt -1"
Finally change the first line of the ab.files (to look at the modified t75.in)
To launch the tests: abinit <ab.files > logtest
NB1- To have an idea of the speedup you should compile abinit also without gpu and make the same tests.
NB2- In the standard ouput file the only reference to GPUs appears in the timing otherwise the reference in GPU will be only in the log file.
Regards,
Marco
Marco Mancini
LUTH, Observatoire de Paris
5, place Jules Janssen
92190 MEUDON - FRANCE
LUTH, Observatoire de Paris
5, place Jules Janssen
92190 MEUDON - FRANCE