From 3c3529152c67c065f4dfbc6f21c7382309e29345 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Mon, 2 Nov 2009 22:17:06 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3299 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/ASPHERE/Install.csh | 7 +++++++ src/KSPACE/Install.csh | 7 +++++++ src/MANYBODY/Install.csh | 7 +++++++ 3 files changed, 21 insertions(+) diff --git a/src/ASPHERE/Install.csh b/src/ASPHERE/Install.csh index 04891b0da5..e2721ee724 100644 --- a/src/ASPHERE/Install.csh +++ b/src/ASPHERE/Install.csh @@ -1,4 +1,7 @@ # Install/unInstall package classes in LAMMPS +# for unInstall, also unInstall/Install GPU package if installed +# so it will remove GPU files that depend on ASPHERE files, +# then replace others if ($1 == 1) then @@ -45,4 +48,8 @@ else if ($1 == 0) then rm ../pair_gayberne.h rm ../pair_resquared.h + if (! -z ../style_gpu.h) then + cd ../GPU; csh -f Install.csh 0; csh -f Install.csh 1 + endif + endif diff --git a/src/KSPACE/Install.csh b/src/KSPACE/Install.csh index 386313e981..72d9afd96a 100644 --- a/src/KSPACE/Install.csh +++ b/src/KSPACE/Install.csh @@ -1,4 +1,7 @@ # Install/unInstall package classes in LAMMPS +# for unInstall, also unInstall/Install OPT package if installed +# so it will remove OPT files that depend on KSPACE files, +# then replace others if ($1 == 1) then @@ -65,4 +68,8 @@ else if ($1 == 0) then rm ../remap.h rm ../remap_wrap.h + if (! -z ../style_opt.h) then + cd ../OPT; csh -f Install.csh 0; csh -f Install.csh 1 + endif + endif diff --git a/src/MANYBODY/Install.csh b/src/MANYBODY/Install.csh index 3857346082..9efda4958f 100644 --- a/src/MANYBODY/Install.csh +++ b/src/MANYBODY/Install.csh @@ -1,4 +1,7 @@ # Install/unInstall package classes in LAMMPS +# for unInstall, also unInstall/Install OPT package if installed +# so it will remove OPT files that depend on MANYBODY files, +# then replace others if ($1 == 1) then @@ -41,4 +44,8 @@ else if ($1 == 0) then rm ../pair_tersoff.h rm ../pair_tersoff_zbl.h + if (! -z ../style_opt.h) then + cd ../OPT; csh -f Install.csh 0; csh -f Install.csh 1 + endif + endif