Ocean Modeling Discussion

ROMS/TOMS

Search for:
It is currently Sun Jul 21, 2019 9:21 pm




Post new topic Reply to topic  [ 5 posts ] 

All times are UTC

Author Message
PostPosted: Mon Apr 16, 2007 4:55 pm 
Hi, everyone,

I am trying to compile ROMS using make under Cygwin in a Windows XP computer, and I am unable to make it work.
I edited Makefile and provided the value for the FORT macro as FORT = g95. And similarly I defined the environmental variables NETCDF_INCDIR and NETCDF_LIBDIR in CYGWIN-g95.mk.

After I typed "make" , the following measseges were coming out,

$ make
/usr/bin/cpp -P -traditional -DCYGWIN -I/usr/include -DCYGWIN -DI686 -DG95 -IInclude -INonlinear -IDrivers Modeules/mod_kinds.F > mod_kinds.f90
Bin/cpp_clean mod_kinds.f90
make: Bin/cpp_clean: Command not found
make: *** [mod_kinds.f90] Error 127
rm mod_kinds.f90



I checked the directory /usr/bin/perl the file cpp.exe is there.


Any help would be highly appreciated. Thank you very much

Lucy


Top
  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 16, 2007 5:15 pm 
Offline

Joined: Wed Dec 31, 2003 6:16 pm
Posts: 786
Location: USGS, USA
try
cd Bin
ls -ltr cpp*
and see if cpp_clean is an executable (does it have an x for the permissoins)?
If not, then type
chmod +x cpp_clean
cd ..
make clean
make


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 16, 2007 9:22 pm 
The file cpp_clean is an executable (It has an x for the permissions).

Thank you, jcwarner.


Lucy


Top
  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 16, 2007 10:51 pm 
Offline
User avatar

Joined: Wed Jul 02, 2003 5:29 pm
Posts: 3633
Location: IMS/UAF, USA
cpp_clean is a Perl script. It is likely that you don't have Perl installed on your system or on your path. The top line of cpp_clean contains:
Code:
#!/usr/bin/env perl
Check to see if /usr/bin/env is there too.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Apr 16, 2007 11:43 pm 
Thanks, Kate. You are right. I don't have Perl installed on my system.

Lucy


Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group