build/gam' .objects:67: *** commands commence before first

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

Moderators: Global Moderator, Moderator

Post Reply
Message
Author
lineyarna
Newbie
Newbie
Posts: 5
Joined: Tue Jul 09, 2013 8:34 pm

build/gam' .objects:67: *** commands commence before first

#1 Post by lineyarna » Fri May 27, 2016 3:37 am

I'm trying to compile vasp.5.4.1 on a Linux x86_64 cluster ifort (IFORT) 13.0.0 20120731 and the /apps64/intel composer_xe_2013 mkl version and I get this error

mkdir build/gam ; \
cp src/makefile src/.objects makefile.include build/gam ; \
make -C build/gam VERSION=gam all
make[1]: Entering directory `/nfs/stak/faculty/a/arnadotl/VASP.5.4.1.GPU/vasp.5.4.1/build/gam'
.objects:67: *** commands commence before first target. Stop.

the gam folder has makefile and makefile.include but I can't find anything that could lead to this error.
My web search didn't give me any leads either, has anyone else seen this error ?

Regards
Liney

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

Re: build/gam' .objects:67: *** commands commence before fir

#2 Post by admin » Wed Jun 01, 2016 2:58 pm

Why not starting make in the top level directory?
The problem seems to be connected with changing
directories.

lineyarna
Newbie
Newbie
Posts: 5
Joined: Tue Jul 09, 2013 8:34 pm

Re: build/gam' .objects:67: *** commands commence before fir

#3 Post by lineyarna » Thu Jun 02, 2016 2:18 am

Thank you

I made a file called VASP.5.4.1.GPU where I unpacked the vasp.5.4.1 so this is where I'm compiling.
VASP.5.4.1.GPU/vasp.5.4.1
Moving up a folder and make results in the error below, which I think suggests that I should be inside the vasp.5.4.1 folder

mkdir build/std ; \
cp src/makefile src/.objects makefile.include build/std ; \
make -C build/std VERSION=std all
mkdir: cannot create directory `build/std': No such file or directory
cp: target `build/std' is not a directory
make: *** build/std: No such file or directory. Stop.
make: *** [std] Error 2

Post Reply