Skip to content

Building MFEM on ERP14

Cameron Smith edited this page May 3, 2021 · 2 revisions

Build

All of the commands listed below must be run on erp14.

  source ~/barn-shared/fep/a4/erp_env_setup.sh
  module unload mfem
  cd barn
  cp ~/barn-shared/mfem.tar.gz .
  tar xf mfem.tar.gz
  cd mfem
  cp ~/barn-shared/mfem-erp14-config.mk config/user.mk
  make config
  make all -j8  #this will take about 5 minutes

If all goes well all examples, miniapps, and libraries will be built.

Rebuild

All of the commands listed below must be run on erp14.

  source ~/barn-shared/fep/a4/erp_env_setup.sh
  module unload mfem
  cd barn/mfem
  make all -j8  #this should only build the files the changed and the libraries/binaries that depend on them

Clone this wiki locally