error in comile a file

General scientific issues regarding ROMS

Moderators: arango, robertson

Post Reply
Message
Author
tahmineh56
Posts: 1
Joined: Thu May 09, 2019 3:25 pm
Location: khoramshar university

error in comile a file

#1 Unread post by tahmineh56 »

hi
when i want compile a file i give these error :
make: *** No rule to make target 'clean'. Stop.
make: *** No targets specified and no makefile found. Stop.
i sure that there is makefile in a path.
what can i do?

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

Re: error in comile a file

#2 Unread post by jcwarner »

probably sounds like you did not set the correct compiler in the build.bash script.
need to set
export FORT=ifort
or
export FORT=gfortran
or
export FORT=pgi

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

Re: error in comile a file

#3 Unread post by kate »

Actually the error is that it can't find the makefile. Do you have the correct path to your ROMS sources? The makefile should be in the top directory there.

Post Reply