This is useful if you install the openmpi for local user without massing up the global environment settings:Īdd PATH=”$PATH:/home/$USER/.openmpi/bin” and LD_LIBRARY_PATH=”$LD_LIBRARY_PATH:/home/$USER/.openmpi/lib/” into. vim /etc/profileĪdd the previous export codes in Step 6 in the profile.Īnother alternative to Step 7 is to edit the. Step – 7: Add environment path into global profile. If everything goes fine, then you should see the following message : Step – 6: Setup environment path and test mpirun export PATH="$PATH:/home/$USER/.openmpi/bin"Įxport LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/home/$USER/.openmpi/lib/" Step – 5: Install the program make & sudo make install configure -prefix="/home/$USER/.openmpi" Step – 4: Configure the installation file. Step – 3: Extract the openmpi package and open the directory Step – 2 : Download the latest openmpi package from here Step – 1 : Install the basic dependency packages sudo apt-get install libibnetdisc-dev This post introduces the steps for installing the OPENMPI program in Ubuntu system for sudo user. My testing environment is : Ubuntu 14.04 TLS build-essential packages installed Now I will enumerate the steps below: Step - 1 : Install the basic.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |