Hi all!
I tried using "make" for ROMS 2.2 and it worked perfectly well. However, when I used "make" for ROMS 3.0, it gave me this error.
make: svnversion: Command not found
I have made sure that "make" version 3.81 was used, but somehow, ROMS 3.0 doesn't recognize the "make" command. Could anyone advise me as to where I can go to get the "make" command to work on ROMS 3.0 please? Thank you so much.
Cheers,
Dian
svnversion of "make"
-
- Posts: 12
- Joined: Mon May 15, 2006 1:18 pm
- Location: Scripps Institution of Oceanography
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
Hi,
I have the same issue too.
I've just ask our administrator to install make3.81 version. After 'make', it gives as follows :
[zhoufeng@oceanfe Ocean]$ make
: No such file or directory
makefile:230: INCLUDING FILE Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
make: svnversion: Command not found
./ROMS/Bin/sfmakedepend --cpp --fext=f90 --file=- --objdir=Build -DROMS_HEADER="upwelling.h" -I ROMS/Include -I ROMS/Nonlinear -I
..................
Master/ocean_control.F Master/ocean_coupler.F Master/propagator.F > Build/MakeDepend
: No such file or directory
make: *** No rule to make target `Build/MakeDepend', needed by `all'. Stop.
Can you tell me whats the problem?
Thanks in advance!
ZHOU
I have the same issue too.
I've just ask our administrator to install make3.81 version. After 'make', it gives as follows :
[zhoufeng@oceanfe Ocean]$ make
: No such file or directory
makefile:230: INCLUDING FILE Compilers/make_macros.mk WHICH CONTAINS APPLICATION-DEPENDENT MAKE DEFINITIONS
make: svnversion: Command not found
./ROMS/Bin/sfmakedepend --cpp --fext=f90 --file=- --objdir=Build -DROMS_HEADER="upwelling.h" -I ROMS/Include -I ROMS/Nonlinear -I
..................
Master/ocean_control.F Master/ocean_coupler.F Master/propagator.F > Build/MakeDepend
: No such file or directory
make: *** No rule to make target `Build/MakeDepend', needed by `all'. Stop.
Can you tell me whats the problem?
Thanks in advance!
ZHOU
You need to install svn on the machine you are compiling on. Type 'which svnversion' to see whether you have it installed.
Check the 'makefile' file, there is a line like:
SVNREV ?= $(shell svnversion -n .)
This tells the system which version of the code you are working on, and the version number will be shown in the log file. This is very useful when you are working on different versions of the code.
Check the 'makefile' file, there is a line like:
SVNREV ?= $(shell svnversion -n .)
This tells the system which version of the code you are working on, and the version number will be shown in the log file. This is very useful when you are working on different versions of the code.
- m.hadfield
- Posts: 521
- Joined: Tue Jul 01, 2003 4:12 am
- Location: NIWA
This message is a non-fatal warning
Sorry, FengZhou, I don't have much advice to offer about the problem you reported. You are using up-to-date versions of all the ROMS files, I presume?
Installing svn will provide a working svnversion command, thereby eliminating the message, but will not fix FengZhou's problem.make: svnversion: Command not found
Sorry, FengZhou, I don't have much advice to offer about the problem you reported. You are using up-to-date versions of all the ROMS files, I presume?