Dear Kevin,
You correctly identified the problem
from the second line of the output. MPI implementation executes 4
instances of ADDA independently, instead of linking them together.
And, yes, adda_mpi can definitely handle large particles in fixed
orientation (slicing the computational domain into several
processors) - it was explicitly designed for this.
So most probably, the problem can be
solved by changing the execution line (or some additional setting
of the MPI implementation). Some hints can be found at
https://github.com/adda-team/adda/wiki/InstallingMPI , but they
are necessarily vague, since the details of MPI implementation and
its installation can differ. Potentially, you may even need to use
a queue system (some examples are mentioned in Section 3.2
"Parallel mode" of the manual). However, this is typically needed
only for a distributed-memory cluster, while your virtual
workstation seems to have shared memory.
It is easier with some centrally
managed cluster (or supercomputer), since then you usually have
some engineer to consult with. Or at least you have a test
examples of running some sample MPI program. Replacing the program
executable with adda_mpi in the execution line should then work.
In your case, it seems that you manage your workstation yourself.
But even then, you have somehow installed the MPI implementation -
it should provide some trivial run example, which you can probably
reuse.
If aiming for a quick fix, I can
provide a few wild guesses from my experience of running adda_mpi
at various systems:
- try 'mpirun -np 4' instead of
'mpiexec -n 4' (although the latter is the standard one)
Another idea is to run 'adda_mpi -V'
and compare the used MPI implementation (during ADDA compilation)
to the one used for running. Sometimes a mismatch here can cause
problems, but this is probably relevant only for large clusters
where several MPI implementations are used (as modules).
If all fails, please provide more
details about the MPI implementation, test MPI runs (with another
programs), etc. By contrast, if you manage to run adda_mpi
properly, please also share your success, since it will benefit
other ADDA users.
Maxim.