File tree 2 files changed +8
-0
lines changed
2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change
1
+ * . [0-9 ]
Original file line number Diff line number Diff line change @@ -128,6 +128,13 @@ if [[ "$haveMPICC" == "1" ]] && [[ "$haveMPIFC" == "1" ]]; then
128
128
mpipfile=` ls mpiP* .tar.gz`
129
129
mpipdir=` echo ${mpipfile%% .tar.gz} `
130
130
tar xzvf ${mpipfile}
131
+ [[ -f ./extra/mpiP-3.4.1/make-wrappers.py ]] && sed -i ' s@#!/usr/local/bin/python@#!/usr/bin/python2@' ./extra/mpiP-3.4.1/make-wrappers.py
132
+
133
+ [[ $( hostname -f) =~ " .ls6.tacc" ]] &&
134
+ sed -i ' s/PYTHON = python$/PYTHON = python2/' ./mpiP-3.4.1/Defs.mak.in &&
135
+ sed -i ' s/PYTHON = python$/PYTHON = python2/' ./mpiP-3.4.1/Defs.mak && # preserved across install.sh executions
136
+ sed -i ' s@#!/usr/local/bin/python@#!/usr/bin/python2@' ./mpiP-3.4.1/make-wrappers.py
137
+
131
138
cd ${mpipdir}
132
139
./configure CFLAGS=" -g" --enable-demangling --disable-bfd --disable-libunwind --prefix=${REMORA_DIR} | tee -a $BUILD_LOG
133
140
make | tee -a $BUILD_LOG
You can’t perform that action at this time.
0 commit comments