Skip to content
Snippets Groups Projects
Commit 8697cac6 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make QEQ package depend on MANYBODY

the qeq/fire style depends on pair style comb,
thus QEQ needs and explicit Install.sh file and
it has to depend on MANYBODY
parent 793260f2
No related branches found
No related tags found
No related merge requests found
...@@ -87,6 +87,7 @@ if (test $1 = "MANYBODY") then ...@@ -87,6 +87,7 @@ if (test $1 = "MANYBODY") then
depend GPU depend GPU
depend KOKKOS depend KOKKOS
depend OPT depend OPT
depend QEQ
depend USER-MISC depend USER-MISC
depend USER-OMP depend USER-OMP
fi fi
......
# Install/unInstall package files in LAMMPS
# mode = 0/1/2 for uninstall/install/update
# this is default Install.sh for all packages
# if package has an auxiliary library or a file with a dependency,
# then package dir has its own customized Install.sh
mode=$1
# enforce using portable C locale
LC_ALL=C
export LC_ALL
# arg1 = file, arg2 = file it depends on
action () {
if (test $mode = 0) then
rm -f ../$1
elif (! cmp -s $1 ../$1) then
if (test -z "$2" || test -e ../$2) then
cp $1 ..
if (test $mode = 2) then
echo " updating src/$1"
fi
fi
elif (test -n "$2") then
if (test ! -e ../$2) then
rm -f ../$1
fi
fi
}
# all package files with dependencies
action fix_qeq.cpp
action fix_qeq.h
action fix_qeq_dynamic.cpp
action fix_qeq_dynamic.h
action fix_qeq_fire.cpp pair_comb.h
action fix_qeq_fire.h pair_comb.h
action fix_qeq_point.cpp
action fix_qeq_point.h
action fix_qeq_shielded.cpp
action fix_qeq_shielded.h
action fix_qeq_slater.cpp
action fix_qeq_slater.h
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment