gcc-mp-9-openmpi316.sh 723 Bytes
Newer Older
gsell's avatar
gsell committed
1
export OTB_TOOLSET=gcc
gsell's avatar
gsell committed
2
export OTB_COMPILER_VERSION=gcc-mp-8
gsell's avatar
gsell committed
3
export OTB_MPI=openmpi
gsell's avatar
gsell committed
4
export OTB_MPI_VERSION=3.1.6
gsell's avatar
gsell committed
5

gsell's avatar
gsell committed
6
declare -a OTB_RECIPES=(
gsell's avatar
gsell committed
7
	050-build-cmake
gsell's avatar
gsell committed
8
	060-build-openmpi
gsell's avatar
gsell committed
9 10 11 12
	070-build-zlib
	080-build-hdf5
	090-build-gsl
	100-build-h5hut
gsell's avatar
gsell committed
13 14 15 16
	110-build-boost
	200-build-parmetis
	210-build-openblas
	220-build-trilinos
gsell's avatar
gsell committed
17
	230-build-amrex
gsell's avatar
gsell committed
18
	300-build-gtest)
19 20

declare -A OTB_SYMLINKS
21 22 23 24 25
OTB_SYMLINKS[bin/cc]="/opt/local/bin/${OTB_COMPILER_VERSION}"
OTB_SYMLINKS[bin/gcc]="/opt/local/bin/${OTB_COMPILER_VERSION}"
OTB_SYMLINKS[bin/c++]="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/g++}"
OTB_SYMLINKS[bin/g++]="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/g++}"
OTB_SYMLINKS[bin/gfortran]="/opt/local/bin/${OTB_COMPILER_VERSION/gcc/gfortran}"