diff --git a/src/GPU/Install.sh b/src/GPU/Install.sh index 3c918328ef..c171ff1519 100644 --- a/src/GPU/Install.sh +++ b/src/GPU/Install.sh @@ -51,6 +51,11 @@ include ..\/..\/lib\/gpu\/Makefile.lammps cp pair_table_gpu.h .. fi + if (test -e ../pair_born_coul_long.cpp) then + cp pair_born_coul_long_gpu.cpp .. + cp pair_born_coul_long_gpu.h .. + fi + if (test -e ../pair_buck.cpp) then cp pair_buck_gpu.cpp .. cp pair_buck_gpu.h .. @@ -132,7 +137,6 @@ include ..\/..\/lib\/gpu\/Makefile.lammps cp pair_lj_cut_coul_debye_gpu.cpp .. cp pair_born_gpu.cpp .. cp pair_born_coul_wolf_gpu.cpp .. - cp pair_born_coul_long_gpu.cpp .. cp pair_gauss_gpu.cpp .. cp fix_gpu.cpp .. @@ -147,7 +151,6 @@ include ..\/..\/lib\/gpu\/Makefile.lammps cp pair_lj_cut_coul_debye_gpu.h .. cp pair_born_gpu.h .. cp pair_born_coul_wolf_gpu.h .. - cp pair_born_coul_long_gpu.h .. cp pair_gauss_gpu.h .. cp fix_gpu.h .. diff --git a/src/GPU/Package.sh b/src/GPU/Package.sh index 3b4d4572f1..e62e0be8fd 100644 --- a/src/GPU/Package.sh +++ b/src/GPU/Package.sh @@ -63,6 +63,12 @@ for file in *.cpp *.h; do if (test $file = pair_colloid_gpu.h -a ! -e ../pair_colloid.cpp) then continue fi + if (test $file = pair_born_coul_long_gpu.cpp -a ! -e ../pair_born_coul_long.cpp) then + continue + fi + if (test $file = pair_born_coul_long_gpu.h -a ! -e ../pair_born_coul_long.cpp) then + continue + fi if (test $file = pair_buck_coul_long_gpu.cpp -a ! -e ../pair_buck_coul_long.cpp) then continue fi