ROMS/TOMS Plotting

Discussion on computers, ROMS installation and compiling

Moderators: arango, robertson

Post Reply
Message
Author
thaitlhp
Posts: 15
Joined: Thu Apr 05, 2018 6:34 pm
Location: Ha Noi University Sience and Technology, Vietnam

ROMS/TOMS Plotting

#1 Unread post by thaitlhp »

when i Installing the ROMS/TOMS Plotting Package folow link: https://www.myroms.org/wiki/Plotting_Pa ... stallation
when i " sudo make" i got:
This makefile requires one of GNU make version 3.80 3.81 3.82..
so i MUST use GNU make 3.8x,...?

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

Re: ROMS/TOMS Plotting

#2 Unread post by kate »

No, no, better to edit the makefile to match that of ROMS. Specifically, these lines:

Code: Select all

ifneq (3.80,$(firstword $(sort $(MAKE_VERSION) 3.80)))
 $(error This makefile requires GNU make version 3.80 or higher. \
                Your current version is: $(MAKE_VERSION))
endif

thaitlhp
Posts: 15
Joined: Thu Apr 05, 2018 6:34 pm
Location: Ha Noi University Sience and Technology, Vietnam

Re: ROMS/TOMS Plotting

#3 Unread post by thaitlhp »

kate wrote:No, no, better to edit the makefile to match that of ROMS. Specifically, these lines:

Code: Select all

ifneq (3.80,$(firstword $(sort $(MAKE_VERSION) 3.80)))
 $(error This makefile requires GNU make version 3.80 or higher. \
                Your current version is: $(MAKE_VERSION))
endif
Thank Kate!
but after i code "make" :
make: /opt/g95soft/serial/netcdf4/bin/nc-config: Command not found
make: /opt/g95soft/serial/netcdf4/bin/nc-config: Command not found
Bin/sfmakedepend --cpp --fext=f90 --file=- --objdir=Build_plt -I Include -I Util
ity --silent --moddir Build_plt Utility/curlz.F Utility/velocity.F Utility/slev
els.F Utility/xhslice.F Utility/checkstrm.F Utility/cntint.F Utility/cnt_frame.F
Utility/draw_line.F Utility/fdiag.F Utility/time_indx.F Utility/hindices.F Util
ity/barlab.F Utility/wind_barbs.F Utility/get_dpres.F Utility/entropy.F Utility/
draw_user.F Utility/get_ape.F Utility/get_wcurl.F Utility/check3d.F Utility/cfie
ld.F Utility/get_bvf.F Utility/setcolpal.F Utility/ri_number.F Utility/landmask.
F Utility/great_int.F Utility/colram.F Utility/depth_iso.F Utility/get_pv.F Util
ity/sec_axis.F Utility/get_2dfld.F Utility/datevec.F Utility/dens.F Utility/what
_flds.F Utility/zisopyc.F Utility/dombox.F Utility/get_scoor.F Utility/get_nc2da
t.F Utility/xsection.F Utility/yearday.F Utility/maptitles.F Utility/hordiv.F Ut
ility/areamask.F Utility/cvector.F Utility/get_ncobs.F Utility/lenstr.F Utility/
sec_frame.F Utility/get_nc3pos.F Utility/get_bernoulli.F Utility/readpal.F Utili
ty/mskscl.F Utility/get_pltday.F Utility/read_fname.F Utility/clrbox.F Utility/s
plint.F Utility/drawcl.F Utility/get_nc1dat.F Utility/get_jebar.F Utility/hbackg
round.F Utility/datestr.F Utility/get_ertel.F Utility/vecmag.F Utility/depth_lab
.F Utility/vvumxy.F Utility/cntpack.F Utility/opencdf.F Utility/ertel.F Utility/
spline.F Utility/bcintrp.F Utility/day_code.F Utility/get_entropy.F Utility/insi
de.F Utility/get_rig.F Utility/mapeod.F Utility/crash.F Utility/geodesic_dist.F
Utility/mskerr.F Utility/get_isosur.F Utility/lintrp.F Utility/vbackground.F Uti
lity/jebar.F Utility/stumsl.F Utility/svel.F Utility/stumxy.F Utility/datenum.F
Utility/get_pig.F Utility/readpar.F Utility/get_nc3dat.F Utility/vecpack.F Utili
ty/cgrid.F Utility/box.F Utility/relvor.F Utility/get_date.F Utility/check2d.F U
tility/viewport.F Utility/streamlines.F Utility/get_hdiv.F Utility/cntcolor.F Ut
ility/vvtext.F Utility/get_rvor.F Utility/bv_freq.F Utility/fldnam2id.F Utility/
get_hslope.F Utility/caldate.F Utility/sec_rotvec.F Utility/vindices.F Utility/z
grid.F Utility/cpmpxz2d.F Utility/bernoulli.F Utility/get_nc2pos.F Utility/get_3
dfld.F Utility/filter.F Utility/dateref.F Utility/gksinit.F Utility/cpmpxy2d.F U
tility/areafill.F Utility/colorbar.F Drivers/Fnames.F Drivers/csec.F Drivers/sec
.F Drivers/ccnt.F Drivers/fieldid.F Drivers/cnt.F > Build_plt/MakeDepend
make: /opt/g95soft/serial/netcdf4/bin/nc-config: Command not found
make: /opt/g95soft/serial/netcdf4/bin/nc-config: Command not found
/usr/bin/cpp -P -traditional -I/include -DLINUX -DX86_64 -DG77 -DNCARG520 -Drmdo
cinc -IInclude -IUtility Utility/curlz.F > Build_plt/curlz.f90
Bin/cpp_clean Build_plt/curlz.f90
cd Build_plt; -c -fno-second_underscore -O3 -ffast-math curlz.f90
/bin/sh: 1: -c: not found
Utility/Module.mk:15: recipe for target 'Build_plt/curlz.o' failed
make: *** [Build_plt/curlz.o] Error 127

Post Reply