Commit 50c8a15d authored by incardon's avatar incardon

Latest modules

parent a9af102b
openfpm_vcluster @ ec95a342
Subproject commit ad71d154d0a8420816f49b63dfa1f43084b13022
Subproject commit ec95a342bc6fc783099f3cb044ff4524348bfedf
......@@ -6,11 +6,11 @@ if [ -d "$1/MPI" ]; then
echo "MPI already installed"
exit 0
fi
rm -rf openmpi-2.1.1
rm openmpi-2.1.1.tar.bz2
wget http://ppmcore.mpi-cbg.de/upload/openmpi-2.1.1.tar.bz2
tar -xvf openmpi-2.1.1.tar.bz2
cd openmpi-2.1.1
rm -rf openmpi-3.1.1
rm openmpi-3.1.1.tar.gz
wget http://ppmcore.mpi-cbg.de/upload/openmpi-3.1.1.tar.gz
tar -xvf openmpi-3.1.1.tar.gz
cd openmpi-3.1.1
#
# --disable-mca-dso \
......@@ -25,10 +25,10 @@ cd openmpi-2.1.1
#
#
./configure --prefix=$1/MPI --enable-mpi-fortran=yes CC=$3 CXX=$4 F77=$4 FC=$5
./configure --with-cuda --prefix=$1/MPI --enable-mpi-fortran=yes CC=$3 CXX=$4 F77=$4 FC=$5
make -j $2
make install
# Mark the installation
echo 2 > $1/MPI/version
echo 3 > $1/MPI/version
......@@ -189,7 +189,7 @@ function remove_old()
if [ -d $1/MPI ]; then
version=$(cat $1/MPI/version)
if [ x"$version" != x"2" ]; then
if [ x"$version" != x"3" ]; then
echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m"
echo -e "\033[1;34;5m MPI has been updated to version 2.1.1, the component will be updated automatically \033[0m"
echo -e "\033[1;34;5m -------------------------------------------------------------------------------------- \033[0m"
......
......@@ -23,7 +23,7 @@ template<unsigned int dim, typename T>
class nn_prcs
{
//! Virtual cluster
Vcluster & v_cl;
Vcluster<> & v_cl;
//! List of adjacent processors
openfpm::vector<size_t> nn_processors;
......@@ -271,7 +271,7 @@ class nn_prcs
public:
//! Constructor require Vcluster
nn_prcs(Vcluster & v_cl)
nn_prcs(Vcluster<> & v_cl)
:v_cl(v_cl),recv_cnt(0),aBC(false)
{}
......
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