Skip to content

Commit

Permalink
raja setup script
Browse files Browse the repository at this point in the history
  • Loading branch information
artv3 committed Mar 14, 2018
1 parent 8b49df5 commit dc65080
Showing 1 changed file with 7 additions and 16 deletions.
23 changes: 7 additions & 16 deletions setup_raja_simd.sh
Original file line number Diff line number Diff line change
@@ -1,18 +1,9 @@
module load cmake
git clone -b simd1 https://github.com/artv3/RAJA.git RAJA_SIMD1 &&
cd RAJA_SIMD1 && git submodule init && git submodule update && mkdir build-intel && cd build-intel
cmake -DCMAKE_CXX_COMPILER=icpc -DCMAKE_C_COMPILER=icc -DCMAKE_INSTALL_PREFIX:PATH=$(pwd) ../
cd ../../



#git clone -b simd2 https://github.com/artv3/RAJA.git RAJA_SIMD2
#git clone -b simd3 https://github.com/artv3/RAJA.git RAJA_SIMD3
#git clone -b simd4 https://github.com/artv3/RAJA.git RAJA_SIMD4
#git clone -b simd5 https://github.com/artv3/RAJA.git RAJA_SIMD5
#git clone -b simd6 https://github.com/artv3/RAJA.git RAJA_SIMD6
#git clone -b simd7 https://github.com/artv3/RAJA.git RAJA_SIMD7
#git clone -b simd8 https://github.com/artv3/RAJA.git RAJA_SIMD8
#git clone -b simd9 https://github.com/artv3/RAJA.git RAJA_SIMD9


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

0 comments on commit dc65080

Please sign in to comment.