Quote:
Originally Posted by A. Singh
Hi all,
I am getting this error while installlation of openmpi-2.1.1 on ubuntu 14.04 server.
Code:
ubuntu@localhost:~/Desktop/openmpi/build$ make install
Making install in config
make[1]: Entering directory `/home/ubuntu/Desktop/openmpi/build/config'
make[2]: Entering directory `/home/ubuntu/Desktop/openmpi/build/config'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ubuntu/Desktop/openmpi/build/config'
make[1]: Leaving directory `/home/ubuntu/Desktop/openmpi/build/config'
Making install in contrib
make[1]: Entering directory `/home/ubuntu/Desktop/openmpi/build/contrib'
make[2]: Entering directory `/home/ubuntu/Desktop/openmpi/build/contrib'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/openmpi/amca-param-sets" || /bin/mkdir -p "/usr/local/share/openmpi/amca-param-sets"
/bin/mkdir: cannot create directory ‘/usr/local/share/openmpi’: Permission denied
make[2]: *** [install-dist_amca_paramDATA] Error 1
make[2]: Leaving directory `/home/ubuntu/Desktop/openmpi/build/contrib'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/ubuntu/Desktop/openmpi/build/contrib'
make: *** [install-recursive] Error 1
ubuntu@localhost:~/Desktop/openmpi/build$ ^C
ubuntu@localhost:~/Desktop/openmpi/build$ make install
Making install in config
make[1]: Entering directory `/home/ubuntu/Desktop/openmpi/build/config'
make[2]: Entering directory `/home/ubuntu/Desktop/openmpi/build/config'
make[2]: Nothing to be done for `install-exec-am'.
make[2]: Nothing to be done for `install-data-am'.
make[2]: Leaving directory `/home/ubuntu/Desktop/openmpi/build/config'
make[1]: Leaving directory `/home/ubuntu/Desktop/openmpi/build/config'
Making install in contrib
make[1]: Entering directory `/home/ubuntu/Desktop/openmpi/build/contrib'
make[2]: Entering directory `/home/ubuntu/Desktop/openmpi/build/contrib'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/local/share/openmpi/amca-param-sets" || /bin/mkdir -p "/usr/local/share/openmpi/amca-param-sets"
/bin/mkdir: cannot create directory ‘/usr/local/share/openmpi’: Permission denied
make[2]: *** [install-dist_amca_paramDATA] Error 1
make[2]: Leaving directory `/home/ubuntu/Desktop/openmpi/build/contrib'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/ubuntu/Desktop/openmpi/build/contrib'
make: *** [install-recursive] Error 1
Anyone who have faced same error?
|
First, read the "Question Guidelines" link in my posting signature. Doing basic research should be your first step...because putting "install openmpi on ubuntu 14" into Google pulls up, as the VERY FIRST HIT:
https://askubuntu.com/questions/6128...n-ubuntu-14-04
...instructions on how to install it. Secondly, you really need to install the packages, rather than building from source as you are, since it not only makes maintenance easier, but updates as well. And the errors you're getting can easily be resolved if you read the documentation that came with the source code. Because you're not running this as root, you don't have permissions (which is what's giving you the "permission denied" messages...) to create/write to those directories.