From 6bd7fbf86c0cce82a29839dfaad27c7e861dea68 Mon Sep 17 00:00:00 2001 From: Alireza Kheirkhahan Date: Thu, 19 Oct 2023 14:03:04 -0500 Subject: [PATCH] Update LSU Jenkins with 2023-10 libraries --- .jenkins/lsu/Jenkinsfile | 2 +- .jenkins/lsu/env-clang-15.sh | 2 +- .jenkins/lsu/env-clang-16.sh | 42 +++++++++++++++++++ .jenkins/lsu/env-clang-17.sh | 42 +++++++++++++++++++ ...cc-10-cuda-11.sh => env-gcc-12-cuda-12.sh} | 6 +-- .jenkins/lsu/env-gcc-12.sh | 2 +- ...da-12-dgx.sh => env-gcc-13-cuda-12-dgx.sh} | 4 +- .jenkins/lsu/env-gcc-13.sh | 2 +- 8 files changed, 93 insertions(+), 9 deletions(-) create mode 100644 .jenkins/lsu/env-clang-16.sh create mode 100644 .jenkins/lsu/env-clang-17.sh rename .jenkins/lsu/{env-gcc-10-cuda-11.sh => env-gcc-12-cuda-12.sh} (91%) rename .jenkins/lsu/{env-gcc-12-cuda-12-dgx.sh => env-gcc-13-cuda-12-dgx.sh} (94%) diff --git a/.jenkins/lsu/Jenkinsfile b/.jenkins/lsu/Jenkinsfile index 53a8a94398f6..5fed445647ff 100644 --- a/.jenkins/lsu/Jenkinsfile +++ b/.jenkins/lsu/Jenkinsfile @@ -36,7 +36,7 @@ pipeline { axes { axis { name 'configuration_name' - values 'gcc-10', 'gcc-11', 'gcc-12', 'gcc-13', 'clang-12', 'clang-13', 'clang-14', 'clang-15', 'gcc-10-cuda-11', 'gcc-12-cuda-12-dgx', 'hipcc' + values 'gcc-10', 'gcc-11', 'gcc-12', 'gcc-13', 'clang-12', 'clang-13', 'clang-14', 'clang-15', 'clang-16', 'clang-17','gcc-12-cuda-12', 'gcc-13-cuda-12-dgx', 'hipcc' } axis { name 'build_type' diff --git a/.jenkins/lsu/env-clang-15.sh b/.jenkins/lsu/env-clang-15.sh index ccb1e962fd0b..b92c378bd2ce 100644 --- a/.jenkins/lsu/env-clang-15.sh +++ b/.jenkins/lsu/env-clang-15.sh @@ -7,7 +7,7 @@ module purge module load cmake module load llvm/15 -module load boost/1.82.0-${build_type,,} +module load boost/1.81.0-${build_type,,} module load hwloc module load openmpi module load pwrapi/1.1.1 diff --git a/.jenkins/lsu/env-clang-16.sh b/.jenkins/lsu/env-clang-16.sh new file mode 100644 index 000000000000..c1cf84333a6d --- /dev/null +++ b/.jenkins/lsu/env-clang-16.sh @@ -0,0 +1,42 @@ +# Copyright (c) 2020 ETH Zurich +# +# SPDX-License-Identifier: BSL-1.0 +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +module purge +module load cmake +module load llvm/16 +module load boost/1.82.0-${build_type,,} +module load hwloc +module load openmpi +module load pwrapi/1.1.1 + +export HPXRUN_RUNWRAPPER=srun +export CXX_STD="20" +export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH + +configure_extra_options+=" -DCMAKE_BUILD_TYPE=${build_type}" +configure_extra_options+=" -DHPX_WITH_CXX_STANDARD=${CXX_STD}" +configure_extra_options+=" -DHPX_WITH_MALLOC=system" +configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON" +configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON" +configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS_AS_ERRORS=ON" +configure_extra_options+=" -DHPX_WITH_PARCELPORT_MPI=ON" +configure_extra_options+=" -DHPX_WITH_PARCELPORT_LCI=ON" +configure_extra_options+=" -DHPX_WITH_FETCH_LCI=ON" +configure_extra_options+=" -DHPX_WITH_PARCELPORT_GASNET=ON" +configure_extra_options+=" -DHPX_WITH_FETCH_GASNET=ON" +configure_extra_options+=" -DCMAKE_C_COMPILER=clang" +configure_extra_options+=" -DCMAKE_C_FLAGS=-fPIC" +configure_extra_options+=" -DHPX_WITH_PARCELPORT_GASNET_CONDUIT=smp" +configure_extra_options+=" -DHPX_WITH_LOGGING=OFF" +configure_extra_options+=" -DHPX_WITH_DATAPAR_BACKEND=EVE" +configure_extra_options+=" -DHPX_WITH_FETCH_EVE=ON" + +# The pwrapi library still needs to be set up properly on rostam +# configure_extra_options+=" -DHPX_WITH_POWER_COUNTER=ON" + +# Make sure HWLOC does not report 'cores'. This is purely an option to enable +# testing the topology code under conditions close to those on FreeBSD. +configure_extra_options+=" -DHPX_TOPOLOGY_WITH_ADDITIONAL_HWLOC_TESTING=ON" diff --git a/.jenkins/lsu/env-clang-17.sh b/.jenkins/lsu/env-clang-17.sh new file mode 100644 index 000000000000..fc0a9d8eee59 --- /dev/null +++ b/.jenkins/lsu/env-clang-17.sh @@ -0,0 +1,42 @@ +# Copyright (c) 2020 ETH Zurich +# +# SPDX-License-Identifier: BSL-1.0 +# Distributed under the Boost Software License, Version 1.0. (See accompanying +# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) + +module purge +module load cmake +module load llvm/17 +module load boost/1.83.0-${build_type,,} +module load hwloc +module load openmpi +module load pwrapi/1.1.1 + +export HPXRUN_RUNWRAPPER=srun +export CXX_STD="20" +export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH + +configure_extra_options+=" -DCMAKE_BUILD_TYPE=${build_type}" +configure_extra_options+=" -DHPX_WITH_CXX_STANDARD=${CXX_STD}" +configure_extra_options+=" -DHPX_WITH_MALLOC=system" +configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON" +configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON" +configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS_AS_ERRORS=ON" +configure_extra_options+=" -DHPX_WITH_PARCELPORT_MPI=ON" +configure_extra_options+=" -DHPX_WITH_PARCELPORT_LCI=ON" +configure_extra_options+=" -DHPX_WITH_FETCH_LCI=ON" +configure_extra_options+=" -DHPX_WITH_PARCELPORT_GASNET=ON" +configure_extra_options+=" -DHPX_WITH_FETCH_GASNET=ON" +configure_extra_options+=" -DCMAKE_C_COMPILER=clang" +configure_extra_options+=" -DCMAKE_C_FLAGS=-fPIC" +configure_extra_options+=" -DHPX_WITH_PARCELPORT_GASNET_CONDUIT=smp" +configure_extra_options+=" -DHPX_WITH_LOGGING=OFF" +configure_extra_options+=" -DHPX_WITH_DATAPAR_BACKEND=EVE" +configure_extra_options+=" -DHPX_WITH_FETCH_EVE=ON" + +# The pwrapi library still needs to be set up properly on rostam +# configure_extra_options+=" -DHPX_WITH_POWER_COUNTER=ON" + +# Make sure HWLOC does not report 'cores'. This is purely an option to enable +# testing the topology code under conditions close to those on FreeBSD. +configure_extra_options+=" -DHPX_TOPOLOGY_WITH_ADDITIONAL_HWLOC_TESTING=ON" diff --git a/.jenkins/lsu/env-gcc-10-cuda-11.sh b/.jenkins/lsu/env-gcc-12-cuda-12.sh similarity index 91% rename from .jenkins/lsu/env-gcc-10-cuda-11.sh rename to .jenkins/lsu/env-gcc-12-cuda-12.sh index 78695b5827bf..5cee91dd586d 100644 --- a/.jenkins/lsu/env-gcc-10-cuda-11.sh +++ b/.jenkins/lsu/env-gcc-12-cuda-12.sh @@ -6,10 +6,10 @@ module purge module load cmake -module load gcc/10 -module load boost/1.75.0-${build_type,,} +module load gcc/12 +module load boost/1.82.0-${build_type,,} module load hwloc -module load cuda/11.5 +module load cuda/12 module load openmpi export CXX_STD="17" diff --git a/.jenkins/lsu/env-gcc-12.sh b/.jenkins/lsu/env-gcc-12.sh index 1ae1a867f932..80b5c4a9df10 100644 --- a/.jenkins/lsu/env-gcc-12.sh +++ b/.jenkins/lsu/env-gcc-12.sh @@ -7,7 +7,7 @@ module purge module load cmake module load gcc/12 -module load boost/1.80.0-${build_type,,} +module load boost/1.81.0-${build_type,,} module load hwloc module load openmpi module load pwrapi/1.1.1 diff --git a/.jenkins/lsu/env-gcc-12-cuda-12-dgx.sh b/.jenkins/lsu/env-gcc-13-cuda-12-dgx.sh similarity index 94% rename from .jenkins/lsu/env-gcc-12-cuda-12-dgx.sh rename to .jenkins/lsu/env-gcc-13-cuda-12-dgx.sh index a7106cc261ae..f114b043e65d 100644 --- a/.jenkins/lsu/env-gcc-12-cuda-12-dgx.sh +++ b/.jenkins/lsu/env-gcc-13-cuda-12-dgx.sh @@ -6,9 +6,9 @@ module purge module load cmake -module load gcc/12 +module load gcc/13 module load cuda/12 -module load boost/1.81.0-${build_type,,} +module load boost/1.83.0-${build_type,,} module load hwloc export CXX_STD="17" diff --git a/.jenkins/lsu/env-gcc-13.sh b/.jenkins/lsu/env-gcc-13.sh index 1454588eec09..032c33b297a7 100644 --- a/.jenkins/lsu/env-gcc-13.sh +++ b/.jenkins/lsu/env-gcc-13.sh @@ -7,7 +7,7 @@ module purge module load cmake module load gcc/13 -module load boost/1.82.0-${build_type,,} +module load boost/1.83.0-${build_type,,} module load hwloc module load openmpi module load pwrapi/1.1.1