Compare commits

...

3 commits

Author SHA1 Message Date
Ole Schütt
0cbbc3ee3c Cut release version 2022.2 2022-10-04 14:51:06 +02:00
Ole Schütt
a95ec40337 Toolchain: Download all package from cp2k.org 2022-10-02 22:28:26 +02:00
Ole Schütt
71f6a37b34 Cut release version 2022.1 2022-07-08 22:23:24 +02:00
9 changed files with 11 additions and 17 deletions

1
REVISION Normal file
View file

@ -0,0 +1 @@
git:a95ec40

View file

@ -38,7 +38,7 @@ MODULE cp2k_info
#endif
! The cp2k_version string should be changed for release branches.
CHARACTER(LEN=*), PARAMETER :: cp2k_version = "CP2K development version"
CHARACTER(LEN=*), PARAMETER :: cp2k_version = "CP2K version 2022.2"
CHARACTER(LEN=*), PARAMETER :: cp2k_year = "2022"
CHARACTER(LEN=*), PARAMETER :: cp2k_home = "https://www.cp2k.org/"

View file

@ -22,10 +22,10 @@ case "${with_cmake}" in
echo "==================== Installing CMake ===================="
cmake_ver="3.22.1"
if [ "${OPENBLAS_ARCH}" = "arm64" ]; then
cmake_arch="Linux-aarch64"
cmake_arch="linux-aarch64"
cmake_sha256="ff886c6c16be867229a6c1fe4bc963ff77ae24187d5a8d64ef72a06f84c1a25c"
elif [ "${OPENBLAS_ARCH}" = "x86_64" ]; then
cmake_arch="Linux-x86_64"
cmake_arch="linux-x86_64"
cmake_sha256="808a712bcb039fd71f6960dca82a9befb977d8bdb074718218cf7646fd08bb7a"
else
report_error ${LINENO} \
@ -41,7 +41,7 @@ case "${with_cmake}" in
echo "cmake-${cmake_ver}-${cmake_arch}.sh is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${cmake_sha256} \
https://github.com/Kitware/CMake/releases/download/v${cmake_ver}/cmake-${cmake_ver}-${cmake_arch}.sh
"https://www.cp2k.org/static/downloads/cmake-${cmake_ver}-${cmake_arch}.sh"
fi
echo "Installing from scratch into ${pkg_install_dir}"
mkdir -p ${pkg_install_dir}

View file

@ -35,8 +35,7 @@ case "$with_cosma" in
echo "COSMA-v${cosma_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${cosma_sha256} \
"https://github.com/eth-cscs/COSMA/releases/download/v${cosma_ver}/COSMA-v${cosma_ver}.tar.gz" \
-o COSMA-v${cosma_ver}.tar.gz
"https://www.cp2k.org/static/downloads/COSMA-v${cosma_ver}.tar.gz"
fi
echo "Installing from scratch into ${pkg_install_dir}"
[ -d COSMA-${cosma_ver} ] && rm -rf COSMA-${cosma_ver}

View file

@ -36,7 +36,7 @@ case "$with_plumed" in
echo "${plumed_pkg} is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${plumed_sha256} \
"https://github.com/plumed/plumed2/releases/download/v${plumed_ver}/${plumed_pkg}"
"https://www.cp2k.org/static/downloads/${plumed_pkg}"
fi
[ -d plumed-${plumed_ver} ] && rm -rf plumed-${plumed_ver}

View file

@ -31,8 +31,7 @@ case "$with_spglib" in
echo "spglib-${spglib_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${spglib_sha256} \
https://github.com/atztogo/spglib/archive/v${spglib_ver}.tar.gz \
-o spglib-${spglib_ver}.tar.gz
"https://www.cp2k.org/static/downloads/spglib-${spglib_ver}.tar.gz"
fi
echo "Installing from scratch into ${pkg_install_dir}"

View file

@ -95,8 +95,7 @@ case "$with_sirius" in
echo "sirius_${sirius_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${sirius_sha256} \
"https://github.com/electronic-structure/SIRIUS/archive/v${sirius_ver}.tar.gz" \
-o SIRIUS-${sirius_ver}.tar.gz
"https://www.cp2k.org/static/downloads/SIRIUS-${sirius_ver}.tar.gz"
fi
echo "Installing from scratch into ${pkg_install_dir}"

View file

@ -31,9 +31,7 @@ case "${with_spfft}" in
echo "SpFFT-${spfft_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${spfft_sha256} \
"https://github.com/eth-cscs/SpFFT/archive/v${spfft_ver}.tar.gz" \
-o SpFFT-${spfft_ver}.tar.gz
"https://www.cp2k.org/static/downloads/SpFFT-${spfft_ver}.tar.gz"
fi
if [ "${MATH_MODE}" = "mkl" ]; then
EXTRA_CMAKE_FLAGS="-DSPFFT_MKL=ON -DSPFFT_FFTW_LIB=MKL"

View file

@ -31,9 +31,7 @@ case "${with_spla}" in
echo "SpLA-${spla_ver}.tar.gz is found"
else
download_pkg ${DOWNLOADER_FLAGS} ${spla_sha256} \
"https://github.com/eth-cscs/Spla/archive/v${spla_ver}.tar.gz" \
-o SpLA-${spla_ver}.tar.gz
"https://www.cp2k.org/static/downloads/SpLA-${spla_ver}.tar.gz"
fi
echo "Installing from scratch into ${pkg_install_dir}"
[ -d SpLA-${spla_ver} ] && rm -rf SpLA-${spla_ver}