Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
giraffe
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
3
Issues
3
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nek5000
giraffe
Commits
79b048b4
Commit
79b048b4
authored
Oct 24, 2016
by
Ron Rahaman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added OS-specific flags for Mac OS/X
parent
a46c7e70
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
+15
-6
Nek5000/core/makefile.template
Nek5000/core/makefile.template
+5
-4
Nek5000/core/makenek
Nek5000/core/makenek
+2
-2
Nek5000/core/makenek.inc
Nek5000/core/makenek.inc
+8
-0
No files found.
Nek5000/core/makefile.template
View file @
79b048b4
...
...
@@ -17,6 +17,7 @@ MOAB_DIR=
F77
=
CC
=
P
=
PC
=
PPPO
=
PPS
=
G
=
...
...
@@ -138,10 +139,10 @@ FL2 = $(L2) $(P) $(PPS_F) -I$(CASEDIR) -I$S -I$(S2) -I$(OPT_INCDIR)
FL3
=
$(L3)
$(P)
$(PPS_F)
-I
$(CASEDIR)
-I
$S
-I
$(OPT_INCDIR)
FL4
=
$(L4)
$(P)
$(PPS_F)
-I
$(CASEDIR)
-I
$S
-I
$(OPT_INCDIR)
cFL0
=
$(L0)
$(PPS_C)
-I
$J
cFL2
=
$(L2)
$(PPS_C)
-I
$J
cFL3
=
$(L3)
$(PPS_C)
-I
$J
cFL4
=
$(L4)
$(PPS_C)
-I
$J
cFL0
=
$(L0)
$(P
C)
$(P
PS_C)
-I
$J
cFL2
=
$(L2)
$(P
C)
$(P
PS_C)
-I
$J
cFL3
=
$(L3)
$(P
C)
$(P
PS_C)
-I
$J
cFL4
=
$(L4)
$(P
C)
$(P
PS_C)
-I
$J
################################################################################
all
:
nek5000
...
...
Nek5000/core/makenek
View file @
79b048b4
...
...
@@ -9,10 +9,10 @@ SOURCE_ROOT_JL="$SOURCE_ROOT/jl"
SOURCE_ROOT_CMT
=
"
$SOURCE_ROOT
/core/cmt"
# Fortran compiler
F77
=
"mpif77
-Wa,-q -Wl,-no_compact_unwind
"
F77
=
"mpif77"
# C compiler
CC
=
"mpicc
-Wl,-no_compact_unwind
"
CC
=
"mpicc"
# pre-processor symbol list
# (set PPLIST=? to get a list of available symbols)
...
...
Nek5000/core/makenek.inc
View file @
79b048b4
...
...
@@ -237,6 +237,13 @@ case $F77comp in
esac
export
PPPO
# assign OS-specific flags
case
$
(
uname
)
in
Darwin
)
P
=
"-Wa,-q -Wl,-no_compact_unwind
$P
"
PC
=
"-Wl,-no_compact_unwind
$PC
"
;;
esac
# set preprocessor symbols
if
[
"
$IFMPI
"
==
"false"
-
o
"
$IFMPI
"
==
"no"
];
then
IFMPI
=
false
...
...
@@ -422,6 +429,7 @@ sed -e "s:^F77[ ]*=.*:F77\:=$F77:" \
-
e
"s:^G[ ]*=.*:G\:=
$G
:"
\
-
e
"s:^OPT_FLAGS[ ]*=.*:OPT_FLAGS\:=
$OPT_FLAGS
:"
\
-
e
"s/^P[ ]*=.*/P:=
$P
/"
\
-
e
"s/^PC[ ]*=.*/PC:=
$PC
/"
\
-
e
"s/^L0[ ]*=.*/L0=
$L0
/"
\
-
e
"s/^L2[ ]*=.*/L2=
$L2
/"
\
-
e
"s/^L3[ ]*=.*/L3=
$L3
/"
\
...
...
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