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
0e13d7cf
Commit
0e13d7cf
authored
Oct 27, 2016
by
incardon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixing example compilation
parent
baa5309a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
10 deletions
+13
-10
example/Plot/2_PSE_convergence/Makefile
example/Plot/2_PSE_convergence/Makefile
+12
-9
example/Vector/5_molecular_dynamic_sym/Makefile
example/Vector/5_molecular_dynamic_sym/Makefile
+1
-1
No files found.
example/Plot/2_PSE_convergence/Makefile
View file @
0e13d7cf
include
../../example.mk
#### this example work only if you have quadmath activated ###
#### (only if -lquadmath work) uncomment to reactivate
CC
=
mpic++
LDIR
=
OBJ
=
main.o
#
OBJ = main.o
%.o
:
%.cpp
$(CC)
-O3
-g3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
#
%.o: %.cpp
#
$(CC) -O3 -g3 -c --std=c++11 -o $@ $< $(INCLUDE_PATH)
conv_p
:
$(OBJ)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
#
conv_p: $(OBJ)
# $(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
all
:
conv_p
#
all: conv_p
run
:
all
source
$$
HOME/openfpm_vars
;
./conv_p
#
run: all
#
source $$HOME/openfpm_vars; ./conv_p
.PHONY
:
clean all run
#
.PHONY: clean all run
clean
:
rm
-f
*
.o
*
~ core conv_p
...
...
example/Vector/5_molecular_dynamic_sym/Makefile
View file @
0e13d7cf
...
...
@@ -17,7 +17,7 @@ md_sym: $(OBJ_DORD)
run
:
md_sym
source
$$
HOME/openfpm_vars
;
mpirun
-np
3 ./md_sym
.PHONY
:
clean all run
md_sym
.PHONY
:
clean all run
clean
:
rm
-f
*
.o
*
~ core md_sym
...
...
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