CAM - PORT - Input file datatype - error on data conversion

divy@mit_edu

New Member
Hi,
I'm trying to run the radiation code of CAM (PORT) and using my own input files. There seems to be some error in terms of the datatype of my input data. The original data is float64 and I have written the netcdf file to also be float64 (and have tried float32).
I'm using PGI13.8 and have also tried with Intel.
Any suggestions would be greatly appreciated!
Thanks,
Diane


------------------------------------------------------------------------------------------------------------
Opened existing file
/net/fs02/d3/divy/cesm/port_runs/port_inputs/BDBP84_GHG79/BDBP79_GHG79_DATA.cam.h1.0000-01-01-00000.nc
65536
PGFIO-F-231/formatted read/internal file/error on data conversion.
In source file /home/divy/cesm1_2_0/models/atm/cam/src/chemistry/utils/drv_input_data.F90, at line number 129
PGFIO-F-231/formatted read/internal file/error on data conversion.
------------------------------------------------------------------------------------------------------------
 

eaton

CSEG and Liaisons
Here is the code in drv_input_data.F90:   ref_date_str = time_units(12:21)
    ref_year_str = ref_date_str(1:4)
    ref_mon_str = ref_date_str(6:7)
    ref_day_str = ref_date_str(9:10)

    read(ref_year_str,fmt='(I4)') ref_year    
 
Back
Top