Permalink
Browse files

Merge pull request #12765 from joshuahansel/pass-args-petsc-build

Passed CLI args to PETSc configure script
  • Loading branch information...
fdkong committed Jan 24, 2019
2 parents 23136f5 + 5d0bcf7 commit c4887fafbfde1c7c700c7816b1f9f711c17b407a
Showing with 3 additions and 2 deletions.
  1. +3 −2 scripts/update_and_rebuild_petsc.sh
@@ -25,9 +25,9 @@ echo $SCRIPT_DIR
# Display help
if [[ -n "$help" ]]; then
cd $SCRIPT_DIR/..
echo "Usage: $0 [-h | --help | --fast | --skip-submodule-update | <libmesh options> ]"
echo "Usage: $0 [-h | --help | --fast | --skip-submodule-update | <PETSc options> ]"
echo
echo "-h | --help Display this message and list of available libmesh options"
echo "-h | --help Display this message and list of available PETSc options"
echo "--fast Run PETSc 'make all' only, do NOT run configure"
echo "--skip-submodule-update Do not update the PETSc submodule, use the current version"
echo "*************************************************************************************"
@@ -93,6 +93,7 @@ if [ -z "$go_fast" ]; then
-FCFLAGS='-fPIC -fopenmp' \
-F90FLAGS='-fPIC -fopenmp' \
-F77FLAGS='-fPIC -fopenmp' \
$* \

make all
else

0 comments on commit c4887fa

Please sign in to comment.