Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ jobs:
build_docker:
strategy:
matrix:
target: [gcc12_debug, gcc13, clang13, clang15, rocm6, rocm6_desul, intel2024, intel2024_debug, intel2024_sycl]
target: [gcc12_debug, gcc13, clang13, clang14_debug, clang15, rocm6, rocm6_desul, intel2024, intel2024_debug, intel2024_sycl]
runs-on: ubuntu-latest
steps:
- run: |
Expand Down
13 changes: 12 additions & 1 deletion .gitlab/jobs/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ gcc_10_3_1:
# https://github.com/LLNL/RAJA/pull/1712#issuecomment-2292006843
intel_2023_2_1:
variables:
SPEC: "${PROJECT_RUBY_VARIANTS} %intel@=2023.2.1 ${PROJECT_RUBY_DEPS}"
SPEC: "${PROJECT_RUBY_VARIANTS} %intel@=2023.2.1 cxxflags==\"-fp-model=precise\" ${PROJECT_RUBY_DEPS}"
extends: .job_on_ruby
allow_failure: true

Expand All @@ -59,3 +59,14 @@ clang_14_0_6_gcc_10_3_1_desul_atomics:
variables:
SPEC: " ~shared +openmp +tests +desul %clang@=14.0.6.gcc.10.3.1"
extends: .job_on_ruby

intel_2024_2_1:
variables:
SPEC: "${PROJECT_RUBY_VARIANTS} %intel@=2024.2.1 ${PROJECT_RUBY_DEPS}"
extends: .job_on_ruby
allow_failure: true

#intel_2024_2_1:
# variables:
# SPEC: "${PROJECT_RUBY_VARIANTS} %intel@=2024.2.1 cxxflags==\"-march=native -finline-functions -fp-model=precise\" ${PROJECT_RUBY_DEPS}"
# extends: .job_on_ruby
4 changes: 2 additions & 2 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ jobs:
docker_target: gcc12
gcc12_desul:
docker_target: gcc12_desul
clang14_debug:
docker_target: clang14_debug
## clang14_debug:
## docker_target: clang14_debug
clang15_desul:
docker_target: clang15_desul
pool:
Expand Down
4 changes: 2 additions & 2 deletions host-configs/lc-builds/toss4/icpx_X.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
set(RAJA_COMPILER "RAJA_COMPILER_ICC" CACHE STRING "")

##set(COMMON_FLAGS "--gcc-toolchain=/usr/tce/packages/gcc/gcc-10.3.1")
##set(COMMON_OPT_FLAGS "-march=native -finline-functions -fp-model=precise")
set(COMMON_OPT_FLAGS "-march=native -finline-functions")
set(COMMON_OPT_FLAGS "-march=native -finline-functions -fp-model=precise")
##set(COMMON_OPT_FLAGS "-march=native -finline-functions")

##set(CMAKE_CXX_FLAGS_RELEASE "${COMMON_FLAGS} -O3 ${COMMON_OPT_FLAGS}" CACHE STRING "")
##set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "${COMMON_FLAGS} -O3 -g ${COMMON_OPT_FLAGS}" CACHE STRING "")
Expand Down
31 changes: 28 additions & 3 deletions scripts/lc-builds/toss4_icpx.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,41 @@ module load cmake/3.23.1
# times at a potential cost of slower 'forall' execution.
##

source /usr/tce/packages/intel/intel-${COMP_VER}/setvars.sh
COMPILER_BIN_DIR="/usr/tce/packages/intel/intel-${COMP_VER}/bin"

if [[ ${COMP_VER} == 2024.2.1 ]]
then
COMPILER_BIN_DIR="/collab/usr/global/tools/intel/toss_4_x86_64_ib/oneapi-2024.2.1/2024.2/bin"
source /collab/usr/global/tools/intel/toss_4_x86_64_ib/oneapi-2024.2.1/setvars.sh
else
source /usr/tce/packages/intel/intel-${COMP_VER}/setvars.sh
fi

cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_CXX_COMPILER=/usr/tce/packages/intel/intel-${COMP_VER}/bin/icpx \
-DCMAKE_C_COMPILER=/usr/tce/packages/intel/intel-${COMP_VER}/bin/icx \
-DCMAKE_CXX_COMPILER=icpx \
-DCMAKE_C_COMPILER=icx \
-DBLT_CXX_STD=c++14 \
-C ../host-configs/lc-builds/toss4/icpx_X.cmake \
-DRAJA_ENABLE_FORCEINLINE_RECURSIVE=Off \
-DENABLE_OPENMP=On \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
..

if [[ ${COMP_VER} == 2024.2.1 ]]
then

echo
echo "***********************************************************************"
echo
echo "cd into directory build_${BUILD_SUFFIX} and run make to build RAJA"
echo
echo "To successfully build and run all tests, you may need to run the"
echo "command to make sure your environment is set up properly:"
echo
echo " source /collab/usr/global/tools/intel/toss_4_x86_64_ib/oneapi-2024.2.1/setvars.sh"
echo
echo "***********************************************************************"

fi
2 changes: 1 addition & 1 deletion scripts/radiuss-spack-configs
Loading