Skip to content

Commit fb35d2a

Browse files
committed
Make build scripts executable
1 parent 7140964 commit fb35d2a

File tree

2 files changed

+6
-23
lines changed

2 files changed

+6
-23
lines changed

build_scripts/build_mgard_adios2_cuda_summit.sh

100644100755
Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,17 +90,19 @@ adios2_src_dir=${adios2_dir}/src
9090
adios2_build_dir=${adios2_dir}/build
9191
adios2_install_dir=${install_dir}
9292
if [ ! -d "${adios2_src_dir}" ]; then
93-
git clone -https://github.com/ornladios/ADIOS2.git ${adios2_src_dir}
93+
git clone https://github.com/ornladios/ADIOS2.git ${adios2_src_dir}
9494
fi
9595
mkdir -p ${adios2_build_dir}
9696
cmake -S ${adios2_src_dir} -B ${adios2_build_dir}\
9797
-DADIOS2_USE_CUDA=ON \
9898
-DADIOS2_USE_MGARD=ON \
9999
-DCMAKE_CUDA_ARCHITECTURES=70 \
100100
-DMGARD_ROOT=${mgard_x_install_dir} \
101+
-DCMAKE_PREFIX_PATH=${mgard_x_install_dir} \
101102
-DCMAKE_BUILD_TYPE=Release \
102103
-DBUILD_TESTING=ON \
103104
-DADIOS2_USE_MPI=ON \
105+
-DADIOS2_USE_SST=OFF \
104106
-DCMAKE_INSTALL_PREFIX=${adios2_install_dir}
105107
cmake --build ${adios2_build_dir} -j ${num_build_procs}
106108
cmake --install ${adios2_build_dir}

build_scripts/build_mgard_adios2_hip_crusher.sh

100644100755
Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -74,37 +74,18 @@ cmake -S ${mgard_x_src_dir} -B ${mgard_x_build_dir} \
7474
cmake --build ${mgard_x_build_dir} -j ${num_build_procs}
7575
cmake --install ${mgard_x_build_dir}
7676

77-
78-
#build ADIOS2
79-
adios2_dir=${build_dir}/adios2
80-
adios2_src_dir=${adios2_dir}/src
81-
adios2_build_dir=${adios2_dir}/build
82-
adios2_install_dir=${install_dir}
83-
if [ ! -d "${adios2_src_dir}" ]; then
84-
git clone -https://github.com/ornladios/ADIOS2.git ${adios2_src_dir}
85-
fi
86-
mkdir -p ${adios2_build_dir}
87-
cmake -S ${adios2_src_dir} -B ${adios2_build_dir}\
88-
-DADIOS2_USE_CUDA=OFF \
89-
-DADIOS2_USE_MGARD=ON \
90-
-DMGARD_ROOT=${mgard_x_install_dir} \
91-
-DCMAKE_BUILD_TYPE=Release \
92-
-DBUILD_TESTING=ON \
93-
-DADIOS2_USE_MPI=ON \
94-
-DCMAKE_INSTALL_PREFIX=${adios2_install_dir}
95-
cmake --build ${adios2_build_dir} -j ${num_build_procs}
96-
cmake --install ${adios2_build_dir}
97-
9877
#build ADIOS2
9978
adios2_dir=${build_dir}/adios2
10079
adios2_src_dir=${adios2_dir}/src
10180
adios2_build_dir=${adios2_dir}/build
10281
adios2_install_dir=${install_dir}
10382
if [ ! -d "${adios2_src_dir}" ]; then
104-
git clone -https://github.com/ornladios/ADIOS2.git ${adios2_src_dir}
83+
git clone https://github.com/ornladios/ADIOS2.git ${adios2_src_dir}
10584
fi
10685
mkdir -p ${adios2_build_dir}
10786
cmake -S ${adios2_src_dir} -B ${adios2_build_dir}\
87+
-DCMAKE_C_COMPILER=amdclang\
88+
-DCMAKE_CXX_COMPILER=amdclang++\
10889
-DADIOS2_USE_CUDA=OFF \
10990
-DADIOS2_USE_MGARD=ON \
11091
-DMGARD_ROOT=${mgard_x_install_dir} \

0 commit comments

Comments
 (0)