Commit db89ac48 authored by Pietro Incardona's avatar Pietro Incardona

Fixing examples

parent 0098d384
# Change Log # Change Log
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [0.2.0] - 2015-02-17 ## [0.2.0] - 2016-03-25
### Added ### Added
- Added Load Balancing and Dynamic Load Balancing on Beta
- PSE 1D example with multiple precision - PSE 1D example with multiple precision
- Plot example for GoogleChart plotting - Plot example for GoogleChart plotting
- Distributed data structure now support 128bit floating point precision (on Beta) - Distributed data structure now support 128bit floating point precision (on Beta)
- OpenFPM support for Microsoft Windows (Cygwin) compilation
### Fixed ### Fixed
- Detection 32 bit system and report as an error - Detection 32 bit system and report as an error
- Bug in rounding off for periodic boundary condition
### Changed ### Changed
- Nothing to report - Nothing to report
## [0.1.0] - 2015-02-05 ## [0.1.0] - 2016-02-05
### Added ### Added
- PSE 1D example - PSE 1D example
- Cell list example - Cell list example
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* *
* ## Simple example * ## Simple example
* *
* In this example we show 1D PSE derivative function approximation * In this example show an agent based simulation
* *
* ### WIKI END ### * ### WIKI END ###
* *
......
...@@ -78,7 +78,7 @@ int main(int argc, char* argv[]) ...@@ -78,7 +78,7 @@ int main(int argc, char* argv[])
const double eps = 2*spacing; const double eps = 2*spacing;
// Laplacian PSE kernel 1 dimension, on double, second order // Laplacian PSE kernel 1 dimension, on double, second order
Lap<1,double,2> lker(eps); Lap_PSE<1,double,2> lker(eps);
// //
// ### WIKI 2 ### // ### WIKI 2 ###
......
...@@ -254,10 +254,10 @@ fi ...@@ -254,10 +254,10 @@ fi
### Create example.mk ### Create example.mk
install_base=$(cat install_dir) install_base=$(cat install_dir)
echo "INCLUDE_PATH=-I. -I$install_base/openfpm_numerics/include -I$install_base/openfpm_pdata/include/config -I$install_base/openfpm_pdata/include -I$install_base/openfpm_data/include -I$install_base/openfpm_vcluster/include -I$install_base/openfpm_io/include -I$install_base/openfpm_devices/include -I$i_dir/METIS/include -I$i_dir/PARMETIS/include -I$i_dir/BOOST/include" > example.mk echo "INCLUDE_PATH=-I. -I$install_base/openfpm_numerics/include -I$install_base/openfpm_pdata/include/config -I$install_base/openfpm_pdata/include -I$install_base/openfpm_data/include -I$install_base/openfpm_vcluster/include -I$install_base/openfpm_io/include -I$install_base/openfpm_devices/include -I$i_dir/METIS/include -I$i_dir/PARMETIS/include -I$i_dir/BOOST/include -I$i_dir/HDF5/include" > example.mk
echo "LIBS_PATH= -L$install_base/openfpm_devices/lib -L$install_base/openfpm_pdata/lib -L$install_base/openfpm_vcluster/lib -L$i_dir/METIS/lib -L$i_dir/PARMETIS/lib -L$i_dir/BOOST/lib " >> example.mk echo "LIBS_PATH= -L$install_base/openfpm_devices/lib -L$install_base/openfpm_pdata/lib -L$install_base/openfpm_vcluster/lib -L$i_dir/METIS/lib -L$i_dir/PARMETIS/lib -L$i_dir/BOOST/lib -L$i_dir/HDF5/lib" >> example.mk
echo "LIBS=-lvcluster -lofpm_pdata -lofpmmemory -lmetis -lparmetis -lboost_iostreams" >> example.mk echo "LIBS=-lvcluster -lofpm_pdata -lofpmmemory -lmetis -lparmetis -lboost_iostreams -lhdf5" >> example.mk
echo "LIBS_SE2=-lvcluster -lofpmmemory_se2 -lparmetis -lmetis -lboost_iostreams" >> example.mk echo "LIBS_SE2=-lvcluster -lofpmmemory_se2 -lparmetis -lmetis -lboost_iostreams -lhdf5" >> example.mk
cp example.mk src/example.mk cp example.mk src/example.mk
cp example.mk example/example.mk cp example.mk example/example.mk
......
...@@ -7,6 +7,9 @@ if [ -d "$1/PARMETIS" ]; then ...@@ -7,6 +7,9 @@ if [ -d "$1/PARMETIS" ]; then
exit 0 exit 0
fi fi
## Remove old download
rm -rf parmetis-4.0.3
wget http://ppmcore.mpi-cbg.de/upload/parmetis-4.0.3.tar.gz wget http://ppmcore.mpi-cbg.de/upload/parmetis-4.0.3.tar.gz
tar -xf parmetis-4.0.3.tar.gz tar -xf parmetis-4.0.3.tar.gz
cd parmetis-4.0.3 cd parmetis-4.0.3
......
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