Skip to content

config mpi.sh

Donna Calhoun edited this page Aug 4, 2019 · 10 revisions

#!/usr/bin/env bash

Modify as needed

../forestclaw/configure
--enable-mpi
--enable-clawpack
--without-blas
--enable-debug
CC=mpicxx
CFLAGS="-O2 -Wall"
CXX=mpicxx
CXXFLAGS="-O2 -Wall"
F77=gfortran
FC=gfortran
FFLAGS="-O2 -cpp"
--disable-shared

use these additional commands if you build p4est separately.

--with-p4est=$PATH_TO_P4EST/p4est-build-mpi/local

--with-sc=$PATH_TO_P4EST/p4est-build-mpi/local