Page 1 of 1

"make multi" and "mpirun"?

Posted: Thu Aug 29, 2013 10:58 pm
by ljludwig
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

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

Posted: Fri Aug 30, 2013 2:14 pm
by Alain_Jacques
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

Re: "make multi" and "mpirun"?

Posted: Fri Aug 30, 2013 4:06 pm
by ljludwig
Thank you so much!! That indeed helps a lot!!