make: execvp:

Questions regarding the compilation of VASP on various platforms: hardware, compilers and libraries, etc.


Moderators: Global Moderator, Moderator

Post Reply
Message
Author
Sonny
Newbie
Newbie
Posts: 24
Joined: Wed Feb 17, 2010 11:34 pm
License Nr.: 1118

make: execvp:

#1 Post by Sonny » Thu May 13, 2010 4:03 am

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......
Last edited by Sonny on Thu May 13, 2010 4:03 am, edited 1 time in total.

enlvamp
Newbie
Newbie
Posts: 7
Joined: Fri Mar 26, 2010 7:18 pm

make: execvp:

#2 Post by enlvamp » Thu May 13, 2010 6:14 pm

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.
Last edited by enlvamp on Thu May 13, 2010 6:14 pm, edited 1 time in total.

Sonny
Newbie
Newbie
Posts: 24
Joined: Wed Feb 17, 2010 11:34 pm
License Nr.: 1118

make: execvp:

#3 Post by Sonny » Thu May 13, 2010 11:41 pm

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>
Last edited by Sonny on Thu May 13, 2010 11:41 pm, edited 1 time in total.

alex
Hero Member
Hero Member
Posts: 585
Joined: Tue Nov 16, 2004 2:21 pm
License Nr.: 5-67
Location: Germany

make: execvp:

#4 Post by alex » Sat May 22, 2010 9:51 am

maybe your administrator disabled it for some reason?
Last edited by alex on Sat May 22, 2010 9:51 am, edited 1 time in total.

Sonny
Newbie
Newbie
Posts: 24
Joined: Wed Feb 17, 2010 11:34 pm
License Nr.: 1118

make: execvp:

#5 Post by Sonny » Tue May 25, 2010 12:55 am

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
Last edited by Sonny on Tue May 25, 2010 12:55 am, edited 1 time in total.

alex
Hero Member
Hero Member
Posts: 585
Joined: Tue Nov 16, 2004 2:21 pm
License Nr.: 5-67
Location: Germany

make: execvp:

#6 Post by alex » Tue May 25, 2010 10:04 am

Type

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

on a prompt and post the answer.

alex
Last edited by alex on Tue May 25, 2010 10:04 am, edited 1 time in total.

Sonny
Newbie
Newbie
Posts: 24
Joined: Wed Feb 17, 2010 11:34 pm
License Nr.: 1118

make: execvp:

#7 Post by Sonny » Tue May 25, 2010 10:59 pm

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>
Last edited by Sonny on Tue May 25, 2010 10:59 pm, edited 1 time in total.

alex
Hero Member
Hero Member
Posts: 585
Joined: Tue Nov 16, 2004 2:21 pm
License Nr.: 5-67
Location: Germany

make: execvp:

#8 Post by alex » Wed May 26, 2010 7:16 am

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
Last edited by alex on Wed May 26, 2010 7:16 am, edited 1 time in total.

admin
Administrator
Administrator
Posts: 2921
Joined: Tue Aug 03, 2004 8:18 am
License Nr.: 458

make: execvp:

#9 Post by admin » Wed Jun 30, 2010 12:28 pm

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.
Last edited by admin on Wed Jun 30, 2010 12:28 pm, edited 1 time in total.

Post Reply