Skip to content
Snippets Groups Projects
Commit cc1f2072 authored by athomps's avatar athomps
Browse files

Added OpenMP to red Sky Makefile

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12142 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 8dddba11
No related branches found
No related tags found
No related merge requests found
# redsky - SUN X6275 with dual socket/quad core nodes, mpic++, openmpi, FFTW # redsky - SUN X6275 nodes, dual socket/quad core 2.93 GHz Nehalem processors, mpic++, openmpi, OpenMP, no FFTW
SHELL = /bin/sh SHELL = /bin/sh
...@@ -26,12 +26,12 @@ SHELL = /bin/sh ...@@ -26,12 +26,12 @@ SHELL = /bin/sh
# compiler/linker settings # compiler/linker settings
# specify flags and libraries needed for your compiler # specify flags and libraries needed for your compiler
CC = mpic++ CC = mpic++ -fopenmp
CCFLAGS = -O2 -xsse4.2 -funroll-loops -fstrict-aliasing CCFLAGS = -O2 -xsse4.2 -funroll-loops -fstrict-aliasing
SHFLAGS = -fPIC SHFLAGS = -fPIC
DEPFLAGS = -M DEPFLAGS = -M
LINK = mpic++ LINK = mpic++ -fopenmp
LINKFLAGS = -O -xsse4.2 LINKFLAGS = -O -xsse4.2
LIB = -lstdc++ LIB = -lstdc++
SIZE = size SIZE = size
...@@ -68,9 +68,9 @@ MPI_LIB = ...@@ -68,9 +68,9 @@ MPI_LIB =
# PATH = path for FFT library # PATH = path for FFT library
# LIB = name of FFT library # LIB = name of FFT library
FFT_INC = -DFFT_FFTW -I${FFTW_INCLUDE} #FFT_INC = -DFFT_FFTW -I${FFTW_INCLUDE}
FFT_PATH = -L${FFTW_LIB} #FFT_PATH = -L${FFTW_LIB}
FFT_LIB = -lfftw #FFT_LIB = -lfftw
# JPEG and/or PNG library, OPTIONAL # JPEG and/or PNG library, OPTIONAL
# see discussion in doc/Section_start.html#2_2 (step 7) # see discussion in doc/Section_start.html#2_2 (step 7)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment