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

Questions regarding compilation of VASP on various platforms.

Moderators: Moderator, Global Moderator

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

Postby 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
lineyarna
Newbie
Newbie
 
Posts: 5
Joined: Tue Jul 09, 2013 8:34 pm

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

Postby 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.
admin
Administrator
Administrator
 
Posts: 2917
Joined: Tue Aug 03, 2004 8:18 am

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

Postby 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
lineyarna
Newbie
Newbie
 
Posts: 5
Joined: Tue Jul 09, 2013 8:34 pm


Return to Installation problems

Who is online

Users browsing this forum: Google [Bot] and 0 guests