Hi, I have built Open MPI 2.1.2 multiple times on Ubuntu 16.04 and then I add the line
orte_default_hostfile=/etc/openmpi/openmpi-default-hostfile to the file /etc/openmpi/openmpi-mca-params.conf and I execute sudo chown myUsername /etc/openmpi/openmpi-default-hostfile For some reason this change never goes through and each time I run a program with mpirun only one local process runs. So I have to manually specify my hostname with the --hostfile argument. What can be the cause of this? The exact series of commands I use for building is the following sudo apt-get update sudo apt-get upgrade sudo apt-get install g++ sudo apt-get install valgrind sudo apt-get install libopenmpi-dev sudo apt-get install gfortran sudo apt-get install make wget https://www.open-mpi.org/software/ompi/v2.1/downloads/openmpi-2.1.2.tar.gz tar -xvf openmpi-* && cd openmpi-* ./configure --prefix=/usr/local --enable-mpi-cxx --enable-debug --enable-memchecker --with-valgrind=/usr sudo make all install Then, I add the following lines to the .bashrc file (Is this necessary?) export PATH="$PATH:/usr/local/bin" export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/lib" for setting the path and library path, respectively and of course reload .bashrc. Is the above way of installing Open MPI correct? I am really wondering since I have no solid Linux knowledge.
_______________________________________________ users mailing list users@lists.open-mpi.org https://lists.open-mpi.org/mailman/listinfo/users