Error while compiling ROMS

Bug reports, work arounds and fixes

Moderators: arango, robertson

Post Reply
Message
Author
cloudy4568
Posts: 39
Joined: Thu Oct 17, 2019 8:56 pm
Location: Clarkson University

Error while compiling ROMS

#1 Unread post by cloudy4568 »

Hi all,

This is an error while I compiling the 'upwelling' test on our school's cluster.
When everything was done and typed './build_roms.bash', the error occured

'rm -f -r core *.ipo /home/cyue/roms/upwelling/Build_roms /home/cyue/make_macros.mk
cp -f /home/cyue/nc/nc/include/netcdf.mod /home/cyue/roms/upwelling/Build_roms
cp -f /home/cyue/nc/nc/include/typesizes.mod /home/cyue/roms/upwelling/Build_roms
Can't locate Pod/Escapes.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /usr/share/perl5/Pod/Simple.pm line 8.
BEGIN failed--compilation aborted at /usr/share/perl5/Pod/Simple.pm line 8.
Compilation failed in require at /usr/share/perl5/Pod/Text.pm line 33.
BEGIN failed--compilation aborted at /usr/share/perl5/Pod/Text.pm line 33.
Compilation failed in require at /usr/share/perl5/Pod/Usage.pm line 452.
BEGIN failed--compilation aborted at /usr/share/perl5/Pod/Usage.pm line 459.
Compilation failed in require at ./ROMS/Bin/sfmakedepend line 18.
BEGIN failed--compilation aborted at ./ROMS/Bin/sfmakedepend line 18.
make: *** No rule to make target `/home/cyue/roms/upwelling/Build_roms/MakeDepend', needed by `all'. Stop. '

Do you know how to fix this bug and compile ROMS, thank you.

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

Re: Error while compiling ROMS

#2 Unread post by kate »

This is a problem with your Perl. What version of Perl is this? My Perl works:
chinook03.rcs.alaska.edu 435% perl -v

This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-thread-multi

cloudy4568
Posts: 39
Joined: Thu Oct 17, 2019 8:56 pm
Location: Clarkson University

Re: Error while compiling ROMS

#3 Unread post by cloudy4568 »

kate wrote: Thu Oct 24, 2019 6:49 pm This is a problem with your Perl. What version of Perl is this? My Perl works:
chinook03.rcs.alaska.edu 435% perl -v

This is perl 5, version 22, subversion 1 (v5.22.1) built for x86_64-linux-thread-multi
The version of perl on the cluster: 'This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi'
There are no descriptions about perl in the instruction on website 'https://www.myroms.org/wiki/ROMS_UNSW2008', so I didn't care about that.
When compiling, the model is using cluster's perl, so do I need to install a new perl?

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

Re: Error while compiling ROMS

#4 Unread post by kate »

Since my Perl is dated 2015 and yours is rather older, it might help if you could try a newer Perl.

cloudy4568
Posts: 39
Joined: Thu Oct 17, 2019 8:56 pm
Location: Clarkson University

Re: Error while compiling ROMS

#5 Unread post by cloudy4568 »

kate wrote: Thu Oct 24, 2019 7:14 pm Since my Perl is dated 2015 and yours is rather older, it might help if you could try a newer Perl.
Thank you, Kate, that's the problem.
I updated Perl by re-installing Linux on my desktop, then the compilation is successful now.

Post Reply