Dear lammps-users
I was trying to compile lammps parallel version (lammps_stable_1feb14 release) with a modified pair_sw.cpp. Before compilation i copied modified pair_sw.cpp to src directory and replace the old one. I successfully compiled, and performed some test run also. After compilation i rechecked my modified source file (pair_sw.cpp) in src directory, it was replaced with old one which came with lammps bundle. I don’t know why it is happening ?.
Then i compiled a serial version , it was perfectly fine, the modified source code was not replaced by old one after compilation. Please comment over this issue.
Parallel-compilation
- cp modified pair_sw.cpp to src file and replaced the old one
- compiled the lammps with following bash script
#!/bin/bash
cd lib/atc
make -f Makefile.g++
cd …/awpmd
make -f Makefile.openmpi
cd …/colvars
make -f Makefile.g++
cd …/meam
make -f Makefile.gfortran
cd …/poems
make -f Makefile.g++
cd …/reax
make -f Makefile.gfortran
cd …/…/src
make yes-all no-kim no-gpu no-user-cuda g++
Regards
Anees