You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
33 lines
583 B
33 lines
583 B
4 years ago
|
#!/bin/bash
|
||
|
|
||
|
source /etc/container_runtime/buildtime
|
||
|
|
||
|
load_conda
|
||
|
export CC=x86_64-conda_cos6-linux-gnu-gcc
|
||
|
export CXX=x86_64-conda_cos6-linux-gnu-g++
|
||
|
export FC=x86_64-conda_cos6-linux-gnu-gfortran
|
||
|
load_mpich
|
||
|
|
||
|
export CC=mpicc
|
||
|
export CXX=mpicxx
|
||
|
export FC=mpifort
|
||
|
|
||
|
export MPICC=mpicc
|
||
|
export MPICXX=mpicxx
|
||
|
export MPIFC=mpifort
|
||
|
|
||
|
ARMCI_MPI_ROOT=/opt/armci-mpi
|
||
|
|
||
|
echo PATH=$PATH
|
||
|
|
||
|
[ -d $ARMCI_MPI_ROOT ] || git clone https://github.com/pmodels/armci-mpi $ARMCI_MPI_ROOT
|
||
|
|
||
|
|
||
|
cd $ARMCI_MPI_ROOT
|
||
|
autoreconf -i
|
||
|
|
||
|
./configure CC=mpicc --enable-g --prefix=$ARMCI_MPI_ROOT
|
||
|
make
|
||
|
make check
|
||
|
make install
|