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
Sbalzarini Lab
S
Software
P
Parallel Computing
OpenFPM
openfpm_pdata
Commits
db4d61a2
Commit
db4d61a2
authored
Aug 19, 2015
by
incardon
Browse files
Start staggered grid
parent
c0aef587
Changes
6
Hide whitespace changes
Inline
Side-by-side
configure.ac
View file @
db4d61a2
...
...
@@ -16,7 +16,7 @@ m4_ifdef([AX_OPENMP],,[m4_include([m4/ax_openmp.m4])])
m4_ifdef([AX_CUDA],,[m4_include([m4/ax_cuda.m4])])
m4_ifdef([IMMDX_LIB_METIS],,[m4_include([m4/immdx_lib_metis.m4])])
CXXFLAGS+=" --std=c++11
-march=native -mtune=native
"
CXXFLAGS+=" --std=c++11 "
NVCCFLAGS=" "
INCLUDES_PATH=" "
...
...
install
View file @
db4d61a2
...
...
@@ -42,6 +42,10 @@ METIS_installed=0
BOOST_installed
=
0
conf_err
=
1
## Check for mpirun
if
[
$install_req
-eq
0
]
;
then
./configure
$configure_options
else
...
...
script/install_BOOST.sh
View file @
db4d61a2
...
...
@@ -7,10 +7,10 @@ if [ -d "${HOME}/BOOST" ]; then
exit
0
fi
mkdir
${
HOME
}
/BOOST
wget http://ppmcore.mpi-cbg.de/upload/boost_1_58_0.tar.bz2
tar
-xvf
boost_1_58_0.tar.bz2
cd
boost_1_58_0
./bootstrap.sh
mkdir
${
HOME
}
/BOOST
./b2
-j
4
install
--prefix
=
$HOME
/BOOST
script/install_MPI.sh
View file @
db4d61a2
...
...
@@ -7,10 +7,10 @@ if [ -d "${HOME}/MPI" ]; then
exit
0
fi
mkdir
${
HOME
}
/MPI
wget http://www.open-mpi.de/software/ompi/v1.8/downloads/openmpi-1.8.7.tar.bz2
tar
-xvf
openmpi-1.8.7.tar.bz2
cd
openmpi-1.8.7
sh ./configure
--prefix
=
${
HOME
}
/MPI
--enable-opal-multi-threads
--enable-mpi-f90
make
-j
4
mkdir
${
HOME
}
/MPI
make
install
script/install_Metis.sh
View file @
db4d61a2
...
...
@@ -7,12 +7,11 @@ if [ -d "${HOME}/METIS" ]; then
exit
0
fi
mkdir
${
HOME
}
/METIS
wget http://ppmcore.mpi-cbg.de/upload/metis-5.1.0.tar.gz
tar
-xf
metis-5.1.0.tar.gz
cd
metis-5.1.0
make config
shared
=
1
prefix
=
${
HOME
}
/METIS
make
-j
4
mkdir
${
HOME
}
/METIS
make
install
src/Grid/staggered_grid.hpp
0 → 100644
View file @
db4d61a2
/*
* staggered_grid.hpp
*
* Created on: Aug 19, 2015
* Author: i-bird
*/
#ifndef SRC_GRID_STAGGERED_GRID_HPP_
#define SRC_GRID_STAGGERED_GRID_HPP_
typedef
boost
::
mpl
::
vector
stag_elements
;
/*! \brief Implementation of the staggered grid
*
* \param dim Dimensionality od the staggered grid
* \param ele elements object on each dimensional objects, must be a stag_elements
*
*
*
*/
template
<
unsigned
int
dim
,
typename
ele
>
class
staggered_grid
{
};
#endif
/* SRC_GRID_STAGGERED_GRID_HPP_ */
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