Hi all,
I need to regrid a CAM IC file onto a regionally-refined CAM-SE grid for use in MUSICA. The file I am trying to regrid is:
/glade/campaign/acom/acom-weather/MUSICA/init/ne30_ne30/f.e22.FCnudged.ne30_ne30_mg17.release-cesm2.2.0_spinup.2010_2020.001.cam.i.2019-01-01-00000.nc
In order to do this, I need to build the 'interpic' executable on Derecho (as my old builds from Cheyenne days no longer seem to work). The readme says all I need to do is run gmake in the 'interpic_new' directory, but when I try this I get a load of errors which all look like this:
ld: wrap_nf.o: in function `wrap_inq_attname_':
/glade/work/jamesking/cesm2_2_derecho/components/cam/tools/interpic_new/wrap_nf.F90:302: undefined reference to `nf_inq_attname_'
ld: wrap_nf.o: in function `wrap_get_att_text_':
/glade/work/jamesking/cesm2_2_derecho/components/cam/tools/interpic_new/wrap_nf.F90:316: undefined reference to `nf_get_att_text_'
ld: wrap_nf.o: in function `wrap_copy_att_':
/glade/work/jamesking/cesm2_2_derecho/components/cam/tools/interpic_new/wrap_nf.F90:330: undefined reference to `nf_copy_att_'
gmake: *** [Makefile:116: interpic] Error 1
I had a similar problem before with a CLM tool, which I was able to compile following Peter Lawrence's fix here. However, trying this with interpic_new doesn't make any difference. I don't know enough about the various compiler/environment changes between Cheyenne and Derecho to understand the errors. How can I compile this code?
Thanks,
James
I need to regrid a CAM IC file onto a regionally-refined CAM-SE grid for use in MUSICA. The file I am trying to regrid is:
/glade/campaign/acom/acom-weather/MUSICA/init/ne30_ne30/f.e22.FCnudged.ne30_ne30_mg17.release-cesm2.2.0_spinup.2010_2020.001.cam.i.2019-01-01-00000.nc
In order to do this, I need to build the 'interpic' executable on Derecho (as my old builds from Cheyenne days no longer seem to work). The readme says all I need to do is run gmake in the 'interpic_new' directory, but when I try this I get a load of errors which all look like this:
ld: wrap_nf.o: in function `wrap_inq_attname_':
/glade/work/jamesking/cesm2_2_derecho/components/cam/tools/interpic_new/wrap_nf.F90:302: undefined reference to `nf_inq_attname_'
ld: wrap_nf.o: in function `wrap_get_att_text_':
/glade/work/jamesking/cesm2_2_derecho/components/cam/tools/interpic_new/wrap_nf.F90:316: undefined reference to `nf_get_att_text_'
ld: wrap_nf.o: in function `wrap_copy_att_':
/glade/work/jamesking/cesm2_2_derecho/components/cam/tools/interpic_new/wrap_nf.F90:330: undefined reference to `nf_copy_att_'
gmake: *** [Makefile:116: interpic] Error 1
I had a similar problem before with a CLM tool, which I was able to compile following Peter Lawrence's fix here. However, trying this with interpic_new doesn't make any difference. I don't know enough about the various compiler/environment changes between Cheyenne and Derecho to understand the errors. How can I compile this code?
Thanks,
James