mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-27 21:55:16 -04:00
Fix (stabilize) Gromacs test
This commit is contained in:
parent
d657d38fd2
commit
64419ea128
1 changed files with 6 additions and 6 deletions
|
|
@ -15,16 +15,16 @@ apt-get update -qq
|
|||
apt-get install -qq --no-install-recommends git
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
||||
echo -e "\n========== Building Gromacs =========="
|
||||
echo -n "Cloning Gromacs repository... "
|
||||
git clone --quiet --depth=1 --single-branch -b main https://gitlab.com/gromacs/gromacs.git /opt/gromacs
|
||||
echo "done."
|
||||
echo -e "\n========== Building Gromacs v2025.2 =========="
|
||||
echo -n "Cloning Gromacs repository ... "
|
||||
git clone --quiet --depth=1 --single-branch -b v2025.2 https://gitlab.com/gromacs/gromacs.git /opt/gromacs
|
||||
echo "done"
|
||||
cd /opt/gromacs/
|
||||
GROMACS_REVISION=$(git rev-parse --short HEAD)
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
echo -n "Configuring Gromacs... "
|
||||
echo -n "Configuring Gromacs ... "
|
||||
if cmake .. \
|
||||
-DGMX_BUILD_OWN_FFTW=ON \
|
||||
-DBUILD_SHARED_LIBS=OFF \
|
||||
|
|
@ -33,7 +33,7 @@ if cmake .. \
|
|||
-DGMX_CP2K=ON \
|
||||
-DCP2K_DIR="/opt/cp2k/lib/" \
|
||||
&> gromacs_cmake.out; then
|
||||
echo "done."
|
||||
echo "done"
|
||||
else
|
||||
echo -e "failed.\n\n"
|
||||
tail -n 100 gromacs_cmake.out
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue