Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_pdata
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_pdata
Commits
742340a8
Commit
742340a8
authored
8 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Fixing example compilation
parent
7dd0e4db
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
example/Numerics/PSE/1_Derivative_approx_1D_mp/Makefile
+9
-6
9 additions, 6 deletions
example/Numerics/PSE/1_Derivative_approx_1D_mp/Makefile
with
9 additions
and
6 deletions
example/Numerics/PSE/1_Derivative_approx_1D_mp/Makefile
+
9
−
6
View file @
742340a8
# This example does not work using clang
# Eliminate the comment to activate it
include
../../../example.mk
CC
=
mpic++
...
...
@@ -9,15 +12,15 @@ OBJ_128 = main_float128.o
%.o
:
%.cpp
$(
CC
)
-O3
-c
--std
=
c++11
-o
$@
$<
$(
INCLUDE_PATH
)
pse_1d_128
:
$(OBJ_128)
$(
CC
)
-o
$@
$^
$(
CFLAGS
)
$(
LIBS_PATH
)
$(
LIBS
)
-lquadmath
#
pse_1d_128: $(OBJ_128)
#
$(CC) -o $@ $^ $(CFLAGS) $(LIBS_PATH) $(LIBS) -lquadmath
all
:
pse_1d_128
#
all: pse_1d_128
run
:
all
source
$$
HOME/openfpm_vars
;
./pse_1d_128
#
run: all
#
source $$HOME/openfpm_vars; ./pse_1d_128
.PHONY
:
clean all run
#
.PHONY: clean all run
clean
:
rm
-f
*
.o
*
~ core pse_1d_128
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment