Commit 448c9c8d authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

add a dependency on PairEAM/MANYBODY for installing USER-ATC

parent 5e9d257e
Loading
Loading
Loading
Loading
+10 −0
Changes for src/USER-ATC/Install.sh: 10 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -26,6 +26,16 @@ action () {
  fi
}

# ATC library has a reference to PairEAM, so we must
# require the MANYBODY package to be installed.

if (test $1 = 1) then
  if (test ! -e ../pair_eam.cpp) then
    echo "Must install MANYBODY package with USER-ATC"
    exit 1
  fi
fi

# all package files with no dependencies

for file in *.cpp *.h; do