Page 1 of 1

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

Posted: Fri May 27, 2016 3:37 am
by lineyarna
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

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

Posted: Wed Jun 01, 2016 2:58 pm
by admin
Why not starting make in the top level directory?
The problem seems to be connected with changing
directories.

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

Posted: Thu Jun 02, 2016 2:18 am
by lineyarna
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