1 Star 0 Fork 0

leegoobin/OpenLB

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
config.mk 2.29 KB
一键复制 编辑 原始数据 按行查看 历史
leegoobin 提交于 2018-04-03 16:48 . v1.2 from openlb.net,download by ligb
# 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/uesoft/OpenLB.git
git@gitee.com:uesoft/OpenLB.git
uesoft
OpenLB
OpenLB
master

搜索帮助