Dear Sir/Madam,
I have just started to use PLUMED for my simulation but I got stuck during compilation. Previously, I can successfully compile the lmp_serial with the SMD package. However, I cannot compile lammps successfully even I followed the manual and the readme file. I got a bunch or error messages.
In the manual, it said:
==============================
1. tar xvf lamps-15Jan10.tar
2. cd lammps-15Jan10
3. Edit ./src/MAKE/Makefile.openmpi to suit your machine.
4. export plumedir=PLUMED_root
5. cp $plumedir/patches/plumedpatch_lammps_15-01-2010.sh ./
6. Edit ./plumdpatch_lammps_15-01-2010.sh to set myarch to openmpi
7. ./plumedpatch_lammps_15-01-2010.sh –patch
8. cd src
9. make openmpi
==============================
In step 1, I don’t know how to edit the makefile.openmpi to suit my machine. However, in step 4, I have set myarch to openmpi and I can successfully run the command in step 5. The folder “USER-PLUMED” was successfully built in ~/lamps-15Jan10/src/. However, when I type “make openmpi”, there are lots of errors. Would you mind telling me how to edit the makefile.openmpi in a bit detail? Any comments from you are greatly appreciated.
Thank you very much for your attention. I am looking forward to your reply.
Best regards,
Denvid
=================================================
Denvid Lau
Ph.D. Candidate
Department of Civil and Environmental Engineering
Massachusetts Institute of Technology
77 Massachusetts Avenue
Cambridge MA 02139
Phone: 617-715-4204
http://web.mit.edu/istgroup/ist/people/denvid.htm
=================================================
you have to substitute PLUMED_root with the directory in which you have plumedexport plumedir=PLUMED_root
--
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.
Your makefile that is working and the one that plumed patched are totally different.
Before patching LAMMPS you have to modify the plumedpatch_lammps_8-12-2009.sh file and change the variable myarch to the appropriate value.
The examples in the PLUMED distribution works in case you compile LAMMPS with the command "make openmpi" and therefore PLUMED seeks for Makefile.openmpi. However, if you compile LAMMPS with "make linux"
you have to change myarch inside plumedpatch_lammps_8-12-2009.sh to linux otherwise PLUMED will patch the wrong file.
Hope it helps
Paolo
what I fing strange is the first error you get, which is
0] MPI Abort by user Aborting program !
It sounds like there is something not working in the mpi version you are using.
note that the command that launch it is in the script
( ${lammps_prefix} < ${input_file} > std_out )
does this work ?
In order to know this you can add two lines to the command above in do_regtest_lammps.sh
which are
pwd
echo "${lammps_prefix} < ${input_file} > std_out "
( ${lammps_prefix} < ${input_file} > std_out )
then you can enter the directory given by pwd and try to run yourself the command and single out why this is not working.
Please note that some MPI distributions require a daemon running on your machine (orted?). Make sure that
it is running otherwise your program won't run as well.
Hope this may help!
Davide
**************************************************************
Davide Branduardi
Post Doc- Computational Chemistry
Drug Discovery and Development
ISTITUTO ITALIANO DI TECNOLOGIA
Via Morego 30, 16163 - Genova, Italy
Phone: +39 010 71781573 Room: 1/27
Fax: +39 010 7170187
e-mail:
davide.b...@iit.it
davide.b...@gmail.com
> To unsubscribe from this group, send email to plumed-users...@googlegroups.com.
--
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.