problem with latest makefile (Sept 10)

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
User avatar
donguiyo
Posts: 29
Joined: Thu Mar 11, 2004 5:17 pm
Location: BOEM

problem with latest makefile (Sept 10)

#1 Unread post by donguiyo »

I just retrieved update 108.

when I type makefile (after configuring it and after configuring Linux-ifort.mk) I get:

$ make
makefile:100: *** missing separator. Stop.

thx for any help

guiyo

jcwarner
Posts: 1172
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

#2 Unread post by jcwarner »

I just did an update on the roms trunk and line 100 of the makefile has:
USE_MPI ?=
Did you make any changes to this line?
IF you want to use mpi, then set
USE_MPI ?= on

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

#3 Unread post by kate »

What does "make --version" give you? Make sure it is a very recent GNU make.

User avatar
donguiyo
Posts: 29
Joined: Thu Mar 11, 2004 5:17 pm
Location: BOEM

#4 Unread post by donguiyo »

thx Kate, GNU version is okay I think: 3.80

I paste below line 100 and the next few ones (first one is line 100):

<<<<<<< .mine
<<<<<<<mine>>>>>>> .r41
>>>>>>> .r40

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

#5 Unread post by kate »

Your makefile has the <<< stuff in it? Those are the residue of an svn update or merge running into a conflict. You have to delete those lines. Anytime you get a C from "svn update" and extra files with names like makefile.r41, you have to clean things up before moving on.

"svn status" can show you the existence of such new bogus files.

User avatar
donguiyo
Posts: 29
Joined: Thu Mar 11, 2004 5:17 pm
Location: BOEM

#6 Unread post by donguiyo »

thx again Kate. That got ride of that error message but now it complains about the following:
$ make
mv ./Compilers/MakeDepend ./Compilers/MakeDepend.orig
mv: cannot stat `./Compilers/MakeDepend': No such file or directory
make: *** [Compilers/MakeDepend] Error 1

When I used previous versions the MakeDepend file was already there. Do we have to retrieve it apart? thx.

Guiyo

jcwarner
Posts: 1172
Joined: Wed Dec 31, 2003 6:16 pm
Location: USGS, USA

#7 Unread post by jcwarner »

try
svn status
and see if it is missing

User avatar
kate
Posts: 4088
Joined: Wed Jul 02, 2003 5:29 pm
Location: CFOS/UAF, USA

#8 Unread post by kate »

Just touch it to create an empty file. It looks like it's moving it to .orig then making the up-to-date version of it.

Post Reply