raspberrypi-hpl/scripts/make_mpich.sh
Arif Ali c525a6deb7
Update all configs and scripts
* Add Make files to compile from distro mpich and openblas
* Add CONFIG.rpi5 to add extra tuning for it
* Fine tune make_hpl.sh so that it's more dynamic
2024-01-25 07:35:37 +00:00

24 lines
554 B
Bash
Executable File

#!/bin/bash
. CONFIG
version=3.3.2
package=mpich
rm -rf ${package}-${version}
rm -rf ${WORKDIR}/${package}-${version}
sudo rm -rf /opt/${package}/${version}
wget http://www.mpich.org/static/downloads/${version}/${package}-${version}.tar.gz -O ${DOWNLOADS}/${package}-${version}.tar.gz
cd ${WORKDIR}
tar xfz ${DOWNLOADS}/${package}-${version}.tar.gz
cd ${package}-${version}
export CFLAGS=${COMMON_FLAGS}
export FCFLAGS=${COMMON_FLAGS}
export LDFLAGS=${COMMON_FLAGS}
./configure --prefix=/opt/${package}/${version}
make -j 3
sudo make -j 3 install