代码拉取完成,页面将自动刷新
# This file is part of the OpenLB library
#
# Copyright (C) 2017 Markus Mohrhard, Mathias Krause
# E-mail contact: info@openlb.net
# The most recent release of OpenLB can be downloaded at
# <http://www.openlb.net/>
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public
# License along with this program; if not, write to the Free
# Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
# Boston, MA 02110-1301, USA.
###########################################################################
###########################################################################
CXX := g++
#CXX := icpc -D__aligned__=ignored
#CXX := mpiCC
#CXX := mpic++
CC := gcc # necessary for zlib, for Intel use icc
OPTIM := -O3 -Wall -march=native -mtune=native # for gcc
#OPTIM := -O3 -Wall -xHost # for Intel compiler
#OPTIM := -O3 -Wall -xHost -ipo # optional for Intel compiler
DEBUG := -g -Wall -DOLB_DEBUG
CXXFLAGS := $(OPTIM)
#CXXFLAGS := $(DEBUG)
# to enable std::shared_ptr in functor arithmetik
# works in gcc 4.3 and later, source https://gcc.gnu.org/projects/cxx0x.html
#CXXFLAGS += -std=c++0x
# works in gcc 4.7 and later (recommended)
CXXFLAGS += -std=c++11
# optional for gcc 4.9 and newer
#CXXFLAGS += -fdiagnostics-color=auto
#CXXFLAGS += -std=gnu++14
ARPRG := ar
#ARPRG := xiar # mandatory for intel compiler
LDFLAGS :=
PARALLEL_MODE := OFF
#PARALLEL_MODE := MPI
#PARALLEL_MODE := OMP
#PARALLEL_MODE := HYBRID
MPIFLAGS :=
OMPFLAGS := -fopenmp
#BUILDTYPE := precompiled
BUILDTYPE := generic
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。