The error message is related to a permission issue (which is very puzzling in itself ...)

can you manually check the permissions ?

cd /home/pi/Downloads/openmpi-2.0.0/opal/asm

ls -l .deps/atomic-asm.Tpo atomic-asm.S


then you can

make clean

make V=1 atomic-asm.lo


and post the output


meanwhile, you can check your umask is correct (so files are created with the right permissions).

note unless you plan to install openmpi in /usr/local (e.g. sudo make install, after make)

you need to ./configure --prefix=<openmpi install path>

i also recommend you also --enable-mpirun-prefix-by-default


Cheers,


Gilles


On 8/5/2016 9:09 AM, Christiano SA wrote:
Hi,
I've downloaded the openmpi-2.0.0.tar.gz and done this:
$ tar -zxvf openmpi-2.0.0.tar.gz
$ cd openmpi-2.0.0
$ ./configure
(...)
$ make
but an error is happening:
(...)
Making all in include
make[2]: Entering directory '/home/pi/Downloads/openmpi-2.0.0/opal/include'
make  all-am
make[3]: Entering directory '/home/pi/Downloads/openmpi-2.0.0/opal/include'
make[3]: Leaving directory '/home/pi/Downloads/openmpi-2.0.0/opal/include'
make[2]: Leaving directory '/home/pi/Downloads/openmpi-2.0.0/opal/include'
Making all in asm
make[2]: Entering directory '/home/pi/Downloads/openmpi-2.0.0/opal/asm'
  CPPAS    atomic-asm.lo
atomic-asm.S:1:0: fatal error: opening dependency file .deps/atomic-asm.Tpo: Permission denied
        .text
 ^
compilation terminated.
make[2]: *** [Makefile:1735: atomic-asm.lo] Error 1
make[2]: Leaving directory '/home/pi/Downloads/openmpi-2.0.0/opal/asm'
make[1]: *** [Makefile:2301: all-recursive] Error 1
make[1]: Leaving directory '/home/pi/Downloads/openmpi-2.0.0/opal'
make: *** [Makefile:1800: all-recursive] Error 1
I use raspberry pi 2 (raspbian) as my desktop computer, however, I've done a test in my Solaris 13.1 x86 with Oracle Developer Studio 12.5 and the result is similar: an error around "all-recursive". I alread tried install the gnu-make lastest version and didn't work, same thing with dmake and gmake: error around "all-recursive". More information: The .deb (raspbian) packages are working and packages to solaris too, however I would like to compile the lastest version.
What did I do wrong?


_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

_______________________________________________
users mailing list
users@lists.open-mpi.org
https://rfd.newmexicoconsortium.org/mailman/listinfo/users

Reply via email to