Skip to content

PCMDI tools problem - lats #1949

@durack1

Description

@durack1

The following problems are occurring with the PCMDI_tools - lats in particular:

[durack1@oceanonly 150219_AMIPForcingData]$ source /usr/local/uvcdat/2.4.1.rcf_all_pcmdi/bin/setup_runtime.csh
.//.: Permission denied.                                                                                      
Successfully updated your environment to use UVCDAT                                                           
(changes are valid for this session/terminal only)                                                            
Version: v2.5.0-291-g0fc5d7e                                                                                  
Location: /usr/local/uvcdat/2.4.1.rcf_all_pcmdi                                                               
Reset these changes by running: source /usr/local/uvcdat/2.4.1.rcf_all_pcmdi/bin/reset_runtime.csh            
[durack1@oceanonly 150219_AMIPForcingData]$ cl                                                                
[durack1@oceanonly 150219_AMIPForcingData]$ cd77 -ezget -lats mkhurrell1.f -o mkhurrell1 -fcray-pointer -std=legacy
/usr/local/uvcdat/2.4.1.rcf_all_pcmdi/Externals/lib/libgrib2c.a(dec_jpeg2000.o): In function `dec_jpeg2000':
dec_jpeg2000.c:(.text+0x3f): undefined reference to `jas_stream_memopen'
dec_jpeg2000.c:(.text+0x56): undefined reference to `jpc_decode'
dec_jpeg2000.c:(.text+0xe2): undefined reference to `jas_matrix_create'
dec_jpeg2000.c:(.text+0x13a): undefined reference to `jas_image_readcmpt'
dec_jpeg2000.c:(.text+0x1c0): undefined reference to `jas_matrix_destroy'
dec_jpeg2000.c:(.text+0x1cc): undefined reference to `jas_stream_close'
dec_jpeg2000.c:(.text+0x1db): undefined reference to `jas_image_destroy'
/usr/local/uvcdat/2.4.1.rcf_all_pcmdi/Externals/lib/libgrib2c.a(dec_png.o): In function `user_read_data':
dec_png.c:(.text+0x1c): undefined reference to `png_get_io_ptr'
/usr/local/uvcdat/2.4.1.rcf_all_pcmdi/Externals/lib/libgrib2c.a(dec_png.o): In function `dec_png':
dec_png.c:(.text+0xaf): undefined reference to `png_sig_cmp'
dec_png.c:(.text+0xd8): undefined reference to `png_create_read_struct'
dec_png.c:(.text+0xfb): undefined reference to `png_create_info_struct'
dec_png.c:(.text+0x11e): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x134): undefined reference to `png_create_info_struct'
dec_png.c:(.text+0x15c): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x18d): undefined reference to `png_destroy_read_struct'
dec_png.c:(.text+0x1c4): undefined reference to `png_set_read_fn'
dec_png.c:(.text+0x1e1): undefined reference to `png_read_png'
dec_png.c:(.text+0x1f4): undefined reference to `png_get_rows'
dec_png.c:(.text+0x241): undefined reference to `png_get_IHDR'
dec_png.c:(.text+0x333): undefined reference to `png_destroy_read_struct'
collect2: ld returned 1 exit status
[durack1@oceanonly 150219_AMIPForcingData]$

There is also a bug that has crept in that wasn't an issue in earlier releases:

Ok so close, but it doesn’t get the “robust” tag just yet..

It seems that lats (or the cdms relationship with lats) has changed between now and June 2015 when the identical code (run against the identical lats libraries that I compiled myself) that generated the boundary conditions last June.

We’re now getting this error from lats – in addition to not being able to compile mkhurrell1.f as below:
***
 Field written successfully by LATS: sic

      Creating coards           file with LATS:
           /work/durack1/Shared/150219_AMIPForcingData/360x180_v1.0.1/bcinfo_sic_360x180_v1.0.1
 ifreq:            6
     Defining a variable with LATS: sicmax
     Defining a variable with LATS: sicbcsmax
     Defining a variable with LATS: sicmin
     Defining a variable with LATS: sicbcsmin
     Defining a variable with LATS: sicvar
     Defining a variable with LATS: sicbcsvar
 time out:            0           1           0           0
LATS error (lats_write): LATS (lats.c) -->
  Invalid year: 0, file /work/durack1/Shared/150219_AMIPForcingData/360x180_v1.0.1/bcinfo_sic_360x180_v1.0.1.nc year <= 0 NOT Supported
  if climatology use year 2 in lats_write
***

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions