difficulties compiling myconvertPOPT.f90

Hi,

We are having difficulties compiling myconvertPOPT.f90 from mk_remap.csh

1- make /tools/cpl/scrip1.4/source/
2- copy /tools/cpl/scrip1.4/source/*.mod to /tools/cpl/scrip1.4/create_grids/
3- ifort myconvertPOPT.f -o myconvertPOPT -I/usr/local/netcdf-4.0-intel/include/ -L/usr/local/netcdf-4.0-intel/lib -lnetcdf
erro:/tmp/ifortMFUNLC.o: In function `MAIN__':
myconvertPOPT.f:(.text+0x8ae): undefined reference to `iounits_mp_get_unit_'
myconvertPOPT.f:(.text+0x9b4): undefined reference to `iounits_mp_release_unit_'
myconvertPOPT.f:(.text+0x9c0): undefined reference to `iounits_mp_get_unit_'
myconvertPOPT.f:(.text+0xdd3): undefined reference to `iounits_mp_release_unit_'

We are guessing the problem may be related either with the netCDF version we are using or with a missing argument that should be stated during the compilation.
Any help is more than welcome.
Thank you very much in advance,

Maria
 
Hi Nan,  We are running on Ubuntu 12.04 LTS, 64 bits.
The tools version we are using was downloaded from ftp://ftp.cgd.ucar.edu/archive/CESM_tools/setup_tools/
 More specifically, myconvertPOPT is under ccsm3_setup_tools_110319-NR-120316/cpl/scrip1.4/create_grids/ and it is from 11/03/2009. Thank you, Maria
 
Back
Top