From 9465304c61172a108b52f1f6575ef69b98057ff7 Mon Sep 17 00:00:00 2001 From: edoapra Date: Wed, 12 Feb 2025 09:18:04 -0800 Subject: [PATCH 1/3] GA 5.9 --- src/tools/GNUmakefile | 2 +- src/tools/get-tools-github | 40 +++++++++++++++++++------------------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/src/tools/GNUmakefile b/src/tools/GNUmakefile index 5a72d78b2f..05a7251b40 100644 --- a/src/tools/GNUmakefile +++ b/src/tools/GNUmakefile @@ -618,7 +618,7 @@ ifdef USE_GAGITHUB GET_TOOLS=./get-tools-github ifdef USE_GA_RELEASE ifndef GA_RELEASE_NO - GA_RELEASE_NO=5.8.2 + GA_RELEASE_NO=5.9 endif GA_DIR=ga-$(GA_RELEASE_NO) else diff --git a/src/tools/get-tools-github b/src/tools/get-tools-github index 4735811aab..d298520095 100755 --- a/src/tools/get-tools-github +++ b/src/tools/get-tools-github @@ -76,8 +76,8 @@ TOOLGIT=`which git` CONFIG=$NWCHEM_TOP/src/config/makefile.h if test "x$DEV_GA" != x then - GA_DIR=ga-5.8.2 - GA_BRANCH=hotfix/5.8.2 + GA_DIR=ga-5.9 + GA_BRANCH=5.9 fi if test "x$GA_BRANCH" = x then @@ -87,7 +87,7 @@ if test "x$USE_GA_RELEASE" != x then if test "x$GA_RELEASE_NO" = x then - GA_RELEASE_NO=5.8.2 + GA_RELEASE_NO=5.9 fi GA_DIR=ga-"$GA_RELEASE_NO" if [ ! -f ga-"$GA_RELEASE_NO".tar.gz ]; then @@ -147,8 +147,8 @@ else GA_DIR=`echo $GA_DIR0 | sed -e 's/\//_/g'` fi else - GA_DIR=ga-5.8.2 - GA_BRANCH=hotfix/5.8.2 + GA_DIR=ga-5.9 + GA_BRANCH=5.9 fi fi if test "x$GA_URL" != x @@ -200,21 +200,21 @@ if [[ -z "${CC}" ]]; then CC=cc fi GOTMINGW64=` $CC -dM -E - /dev/null |grep MINGW64|cut -c21 ` -if [[ -d "ga-5.8.2" ]]; then - if [[ ! -f "ga-5.8.2/patched581" ]]; then - ./gamalloc_patch.sh $GA_DIR - ./peigstubs_patch.sh $GA_DIR - ./mpipr-too-many_patch.sh $GA_DIR - ./ga_ma_align_patch.sh $GA_DIR - ./scalapacki4_patch.sh $GA_DIR - ./ga_diag_seg_i4_patch.sh $GA_DIR - if [ $(uname -s) != "Darwin" ]; then - ./autoconf_patch.sh $GA_DIR - fi - echo patched - touch ga-5.8.2/patched581 - fi -fi +#if [[ -d "ga-5.9" ]]; then +# if [[ ! -f "ga-5.9/patched59" ]]; then +# ./gamalloc_patch.sh $GA_DIR +# ./peigstubs_patch.sh $GA_DIR +# ./mpipr-too-many_patch.sh $GA_DIR +# ./ga_ma_align_patch.sh $GA_DIR +# ./scalapacki4_patch.sh $GA_DIR +# ./ga_diag_seg_i4_patch.sh $GA_DIR +# if [ $(uname -s) != "Darwin" ]; then +# ./autoconf_patch.sh $GA_DIR +# fi +# echo patched +# touch ga-59/patched59 +# fi +#fi #if [ ! -z "$GOTMINGW64" ] #then #echo "CC" $CC From b3ba58b31d0fbe3185f67b0a3521625cb80709bd Mon Sep 17 00:00:00 2001 From: edoapra Date: Wed, 12 Feb 2025 17:18:11 -0800 Subject: [PATCH 2/3] patch to fix gcc-14 compilation --- src/tools/gasparse_patch.sh | 17 +++++++++++++++++ src/tools/get-tools-github | 22 +++++++--------------- 2 files changed, 24 insertions(+), 15 deletions(-) create mode 100755 src/tools/gasparse_patch.sh diff --git a/src/tools/gasparse_patch.sh b/src/tools/gasparse_patch.sh new file mode 100755 index 0000000000..f6ca72d661 --- /dev/null +++ b/src/tools/gasparse_patch.sh @@ -0,0 +1,17 @@ +#!/usr/bin/env bash +rm -f gasparse.patch +cat > gasparse.patch < /dev/null |grep MINGW64|cut -c21 ` -#if [[ -d "ga-5.9" ]]; then -# if [[ ! -f "ga-5.9/patched59" ]]; then -# ./gamalloc_patch.sh $GA_DIR -# ./peigstubs_patch.sh $GA_DIR -# ./mpipr-too-many_patch.sh $GA_DIR -# ./ga_ma_align_patch.sh $GA_DIR -# ./scalapacki4_patch.sh $GA_DIR -# ./ga_diag_seg_i4_patch.sh $GA_DIR -# if [ $(uname -s) != "Darwin" ]; then -# ./autoconf_patch.sh $GA_DIR -# fi -# echo patched -# touch ga-59/patched59 -# fi -#fi +if [[ -d "ga-5.9" ]]; then + if [[ ! -f "ga-5.9/patched59" ]]; then + ./gasparse_patch.sh $GA_DIR + echo patched + touch ga-59/patched59 + fi +fi #if [ ! -z "$GOTMINGW64" ] #then #echo "CC" $CC From aee89b5a17d53be24cf8600a3d45bbde0916ee0e Mon Sep 17 00:00:00 2001 From: edoapra Date: Wed, 12 Feb 2025 17:56:57 -0800 Subject: [PATCH 3/3] rocm 6.2.4 --- travis/build_env.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/travis/build_env.sh b/travis/build_env.sh index 106c65728c..2379590df8 100755 --- a/travis/build_env.sh +++ b/travis/build_env.sh @@ -267,7 +267,7 @@ if [[ "$os" == "Linux" ]]; then fi if [[ "$FC" == "amdflang" ]]; then $MYSUDO apt-get install -y wget gnupg2 coreutils dialog tzdata - rocm_version=5.6.1 + rocm_version=6.2.4 tries=0 ; until [ "$tries" -ge 10 ] ; do \ wget -q -O - https://repo.radeon.com/rocm/rocm.gpg.key | $MYSUDO apt-key add - \ && break ; \