Abinit uses small percentage of CPU  [SOLVED]

option, parallelism,...

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.
Locked
kojikoji
Posts: 5
Joined: Wed Sep 30, 2020 8:46 am

Abinit uses small percentage of CPU  [SOLVED]

Post by kojikoji » Thu Oct 22, 2020 2:45 am

Hello.
I run abinit and it uses only around 30% of CPU and 21% memory. I would like to use full percentage of it to speed up
calculation.

I appreciate any advice or cause of small % of CPU usage.
Attached is my configuration.
Attachments
myconfig.log
(4.12 KiB) Downloaded 416 times

User avatar
jbeuken
Posts: 365
Joined: Tue Aug 18, 2009 9:24 pm
Contact:

Re: Abinit uses small percentage of CPU

Post by jbeuken » Thu Oct 22, 2020 11:26 pm

Hi,

use OpenMP and/or use THREADS with atlas

jmb
------
Jean-Michel Beuken
Computer Scientist

kojikoji
Posts: 5
Joined: Wed Sep 30, 2020 8:46 am

Re: Abinit uses small percentage of CPU

Post by kojikoji » Mon Nov 02, 2020 9:51 am

Hello jbeuken,
Thank you for reply. I would use OpenMP with 12 threads options, that is,
mpirun abinit -c 12 < files_file

User avatar
jbeuken
Posts: 365
Joined: Tue Aug 18, 2009 9:24 pm
Contact:

Re: Abinit uses small percentage of CPU

Post by jbeuken » Mon Nov 02, 2020 2:49 pm

Hi,

there is a "syntax" error :

mpirun abinit -j 12 < files_file

Of course, don't forget to compile ABINIT with OMP support ( intel : -qopenmp , gnu : -fopenmp )

jmb
------
Jean-Michel Beuken
Computer Scientist

kojikoji
Posts: 5
Joined: Wed Sep 30, 2020 8:46 am

Re: Abinit uses small percentage of CPU

Post by kojikoji » Thu Nov 05, 2020 1:18 am

Hello jbeuken,

Thank you for correction. Now my cpu usage is around 100%.

Koji

Locked