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
a514a46d
Commit
a514a46d
authored
Sep 24, 2015
by
incardon
Browse files
Fixing installation, use installation also for taurus
parent
b3609355
Changes
3
Hide whitespace changes
Inline
Side-by-side
build_pdata.sh
View file @
a514a46d
...
...
@@ -150,8 +150,7 @@ then
module unload bullxmpi
module load metis/5.1.0
sh ./autogen.sh
./configure
--with-metis
=
$METIS_ROOT
--with-boost
=
$BOOST_ROOT
CXX
=
mpic++
./install
-s
-c
"--with-metis=
$METIS_ROOT
--with-boost=
$BOOST_ROOT
CXX=mpic++"
make
if
[
$?
-ne
0
]
;
then
exit
1
;
fi
...
...
install
View file @
a514a46d
...
...
@@ -208,7 +208,8 @@ install_base=$(cat install_dir)
echo
"INCLUDE_PATH=-I. -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"
>
example.mk
echo
"LIBS_PATH=-L
$install_base
/openfpm_devices/lib -L
$install_base
/openfpm_vcluster/lib -L
$i_dir
/METIS/lib "
>>
example.mk
echo
"LIBS=-lvcluster -lofpmmemory -lmetis -lboost_iostreams"
>>
example.mk
mv
example.mk example/example.mk
cp
example.mk src/example.mk
cp
example.mk example/example.mk
echo
""
echo
""
...
...
src/Makefile.am
View file @
a514a46d
...
...
@@ -11,8 +11,8 @@ nobase_include_HEADERS = Decomposition/CartDecomposition.hpp Decomposition/commo
Grid/grid_dist_id.hpp Grid/grid_dist_id_iterator.hpp Grid/grid_dist_key.hpp
\
Vector/vector_dist.hpp Vector/vector_dist_iterator.hpp Vector/vector_dist_key.hpp
\
config/config.h
\
example.mk
\
metis_util.hpp dec_optimizer.hpp SubdomainGraphNodes.hpp
include_HEADERS
=
../example/example.mk
.cu.o
:
$(NVCC)
$(NVCCFLAGS)
-o
$@
-c
$<
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