Opened 6 years ago

Closed 6 years ago

#57027 closed defect (fixed)

ncarg ESMF operator fails

Reported by: lvankampenhout (Leo van Kampenhout) Owned by: tenomoto (Takeshi Enomoto)
Priority: Normal Milestone:
Component: ports Version: 2.4.2
Keywords: Cc: Dave-Allured (Dave Allured)
Port: ncarg

Description

Hello, my scripts use NCL's ESMF functionality to generate grid description files (SCRIP) but they don't seem work in Macports. Minimal example attached and error below. On a different machine (Linux) with the same version of NCL (6.4.0) the example runs without problems, so my suspicion is that something went awry with the porting.

fatal:Variable (Opt) is undefined
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1613 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
port installed ncarg
  ncarg @6.4.0_4+gcc6 (active)

Attachments (2)

target_grid2.nc (1.5 MB) - added by lvankampenhout (Leo van Kampenhout) 6 years ago.
input file
genweights.ncl (529 bytes) - added by lvankampenhout (Leo van Kampenhout) 6 years ago.
the example script

Download all attachments as: .zip

Change History (8)

Changed 6 years ago by lvankampenhout (Leo van Kampenhout)

Attachment: target_grid2.nc added

input file

Changed 6 years ago by lvankampenhout (Leo van Kampenhout)

Attachment: genweights.ncl added

the example script

comment:1 Changed 6 years ago by mf2k (Frank Schima)

Keywords: ncarg ncl removed
Owner: set to tenomoto
Status: newassigned

In the future, please add the port maintainer(s) to Cc (port info --maintainers ncarg), if any.

comment:2 in reply to:  1 Changed 6 years ago by lvankampenhout (Leo van Kampenhout)

Replying to mf2k:

In the future, please add the port maintainer(s) to Cc (port info --maintainers ncarg), if any.

OK, I'll do that

comment:3 Changed 6 years ago by Dave-Allured (Dave Allured)

Cc: Dave-Allured added

comment:4 Changed 6 years ago by Dave-Allured (Dave Allured)

Leo, there are known serious problems with the Mac Ports build of NCL/ncarg 6.4.0. Notice that #53031 was never fixed except by upgrading to 6.5.0.

Please update to ncarg 6.5.0 and let us know whether the ESMF problem resolves. Thank you.

comment:5 Changed 6 years ago by lvankampenhout (Leo van Kampenhout)

Thanks, the problem went away with NCL 6.5.0

comment:6 Changed 6 years ago by mf2k (Frank Schima)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.