Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
qbox-public
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
qbox
qbox-public
Commits
939c1538
Commit
939c1538
authored
Aug 05, 2018
by
Francois Gygi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Mac OS makefile
parent
3ffc3f07
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
44 additions
and
0 deletions
+44
-0
macosx_openmpi.mk
build/macosx_openmpi.mk
+44
-0
No files found.
build/macosx_openmpi.mk
0 → 100644
View file @
939c1538
#
# Copyright (c) 2014 The Regents of the University of California
#
# This file is part of Qbox
#
# Qbox is distributed 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.
# See the file COPYING in the root directory of this distribution
# or <http://www.gnu.org/licenses/>.
#
#-------------------------------------------------------------------------------
#
# macosx_openmpi.mk
#
#-------------------------------------------------------------------------------
#
PLT=MacOSX_x86_64
#-------------------------------------------------------------------------------
SCALAPACKDIR=$(HOME)/software/scalapack/scalapack-2.0.2
LAPACKDIR=$(HOME)/software/lapack/lapack-3.5.0
BLASDIR=$(HOME)/software/blas/BLAS
PLTOBJECTS = readTSC.o
CXX=mpiCC
LD=$(CXX)
PLTFLAGS += -DIA32 -DUSE_MPI -DUSE_FFTW2 -D_LARGEFILE_SOURCE \
-D_FILE_OFFSET_BITS=64 -DADD_ \
-DAPP_NO_THREADS -DXML_USE_NO_THREADS -DUSE_XERCES -DXERCESC_3 \
-DSCALAPACK -DUSE_UUID
INCLUDE = -I$(FFTWDIR)
CXXFLAGS= -g -O3 -Wunused -D$(PLT) $(INCLUDE) $(PLTFLAGS) $(DFLAGS)
LIBPATH = -L$(SCALAPACKDIR) -L$(LAPACKDIR) -L$(BLASDIR)
LIBS = -lfftw -lscalapack -llapack -lblas -lm -lgfortran \
-lxerces-c -lpthread -lmpi_cxx -lstdc++ -lcurl -liconv
LDFLAGS = $(LIBPATH) $(LIBS)
#-------------------------------------------------------------------------------
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment