Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions source/lmp/Install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,17 @@ action() {
fi
}

if (test $1 = 1); then
if (test ! -e ../pppm.cpp); then
echo "Must install KSPACE package with USER-DEEPMD package"
exit 1
fi
if (test ! -e ../fix_ttm.cpp); then
echo "Must install EXTRA-FIX package with USER-DEEPMD package"
exit 1
fi
fi

# all package files with no dependencies

for file in *.cpp *.h; do
Expand Down