> --
> You received this message because you are subscribed to the Google Groups "PLUMED users" group.
> To post to this group, send email to plumed...@googlegroups.com.
> To unsubscribe from this group, send email to plumed-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/plumed-users?hl=en.
>
a trivial question, if you run the same lammps input without
plumed, does it work?
Fabio
--
____________________
CECAM Lausanne
homepage: http://sites.google.com/site/fabiopietrucci
I'm also using the latest version of LAMMPS with no problems.
I don't have the file helper_fns.c among the source files. A quick search on the web shows that it was part of the POEMS package in 2008. POEMS has then been unpdated and that file removed in the later releases. Can you double check which version of LAMMPS you have downloaded and patched? It's likely that PLUMED will not work with old versions of LAMMPS.
Cheers
Paolo
It works on my iMac, MacBook and on a few thousands cores cluster with the gcc and intel compilers (versions 4.6.0 and 10.1 respectively).
Did you try to run LAMMPS with the same configuration before patching it with PLUMED, i.e. as downloaded from the Sandia website? Does it work?
Cheers
Paolo
I have no experience with LAMMPS but it seems a problem with the
compiler optimization.
In call "MPI_Allgather(&meatoms,1,MPI_INT,my_atoms,1,MPI_INT,world);",
file fix_plumed.cpp,
meatoms and myatoms should have different addresses in memory, but
maybe the compiler is removing the temporary "meatoms=my_atoms[me]"
introduced two lines up.
You can try the following replacement:
MPI_Allgather(&meatoms,1,MPI_INT,my_atoms,1,MPI_INT,world);
into:
int *tmp=new int;
*tmp=meatoms;
MPI_Allgather(tmp,1,MPI_INT,my_atoms,1,MPI_INT,world);
delete tmp;
Let me know if it works,
Giovanni
Hey,Have you tried the example in .../plumed/tests/lammps/torsion ??Does it work?If it does work can you send us all the input files we need to reproduce the error?Cheers,Paolo