Skip to content

Commit dc65080

Browse files
committed
raja setup script
1 parent 8b49df5 commit dc65080

File tree

1 file changed

+7
-16
lines changed

1 file changed

+7
-16
lines changed

setup_raja_simd.sh

+7-16
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,9 @@
11
module load cmake
2-
git clone -b simd1 https://github.com/artv3/RAJA.git RAJA_SIMD1 &&
3-
cd RAJA_SIMD1 && git submodule init && git submodule update && mkdir build-intel && cd build-intel
4-
cmake -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc -DCMAKE_INSTALL_PREFIX:PATH=$(pwd) ../
5-
cd ../../
6-
7-
8-
9-
#git clone -b simd2 https://github.com/artv3/RAJA.git RAJA_SIMD2
10-
#git clone -b simd3 https://github.com/artv3/RAJA.git RAJA_SIMD3
11-
#git clone -b simd4 https://github.com/artv3/RAJA.git RAJA_SIMD4
12-
#git clone -b simd5 https://github.com/artv3/RAJA.git RAJA_SIMD5
13-
#git clone -b simd6 https://github.com/artv3/RAJA.git RAJA_SIMD6
14-
#git clone -b simd7 https://github.com/artv3/RAJA.git RAJA_SIMD7
15-
#git clone -b simd8 https://github.com/artv3/RAJA.git RAJA_SIMD8
16-
#git clone -b simd9 https://github.com/artv3/RAJA.git RAJA_SIMD9
17-
182

3+
for N in {1..9}
4+
do
5+
git clone -b simd${N} https://github.com/artv3/RAJA.git RAJA_SIMD${N}
6+
cd RAJA_SIMD${N} && git submodule init && git submodule update && mkdir build-intel
7+
cd build-intel && cmake -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc -DCMAKE_INSTALL_PREFIX:PATH=$(pwd) ../
8+
make -j && make install && cd ../../
9+
done

0 commit comments

Comments
 (0)