IPARS Multiblock Build

  1. Logon to bevo2.
  2. Prepare MACE libraries
    • gxl@bevo2:~/IPARSv2/MACE> make SYSTEM=bevo2 clean;
      make SYSTEM=bevo2
    • This command will build IPARSv2/MACE/lib/bevo2/libmace.a
    • The value of variable SYSTEM must be the name of a configuration
      that is defined in MACE/arch_makes/make.defn.bevo2
    • SYSTEM must be compatible with the statement in the machine
      makefile for IPARS so the master Makefile can find appropriate
      MACE library. For example, in bevo2.mak: SYSTEM = bevo2
      MACESYSFLAG = -DBEOWULF -DWant_c_files -DDEBUG_PRINT \
      -DNO_OSTREAMWITHASSIGN –DANSI_HEADERS
  3. Build IPARS executable
    • Comment out mace.mak in master Makefile: this will automatically "pick up" all the framework AND all model dependent multiblock code
    • Comment out mortar.siz in master sizefile (ipars.siz): this will make
      active all the mortar code "hidden" under the keyword $MORTAR.
    • For parallel machines comment parall_c.mak and a machine make
      file e.g. bevo2.mak
    • Build ipars executable
      gxl@bevo2:~/IPARSv2/work> make

    Note: MACE is a C++ templated library and therefore there exist limitations in its current portability. It has been tested to work for gnu and intel compilers.

 

Written by Center for Subsurface Modeling