Commit db4d61a2 authored by incardon's avatar incardon
Browse files

Start staggered grid

parent c0aef587
......@@ -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=" "
......
......@@ -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
......
......@@ -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
......@@ -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
......@@ -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
/*
* 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_ */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment