#53997 closed defect (fixed)
ncarg 6.4 el cap build fails
Reported by: | basmac | Owned by: | tenomoto (Takeshi Enomoto) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.4.1 |
Keywords: | Cc: | Dave-Allured (Dave Allured) | |
Port: | ncarg |
Description (last modified by ryandesign (Ryan Carsten Schmidt))
ncarg 6.4 builds fine on Sierra but ncl fails on El Cap.
attached El Cap log.
Attachments (1)
Change History (12)
Changed 8 years ago by basmac
comment:2 Changed 8 years ago by mf2k (Frank Schima)
Cc: | takeshi@… removed |
---|---|
Keywords: | ncarg 6.4 removed |
Owner: | set to tenomoto |
Status: | new → assigned |
comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
Description: | modified (diff) |
---|
comment:4 Changed 8 years ago by tenomoto (Takeshi Enomoto)
I don't have El Capitan, but I was able to reproduce the problem on Mavericks. There are two problems.
- ezmapdemo, tdpackdemo and nnlag don't get libncarg_gks/awi/ggkwdr_stub.o linked. For each binary yMakefile needs a patch.
- In ncarg2d/src/libncarg_gks/cdrivers and ni/src/lib/hlu, headers are included with <> rather than "". So those already installed are used. There are too many files to patch. So I decided to force deactivate the old version before build. This problem caused the failure of libhlu.a, which is essential for ncl. I'll report this problem upstream.
Done in [df8fcee84fc6dea6bcfc17c831f43b0decc40ea7/macports-ports] If you can build ncarg with ncl successfully, I will close this ticket.
comment:5 Changed 8 years ago by basmac
Trying to rebuild ncarg, but getting errors in autopen and dirac....
comment:6 Changed 8 years ago by basmac
ncarg and ncl build now using 6.4 as I removed autogen and dirac. On tests thought that were fixed on 6.4 (bar.ncl) our local build works and the macports build fails. bash-3.2# /usr/local/bin/ncl /home/bmcinnes/test_regrid_grid.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. (0) Regrid option is on. (0) Plot option is off. (0) defining data array Variable: data Type: float Total Size: 259200 bytes 64800 values Number of Dimensions: 2 Dimensions and sizes: [lat | 180] x [lon | 360] Coordinates: lat: [-89.5..89.5] lon: [ 0..359] (0) Regridding! (0) defining new lat and lon arrays (0) defining options for regridding (0) Regridding using method = neareststod Variable: dataout Type: float Total Size: 1036800 bytes 259200 values Number of Dimensions: 2 Dimensions and sizes: [lat | 360] x [lon | 720] Coordinates: lat: [-89.75..89.75] lon: [ 0..359.5] Number Of Attributes: 3 missing_value : 9.96921e+36 remap : remapped via ESMF_regrid_with_weights: Nearest source to destination _FillValue : 9.96921e+36 bash-3.2# /opt/local/bin/ncl /home/bmcinnes/test_regrid_grid.ncl Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details. (0) Regrid option is on. (0) Plot option is off. (0) defining data array Variable: data Type: float Total Size: 259200 bytes 64800 values Number of Dimensions: 2 Dimensions and sizes: [lat | 180] x [lon | 360] Coordinates: lat: [-89.5..89.5] lon: [ 0..359] (0) Regridding! (0) defining new lat and lon arrays (0) defining options for regridding (0) Regridding using method = neareststod 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 fatal:["Execute.c":8640]:Execute: Error occurred at or near line 1847 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl fatal:["Execute.c":8640]:Execute: Error occurred at or near line 3910 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl fatal:["Execute.c":8640]:Execute: Error occurred at or near line 4042 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl fatal:["Execute.c":8640]:Execute: Error occurred at or near line 69 in file /home/bmcinnes/test_regrid_grid.ncl bash-3.2#
bash-3.2# /opt/local/bin/ncl /home/bmcinnes/bar.ncl
Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details.
Variable: nc_file_type Type: string Total Size: 8 bytes
1 values
Number of Dimensions: 1 Dimensions and sizes: [1] Coordinates: (0) netcdf3 fatal:Variable (nc_file_type) is undefined fatal:["Execute.c":8640]:Execute: Error occurred at or near line 10 in file /home/bmcinnes/bar.ncl
fatal:["Execute.c":8640]:Execute: Error occurred at or near line 16 in file /home/bmcinnes/bar.ncl
bash-3.2# /usr/local/bin/ncl /home/bmcinnes/bar.ncl
Copyright (C) 1995-2017 - All Rights Reserved University Corporation for Atmospheric Research NCAR Command Language Version 6.4.0 The use of this software is governed by a License Agreement. See http://www.ncl.ucar.edu/ for more details.
Variable: nc_file_type Type: string Total Size: 8 bytes
1 values
Number of Dimensions: 1 Dimensions and sizes: [1] Coordinates: (0) netcdf3
Variable: nc_file_type Type: string Total Size: 8 bytes
1 values
Number of Dimensions: 1 Dimensions and sizes: [1] Coordinates: (0) netcdf4
Variable: nc_file_type Type: string Total Size: 8 bytes
1 values
Number of Dimensions: 1 Dimensions and sizes: [1] Coordinates: (0) netcdf3 bash-3.2#
bash-3.2# cat /home/bmcinnes/bar.ncl
procedure curvilinear_to_SCRIP(Opt[1]:logical) begin
if (isatt(Opt,"NetCDFType").and.\
str_lower(Opt@NetCDFType).eq."netcdf4") then
setfileoption("nc","Format","netcdf4") nc_file_type = "netcdf4"
else
nc_file_type = "netcdf3"
end if print(nc_file_type)
end ; of curvilinear_to_SCRIP(...) begin
Opt = True curvilinear_to_SCRIP(Opt) Opt@NetCDFType = "netcdf4" curvilinear_to_SCRIP(Opt) Opt@NetCDFType = "netcdf3" curvilinear_to_SCRIP(Opt)
end
bash-3.2#
comment:7 Changed 6 years ago by Dave-Allured (Dave Allured)
Cc: | Dave-Allured added |
---|
comment:8 Changed 4 years ago by Dave-Allured (Dave Allured)
The build issue for ncarg 6.4 was resolved. The script failure was resolved later by another update or rebuild, I do not know what or when. Ncarg is now several versions more recent, and not encountering this script failure.
Please close this ticket.
comment:9 Changed 4 years ago by Dave-Allured (Dave Allured)
#53031 is the resolution for the reported script failure of "bar.ncl". That failure was an incompatibility between older versions of ncarg and a dependency.
That problem is solved. Please close this ticket.
comment:10 Changed 4 years ago by tenomoto (Takeshi Enomoto)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:11 Changed 4 years ago by tenomoto (Takeshi Enomoto)
I don't have arm64 Mac ready yet. As soon as I set up one, I'll work on this problem. Could be an upstream problem.
port -d install ncarg