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

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
 

nanr

Member
Hi Maria - Can you tell me where you are running the tools, and what version you downloaded?  nan
 
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
 
Top