Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
argupta
openfpm_pdata
Commits
f8d6ec58
Commit
f8d6ec58
authored
Aug 31, 2017
by
incardon
Browse files
Fixing Vortex in cell
parent
68fd5bca
Changes
1
Hide whitespace changes
Inline
Side-by-side
example/Numerics/Vortex_in_cell/Makefile
View file @
f8d6ec58
...
@@ -4,22 +4,18 @@ CC=mpic++
...
@@ -4,22 +4,18 @@ CC=mpic++
LDIR
=
LDIR
=
OBJ_VIC
=
main_vic.o
OBJ_VIC_PETSC
=
main_vic_petsc.o
OBJ_VIC_PETSC
=
main_vic_petsc.o
%.o
:
%.cpp
%.o
:
%.cpp
$(CC)
-O3
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-g
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
all
:
vic vic_petsc
all
:
vic_petsc
vic
:
$(OBJ_VIC)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS_SE2)
vic_petsc
:
$(OBJ_VIC_PETSC)
vic_petsc
:
$(OBJ_VIC_PETSC)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS_SE2)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS_SE2)
run
:
all
run
:
all
mpirun
-np
3 ./vic
&&
mpirun
-np
3 ./vi
c
mpirun
-np
3 ./vic
_pets
c
.PHONY
:
clean all
.PHONY
:
clean all
...
...
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