"make multi" and "mpirun"?  [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
ljludwig
Posts: 77
Joined: Fri Jun 08, 2012 5:19 am

"make multi" and "mpirun"?

Post by ljludwig » Thu Aug 29, 2013 10:58 pm

Dear All:

Maybe it is a dumb question... But I'm eager to see the answer:

when compiling Abinit, it needs #make multi_nprocs=N,
when running Abinit, it needs mpiexec or mpirun, which needs to specify the number of cores, say M.

Does the two have to be the same value (N==M)? Or they are simply irrelevant issues?

Thank you very much for clarification!!

-L

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: "make multi" and "mpirun"?  [SOLVED]

Post by Alain_Jacques » Fri Aug 30, 2013 2:14 pm

There is no such a thing as a dumb question :-) No correlation between N and M ... N defines the number of parallel tasks to compile (some parts of) Abinit i.e. how many concurrent fortran/link/... are invoked, and M is the number of cores invoked at runtime. In other words Abinit executable doesn't "remember" N to manage parallelization at runtime.

Kind regards,

Alain

ljludwig
Posts: 77
Joined: Fri Jun 08, 2012 5:19 am

Re: "make multi" and "mpirun"?

Post by ljludwig » Fri Aug 30, 2013 4:06 pm

Thank you so much!! That indeed helps a lot!!

Locked