[gmx-users] Gromacs + Plumed parallel

nikolaev at spbau.ru nikolaev at spbau.ru
Fri Feb 3 15:01:18 CET 2017


Hello, everyone!

I have one problem with running gromacs with plumed using more than one
processor. When I install plumed, and patch gromacs with it, it writes
that everything is OK:
"""
You are patching in runtime mode
Be warned that when you will run MD you will use the PLUMED version
pointed at
by the PLUMED_KERNEL environment variable

PLUMED is compiled with MPI support so you can configure gromacs-5.1.2
with MPI """

But when I try to run smth like this:

/home/nikolaev_d/JACK/gromacs-5.1.2/build/bin/gmx_d mdrun -deffnm md_1 -v
-ntmpi 2 -ntomp 4 -plumed plumed.dat

There is an error:

"""
********** STACK DUMP **********
/home/nikolaev_d/JACK/lib/libplumedKernel.so(_ZN4PLMD9Exception28abortIfExceptionsAreDisabledEv+0x3f)
[0x7f2ac72d72b9]
/home/nikolaev_d/JACK/lib/libplumedKernel.so(_ZN4PLMD9ExceptionC2ERKSsS2_jS2_+0x28)
[0x7f2ac72d7766]
/home/nikolaev_d/JACK/lib/libplumedKernel.so(_ZN4PLMD12Communicator8Set_commEPv+0x80)
[0x7f2ac72d3e8c]
/home/nikolaev_d/JACK/lib/libplumedKernel.so(_ZN4PLMD10PlumedMain3cmdERKSsPv+0x40b4)
[0x7f2ac7198bee]
/home/nikolaev_d/JACK/lib/libplumedKernel.so(plumedmain_cmd+0xed)
[0x7f2ac71a0ea7]
/home/nikolaev_d/JACK/gromacs-5.1.2/build/bin/gmx_d(do_md+0x254e) [0x41b62e]
/home/nikolaev_d/JACK/gromacs-5.1.2/build/bin/gmx_d(mdrunner+0x19e7)
[0x433607]
/home/nikolaev_d/JACK/gromacs-5.1.2/build/bin/gmx_d() [0x433d54]
/home/nikolaev_d/JACK/gromacs-5.1.2/build/bin/../lib/libgromacs_d.so.1(+0xd45cb6)
[0x7f2b41e53cb6]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x80a4) [0x7f2b400e70a4]
/lib/x86_64-linux-gnu/libc.so.6(clone+0x6d) [0x7f2b3f36e62d]
******** END STACK DUMP ********

+++ Internal PLUMED error
+++ file Communicator.cpp, line 102
+++ message: assertion failed initialized(), you are trying to use an MPI
function, but MPI is not initialized
"""

However, when I try to run
/home/nikolaev_d/JACK/gromacs-5.1.2/build/bin/gmx_d mdrun -deffnm md_1 -v
-ntmpi 1 -ntomp 1 -plumed plumed.dat

everything works fine.

What's the problem? I've read that it might be the incompatibility of some
some parallelization parameters. But I tried to install gromacs in
different ways. In the last time I used:

cmake .. -DGMX_BUILD_OWN_FFTW=ON -DGMX_GPU=OFF -DGMX_DOUBLE=ON
-DCMAKE_INSTALL_PREFIX=/home/nikolaev_d/JACK for that.

Here I attach the config.log and the Makefile.conf of the PLUMED..

Thank you in advace,
Dmitrii.




More information about the gromacs.org_gmx-users mailing list