Rate This Document
Findability
Accuracy
Completeness
Readability

Modifying the Configuration File

By default, the program performs non-parallel computing. To perform parallel computing, modify the configuration file.

Procedure

  1. Use PuTTY to log in to the server as the root user.
  2. Edit the config.mk file in the olb-1.4r0 directory.
    vim config.mk
  3. Press i to enter the insert mode and modify the file as follows:
    #CXX	:= g++			# Default
    CXX	:= mpicxx
    #CC		:= gcc			# Default
    CC		:= mpicc
    OPTIM	:= -03 -Wall –march=native –mtune=native
    DEBUG	:= -g –Wall –DOLB_DEBUG
    CXXFLAGS	:= $(OPTIM)
    CXXFLAGA	+= -std=c++14
    ARPRG	:= ar
    LDFLAGS	:=
    #PARALLEL_MODE	:= OFF
    PARALLEL_MODE	:= HYBRID
    MPIFLAGS	:=
    OMPFLAGS	:= -fopenmp
    BUILDTYPE	:= generic
    FEATURES	:=
  4. Press Esc, type :wq!, and press Enter to save the file and exit.