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
build/gam' .objects:67: *** commands commence before first
Moderators: Global Moderator, Moderator
-
- Newbie
- Posts: 5
- Joined: Tue Jul 09, 2013 8:34 pm
-
- Administrator
- Posts: 2921
- Joined: Tue Aug 03, 2004 8:18 am
- License Nr.: 458
Re: build/gam' .objects:67: *** commands commence before fir
Why not starting make in the top level directory?
The problem seems to be connected with changing
directories.
The problem seems to be connected with changing
directories.
-
- Newbie
- Posts: 5
- Joined: Tue Jul 09, 2013 8:34 pm
Re: build/gam' .objects:67: *** commands commence before fir
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
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