How to use multiprocessing in Liggghts 3.0.6

Submitted by ural on Tue, 12/23/2014 - 12:30

Hello, can you give me any info about how to use multiprocessing in Liggghts 3.0.6? i mean, usually in 3.0.2 i was using mpirun for 4 my procs and it worked well! and after the installation of the new version, it does not work anymore... is something changed? Thanks for your answers!

richti83's picture

richti83 | Tue, 12/23/2014 - 16:49

this happens normely when the mpicxx wrapper is different from the mpirun type (e.g. mpich2 and openmpi)
check:

mpirun -version
mpirun (Open MPI) 1.7.3

and

which mpicxx
/usr/lib64/openmpi/bin/mpicxx

Then both are openmpi, but, especial on ubuntu, sometimes the mpi-package installs mpirun.mpich2 and symlinks mpirun to it. (this can happen during package update or by installing a program which depends on mpich2) this conflicts with a OF/ThirdParty openmpi installation, so you should symlink mpirun back to third party.

Best,
Christian.

I'm not an associate of DCS GmbH and not a core developer of LIGGGHTS®
ResearchGate | Contact

ural | Tue, 01/20/2015 - 05:35

Thanks for your help Christian!