Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
O
openfpm_pdata
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
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
argupta
openfpm_pdata
Commits
0ba05b04
Commit
0ba05b04
authored
Oct 26, 2016
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing example compilation optionn for OSX
parent
2375e55d
Changes
16
Hide whitespace changes
Inline
Side-by-side
Showing
16 changed files
with
18 additions
and
16 deletions
+18
-16
example/Grid/0_simple/Makefile
example/Grid/0_simple/Makefile
+1
-1
example/Grid/1_stencil/Makefile
example/Grid/1_stencil/Makefile
+1
-1
example/Grid/2_solve_eq/Makefile
example/Grid/2_solve_eq/Makefile
+1
-1
example/Grid/3_gray_scott/Makefile
example/Grid/3_gray_scott/Makefile
+1
-1
example/Numerics/PSE/0_Derivative_approx_1D/Makefile
example/Numerics/PSE/0_Derivative_approx_1D/Makefile
+1
-1
example/Numerics/PSE/1_Derivative_approx_1D_mp/Makefile
example/Numerics/PSE/1_Derivative_approx_1D_mp/Makefile
+1
-1
example/Numerics/PSE/1_Diffusion_1D/Makefile
example/Numerics/PSE/1_Diffusion_1D/Makefile
+1
-1
example/Plot/0_simple_graph/Makefile
example/Plot/0_simple_graph/Makefile
+1
-1
example/Plot/2_PSE_convergence/Makefile
example/Plot/2_PSE_convergence/Makefile
+1
-1
example/SE/0_classes/Makefile
example/SE/0_classes/Makefile
+1
-1
example/SE/1_classes/Makefile
example/SE/1_classes/Makefile
+1
-1
example/VCluster/0_simple/Makefile
example/VCluster/0_simple/Makefile
+1
-1
example/Vector/0_simple/Makefile
example/Vector/0_simple/Makefile
+1
-1
example/Vector/1_celllist/Makefile
example/Vector/1_celllist/Makefile
+1
-1
example/Vector/2_expressions/Makefile
example/Vector/2_expressions/Makefile
+1
-1
install
install
+3
-1
No files found.
example/Grid/0_simple/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
grid
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Grid/1_stencil/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
stencil
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Grid/2_solve_eq/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
periodic
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Grid/3_gray_scott/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
gray_scott
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Numerics/PSE/0_Derivative_approx_1D/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
pse_1d
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Numerics/PSE/1_Derivative_approx_1D_mp/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ_128
=
main_float128.o
%.o
:
%.cpp
$(CC)
-O3
-c
-
fext-numeric-literals
-
-std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
pse_1d_128
:
$(OBJ_128)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
-lquadmath
...
...
example/Numerics/PSE/1_Diffusion_1D/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
diff_1d
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Plot/0_simple_graph/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-O3
-g3
-c
--std
=
c++11
-
fext-numeric-literals
-
o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
plot
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
-lquadmath
...
...
example/Plot/2_PSE_convergence/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-O3
-g3
-c
--std
=
c++11
-fext-numeric-literals
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
conv_p
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
-lquadmath
...
...
example/SE/0_classes/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-g3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
se_classes
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/SE/1_classes/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-g3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
se_classes
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/VCluster/0_simple/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
vcluster
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/0_simple/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
vect
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/1_celllist/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
cell
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
example/Vector/2_expressions/Makefile
View file @
0ba05b04
...
...
@@ -7,7 +7,7 @@ LDIR =
OBJ
=
main.o
%.o
:
%.cpp
$(CC)
-
fext-numeric-literals
-
O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
expr
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
...
...
install
View file @
0ba05b04
...
...
@@ -8,6 +8,7 @@ source script/remove_old
source
script/set_mpi
source
script/conf_PETSC
## Check that your home is not empty
if
[
x
"
$HOME
"
==
x
""
]
;
then
...
...
@@ -308,7 +309,8 @@ fi
### Create example.mk
install_base
=
$(
cat
install_dir
)
openmp_flags
=
$(
cat
openmp_flags
)
$(
cat
openfpm_flags
)
openmp_flags
=
"
$(
cat
openmp_flags
)
$(
cat
openfpm_flags
)
"
echo
"INCLUDE_PATH=
$openmp_flags
-I. -I
$install_base
/openfpm_numerics/include -I
$install_base
/openfpm_pdata/include/config -I
$install_base
/openfpm_pdata/include -I
$install_base
/openfpm_data/include -I
$install_base
/openfpm_vcluster/include -I
$install_base
/openfpm_io/include -I
$install_base
/openfpm_devices/include -I
$i_dir
/METIS/include -I
$i_dir
/PARMETIS/include -I
$i_dir
/BOOST/include -I
$i_dir
/HDF5/include -I
$i_dir
/LIBHILBERT/include
$lin_alg_inc
"
>
example.mk
echo
"LIBS_PATH=
$openmp_flags
-L
$install_base
/openfpm_devices/lib -L
$install_base
/openfpm_pdata/lib -L
$install_base
/openfpm_vcluster/lib -L
$i_dir
/METIS/lib -L
$i_dir
/PARMETIS/lib -L
$i_dir
/BOOST/lib -L
$i_dir
/HDF5/lib -L
$i_dir
/LIBHILBERT/lib
$lin_alg_dir
"
>>
example.mk
echo
"LIBS=-lvcluster -lofpm_pdata -lofpmmemory -lparmetis -lmetis -lboost_iostreams -lhdf5 -llibhilbert
$lin_alg_lib
"
>>
example.mk
...
...
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