Skip to content
Snippets Groups Projects
Commit a514a46d authored by Pietro Incardona's avatar Pietro Incardona
Browse files

Fixing installation, use installation also for taurus

parent b3609355
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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 ""
......
......@@ -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 $<
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment