Page 1 of 1

make: execvp:

Posted: Thu May 13, 2010 4:03 am
by Sonny
HI;

I am trying to compile and have been struck by the error

make: execvp: /opt/intel/Compiler/11.1/072/bin/ia32: Permission denied
make: *** [vasp] Error 127

I use openmpi, ifort and system optimised BLAS.

Any pointers would be appreciated......

make: execvp:

Posted: Thu May 13, 2010 6:14 pm
by enlvamp
First off all, is your system 32 bits ? Once vasp is a heavy program, it useless to make it a 32 bit executable, once some times 10 g is a poor memory, i cant imagine what can u do in 32 bits once it doesn't use more then 4 Gigas of ram.
After you have a 64 bits operating system if your compiling something out of your home directory, you should compile as root user, or if you have extracted the file in your home as root user, delete it, extract it as normal user and them compile. I suggest compile it as a root in other place like /opt or /usr/local to give right to all the other users to run the program.

make: execvp:

Posted: Thu May 13, 2010 11:41 pm
by Sonny
yes thanks;
I am trying to install VASP on my desktop to run the tutorials etc..
It is a a 32 bit for some reason..


<span class='smallblacktext'>[ Edited Sun May 16 2010, 09:33PM ]</span>

make: execvp:

Posted: Sat May 22, 2010 9:51 am
by alex
maybe your administrator disabled it for some reason?

make: execvp:

Posted: Tue May 25, 2010 12:55 am
by Sonny
Hello again;

I still have the same error on 64 bit; VASP has been compiled as root and I am installing as root.

make: execvp: /opt/intel/Compiler/11.1/072/bin/intel64: Permission denied
make: *** [base.o] Error 127

make: execvp:

Posted: Tue May 25, 2010 10:04 am
by alex
Type

ls -l /opt/intel/Compiler/11.1/072/bin/intel64

on a prompt and post the answer.

alex

make: execvp:

Posted: Tue May 25, 2010 10:59 pm
by Sonny
Hi ; this is the output



-rwxrwxr-x 1 root root 1696936 2010-04-15 14:19 codecov
drwxr-xr-x 2 root root 4096 2010-05-26 11:17 en_US
-rwxrwxr-x 1 root root 35217769 2010-04-15 14:19 fortcom
-rwxrwxr-x 1 root root 200021 2010-04-15 14:19 fpp
-rw-rw-r-- 1 root root 355756 2010-04-01 03:46 ia32.xrd
-rwxr-xr-x 1 root root 3838317 2010-04-15 14:19 icc
-rw-rw-r-- 1 root root 1 2010-05-26 11:19 icc.cfg
-rw-rw-r-- 1 root root 3325 2010-05-26 11:19 iccvars_intel64.csh
-rw-rw-r-- 1 root root 3602 2010-05-26 11:19 iccvars_intel64.sh
-rwxr-xr-x 1 root root 3838317 2010-04-15 14:19 icpc
-rw-rw-r-- 1 root root 1 2010-05-26 11:19 icpc.cfg
-rwxr-xr-x 1 root root 3365 2010-05-26 11:19 idb
-rwxr-xr-x 1 root root 884 2010-05-26 11:19 idbc
-rwxr-xr-x 1 root root 3123 2010-04-01 03:46 idb.el
-rw-rw-r-- 1 root root 321 2010-05-26 11:19 idbvars.csh
-rw-rw-r-- 1 root root 341 2010-05-26 11:19 idbvars.sh
-rwxr-xr-x 1 root root 3794503 2010-04-15 14:19 ifort
-rw-rw-r-- 1 root root 63 2010-05-26 11:19 ifort.cfg
-rw-rw-r-- 1 root root 3312 2010-05-26 11:19 ifortvars_intel64.csh
-rw-rw-r-- 1 root root 3602 2010-05-26 11:19 ifortvars_intel64.sh
-rwxr-xr-x 1 root root 15191080 2010-04-01 03:46 iidb
drwxr-xr-x 2 root root 4096 2010-05-26 11:17 ja_JP
-rwxrwxr-x 1 root root 448310 2010-04-15 14:19 map_opts
-rwxrwxr-x 1 root root 31006076 2010-04-15 14:19 mcpcom
-rwxrwxr-x 1 root root 88446 2010-04-15 14:19 prelink
-rwxrwxr-x 1 root root 222838 2010-04-15 14:19 profdcg
-rwxrwxr-x 1 root root 321806 2010-04-15 14:19 profmerge
-rwxrwxr-x 1 root root 272273 2010-04-15 14:19 proforder
-rwxrwxr-x 1 root root 31974407 2010-04-15 14:19 svcpcom
-rwxrwxr-x 1 root root 36185826 2010-04-15 14:19 svfortcom
-rwxrwxr-x 1 root root 1510702 2010-04-15 14:19 tselect
-rwxr-xr-x 1 root root 64708 2010-05-26 11:19 uninstall_cproc.sh
-rwxr-xr-x 1 root root 64708 2010-05-26 11:19 uninstall_cprof.sh
-rwxr-xr-x 1 root root 64708 2010-05-26 11:19 uninstall_debugger.sh
-rwxrwxr-x 1 root root 1800106 2010-04-15 14:19 xiar
-rwxrwxr-x 1 root root 1971570 2010-04-15 14:19 xild

and the error is the same

make: execvp: /opt/intel/Compiler/11.1/072/bin/intel64: Permission denied
make: *** [vasp] Error 127

Thanks
<span class='smallblacktext'>[ Edited Wed May 26 2010, 01:30AM ]</span>

make: execvp:

Posted: Wed May 26, 2010 7:16 am
by alex
Well, now I got it. ;-)
The compiler is named "ifort" and you are trying to execute the folder. Just add "/ifort" at the proper position in the makefile or setup a module environment for ifort. Then no complete path would be necessary.
Be careful at linking: You might mix 32 and 64 bit libraries easily.

Cheers

alex

make: execvp:

Posted: Wed Jun 30, 2010 12:28 pm
by admin
please ask your sys admin to set the execution rights for using the compiler correctly if you want to compile sth without being the superuser.