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
7dd0e4db
Commit
7dd0e4db
authored
Oct 27, 2016
by
incardon
Browse files
Fixing several installation problems on OSX
parent
0dc5f75f
Changes
5
Hide whitespace changes
Inline
Side-by-side
example/Numerics/PSE/1_Derivative_approx_1D_mp/main_float128.cpp
View file @
7dd0e4db
...
...
@@ -10,11 +10,16 @@
*
*/
#include "config/config.h"
#include "Vector/vector_dist.hpp"
#include "Decomposition/CartDecomposition.hpp"
#include "PSE/Kernels.hpp"
#include "data_type/aggregate.hpp"
#include <cmath>
// This example only work if there is HAVE_LIBQUADMATH
#ifdef HAVE_LIBQUADMATH
#include <boost/multiprecision/float128.hpp>
typedef
boost
::
multiprecision
::
float128
float128
;
...
...
@@ -310,3 +315,11 @@ int main(int argc, char* argv[])
//
openfpm_finalize
();
}
#else
int
main
(
int
argc
,
char
*
argv
[])
{
}
#endif
example/Numerics/PSE/1_Diffusion_1D/main.cpp
View file @
7dd0e4db
...
...
@@ -425,7 +425,7 @@ int main(int argc, char* argv[])
double
val
;
// usefull to sort the particle by position
bool
operator
<
(
const
pos_val
&
p
)
bool
operator
<
(
const
pos_val
&
p
)
const
{
return
pos
<
p
.
pos
;
}
...
...
example/Numerics/Stoke_flow/0_2D_incompressible/Makefile
View file @
7dd0e4db
...
...
@@ -8,7 +8,7 @@ OBJ_EIGEN = main_eigen.o
OBJ_PETSC
=
main_petsc.o
%.o
:
%.cpp
$(CC)
-fext-numeric-literals
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
all
:
stokes_2d_eigen stokes_2d_petsc
...
...
example/Numerics/Stoke_flow/1_3D_incompressible/Makefile
View file @
7dd0e4db
...
...
@@ -8,15 +8,15 @@ OBJ_EIGEN = main_eigen.o
OBJ_PETSC
=
main_petsc.o
%.o
:
%.cpp
$(CC)
-fopenmp
-fext-numeric-literals
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
$(CC)
-O3
-c
--std
=
c++11
-o
$@
$<
$(INCLUDE_PATH)
all
:
stokes_3d_eigen stokes_3d_petsc
stokes_3d_eigen
:
$(OBJ_EIGEN)
$(CC)
-fopenmp
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
stokes_3d_petsc
:
$(OBJ_PETSC)
$(CC)
-fopenmp
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
$(CC)
-o
$@
$^
$(CFLAGS)
$(LIBS_PATH)
$(LIBS)
run
:
all
source
$$
HOME/openfpm_vars
;
mpirun
-np
3 ./stokes_3d_eigen
;
mpirun
-np
3 ./stokes_3d_petsc
...
...
m4/ax_libhilbert.m4
View file @
7dd0e4db
...
...
@@ -80,7 +80,7 @@ AC_DEFUN([AX_LIB_HILBERT], [
with_libhilbert=$PETSC
AC_MSG_RESULT(yes)
else
with_
petsc
=/usr
with_
libhilbert
=/usr
if test ! -f "$with_libhilbert/include/hilbertKey.h" ; then
with_libhilbert=/usr/local
if test ! -f "$with_libhilbert/include/hilbertKey.h" ; then
...
...
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