-
Notifications
You must be signed in to change notification settings - Fork 23
config mpi.sh
Donna Calhoun edited this page Aug 4, 2019
·
10 revisions
You can download this file here.
Run this file as an executable ::
$ cd $FCLAW
$ wget https://raw.githubusercontent.com/wiki/ForestClaw/forestclaw/files/config-mpi.sh
$ chmod u+x config-mpi.sh
Configure ForestClaw ::
$ cd forestclaw-build
$ ../config-mpi.sh
#!/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
ForestClaw | Copyright (c) 2012-2022 Carsten Burstedde, Donna Calhoun