Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Problem building CAM3.1 on an IBM

ginah@udel_edu

New Member
Hi,

I am trying to compile and run CAM3.1 on an IBM and am having some problems with my netcdf libraries. As far as I can tell the build is almost complete but the errors below are in relation to netcdf errors. I installed netcdf on the system in 64-bit mode (as per aix platform instructions) and I checked that the Makefile is in 64-bit mode also. Any suggestions would be greatly appreciated,

Gina.

Errors from MAKE.out:

ld: 0711-317 ERROR: Undefined symbol: .nf_strerror
ld: 0711-317 ERROR: Undefined symbol: .nf_close
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_double
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_real
ld: 0711-317 ERROR: Undefined symbol: .nf_open
ld: 0711-317 ERROR: Undefined symbol: .nf_def_var
ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_text
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_int
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_varid
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_dimid
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_dimlen
ld: 0711-317 ERROR: Undefined symbol: .nf_get_var_int
ld: 0711-317 ERROR: Undefined symbol: .nf_get_var_double
ld: 0711-317 ERROR: Undefined symbol: .nf_put_vara_text
ld: 0711-317 ERROR: Undefined symbol: .nf_create
ld: 0711-317 ERROR: Undefined symbol: .nf_set_fill
ld: 0711-317 ERROR: Undefined symbol: .nf_def_dim
ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_double
ld: 0711-317 ERROR: Undefined symbol: .nf_enddef
ld: 0711-317 ERROR: Undefined symbol: .nf_put_var_double
ld: 0711-317 ERROR: Undefined symbol: .nf_put_var_int
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_varname
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_double
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_vardimid
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_unlimdim
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_var
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_attid
ld: 0711-317 ERROR: Undefined symbol: .nf_put_att_int
ld: 0711-317 ERROR: Undefined symbol: .nf_inq_attlen
ld: 0711-317 ERROR: Undefined symbol: .nf_get_att_text
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
 

ginah@udel_edu

New Member
Hi there,

after working on the problem in my previous post and corresponding with some people at unidata, I think my problem is in the compiler options when building netcdf-3.6.2 on the AIX 5.3. Has anyone built or had experience installing netcdf on this platform? I have not gotten the right combination of settings as of yet as I keep getting error messages such as:

ld: 0711-317 ERROR: Undefined symbol: .nf_strerror
ld: 0711-317 ERROR: Undefined symbol: .nf_close

at the end of my cam3.1 make and it can't seem to link with the netcdf libraries. A suggestion I have gotten is that I am using two different fortran compilers when building netcdf and cam3.1 . I have tried to set these to the same: cc = xlc_r and fc = xlf90_r as prescribed in the cam3.1 makefile but this has not solved my problem.

Any suggestions would be greatly appreciated,
Gina.
 
Top