[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #BEA-774146]: Fwd: netcdf error while compiling um_nemo_cice



Hello,

It appears that you may not be linking against libnetcdff when trying to 
compile your program.  I'm unfamiliar with building the `um_nemo_cice` tool, 
but you should be able to check their documentation for instructions about how 
to link against netcdf-fortran.

This assumes, of course, that you've installed netcdf-fortran, and netcdf-c 
(upon which netcdf-fortran depends, and should be installed first).   If this 
is not the case, you can usually install netcdf from your system package 
manager, or by downloading the source from the Unidata Github repository and 
compiling it.  These repositories may be found at:

* http://www.github.com/Unidata/netcdf-c
* http://www.github.com/Unidata/netcdf-fortran

I hope this helps,

-Ward

> Hi,
> 
> while compiling um_nemo_cice,  i am getting following error -
> 
> 
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/flincom.f90(194):
> warning #6075: The data type of the actual argument does not match the
> definition.   [TTM1]
> iret = NF90_DEF_DIM (ifid, 'tstep', ttm1, tdimid1)
> --------------------------------------^
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/flincom.f90(200):
> error #6404: This name does not have a type, and must have an explicit
> type.   [NF90_DEF_VAR_ONEDIM]
> iret = NF90_DEF_VAR_oneDim (ifid, 'lev', NF90_FLOAT, zdimid1, levid)
> ---------^
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/flincom.f90(201):
> error #6284: There is no matching specific function for this generic
> function reference.   [NF90_PUT_ATT]
> iret = NF90_PUT_ATT (ifid, levid, 'units',     '-')
> ---------^
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/flincom.f90(202):
> error #6284: There is no matching specific function for this generic
> function reference.   [NF90_PUT_ATT]
> iret = NF90_PUT_ATT (ifid, levid, 'title',     'levels')
> ---------^
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/flincom.f90(203):
> error #6284: There is no matching specific function for this generic
> function reference.   [NF90_PUT_ATT]
> iret = NF90_PUT_ATT (ifid, levid, 'long_name', 'Sigma Levels')
> ---------^
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/flincom.f90(209):
> error #6284: There is no matching specific function for this generic
> function reference.   [NF90_DEF_VAR]
> iret = NF90_DEF_VAR (ifid, 'tstep', NF90_FLOAT, tdimid1, timeid)
> ---------^
> 
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/fliocom.f90(1304):
> error #6284: There is no matching specific function for this generic
> function reference.   [NF90_PUT_ATT]
> i_rc = NF90_PUT_ATT(f_e,timeid,'units',TRIM(c_tmp3))
> -----------^
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/fliocom.f90(5175):
> catastrophic error: Too many errors, exiting
> # Time taken:            2 s=> mpiifort -o flincom.o
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/inc
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/baserepos/CICE/inc
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/baserepos/NEMO/inc -O3
> -xAVX -g -i8 -r8 -traceback -warn notruncated_source -warn nointerface
> -warn nointerfaces
> -I/gpfs2/home/shivali/isoftwares/netcdf-3.6.1/src/include
> -I/gpfs1/home/moum/UM/vn8.6/GCOM/ncm_ibm_ifort_mpp/inc
> -I/gpfs2/home/shivali/hello/oasis3/linux/build/mod/oasis3.MPI1
> -I/gpfs2/home/shivali/hello/oasis3/linux/build/mod
> -I/gpfs2/home/shivali/isoftwares/netcdf-3.6.1/src/include -c
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/flincom.f90
> cd /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/tmp
> fcm_internal compile failed (256)
> # Start: 2015-07-09 11:31:56=> mpiifort -o m_converters.o
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/inc
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/baserepos/CICE/inc
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/baserepos/NEMO/inc -O3
> -xAVX -g -i8 -r8 -traceback -warn notruncated_source -warn nointerface
> -warn nointerfaces
> -I/gpfs2/home/shivali/isoftwares/netcdf-3.6.1/src/include
> -I/gpfs1/home/moum/UM/vn8.6/GCOM/ncm_ibm_ifort_mpp/inc
> -I/gpfs2/home/shivali/hello/oasis3/linux/build/mod/oasis3.MPI1
> -I/gpfs2/home/shivali/hello/oasis3/linux/build/mod
> -I/gpfs2/home/shivali/isoftwares/netcdf-3.6.1/src/include -c
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/baserepos/NEMO/src/ioipsl/XMLF90/src/sax/m_converters.f90
> compilation aborted for
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/fliocom.f90
> (code 1)
> gmake: *** [flincom.o] Error 1
> gmake: *** Waiting for unfinished jobs....
> # Time taken:            2 s=> mpiifort -o fliocom.o
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/inc
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/baserepos/CICE/inc
> -I/gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/baserepos/NEMO/inc -O3
> -xAVX -g -i8 -r8 -traceback -warn notruncated_source -warn nointerface
> -warn nointerfaces
> -I/gpfs2/home/shivali/isoftwares/netcdf-3.6.1/src/include
> -I/gpfs1/home/moum/UM/vn8.6/GCOM/ncm_ibm_ifort_mpp/inc
> -I/gpfs2/home/shivali/hello/oasis3/linux/build/mod/oasis3.MPI1
> -I/gpfs2/home/shivali/hello/oasis3/linux/build/mod
> -I/gpfs2/home/shivali/isoftwares/netcdf-3.6.1/src/include -c
> /gpfs2/home/shivali/UM/vn8.6/UM_runs/shivali/xbgie/um_nemo_cice/src/ioipsl/src/fliocom.f90
> fcm_internal compile failed (256)
> gmake: *** [fliocom.o] Error 1
> 
> Please help
> 
> Regards,
> Shivali
> 
> 


Ticket Details
===================
Ticket ID: BEA-774146
Department: Support netCDF
Priority: Normal
Status: Closed