[RegCNET] Problem with ICBC

archana raman archana.raman07 at gmail.com
Tue Jan 29 11:31:12 CET 2008


I hav run the Terrain component of Regcm successfully.But experiencing
difficulties in the makefile of ICBC.Below is the makefile

#  Makefile for RegCM@  run on IBM SP5 workstation or supercomputer
FFLAGS = -L../../Commons/env/libibm/ -lnetcdf
#FC = xlf_r
FC =xlf_r -q32 -bmaxstack:256000000 -bmaxdata:2000000000
LD = $(FC)
SRC1a = SST_1DEG.f
OBJ1a = SST_1DEG.o

SRC1b = SST_FVGCM.f
OBJ1b = SST_FVGCM.o

SRC1c = SST_EH5OM.f
OBJ1c = SST_EH5OM.o

SRC2 = ICBC.f
OBJ2 = ICBC.o
all: SST SST_FVGCM SST_EH5OM ICBC


.f.o:
        $(FC) -c $(FFLAGS) $*.f

SST: $(OBJ1a)
        $(LD) -o $@ $(OBJ1a) -L../../Commons/env/libibm/ -lnetcdf

SST_FVGCM: $(OBJ1b)
        $(LD) -o $@ $(OBJ1b)

SST_EH5OM: $(OBJ1c)
        $(LD) -o $@ $(OBJ1c)

ICBC: $(OBJ2)
        $(LD) -o $@ $(OBJ2) -L../../Commons/env/libibm/ -lnetcdf

clean:
        rm -f *.o SST SST_FVGCM SST_EH5OM ICBC
# --------------------------------------------------------------------
# DO NOT DELETE THIS LINE -- make depend depends on it.

SST_1DEG.o: icbc.param SST_1DEG.f
SST_FVGCM.o: icbc.param SST_FVGCM.f

SST_EH5OM.o: icbc.param SST_EH5OM.f
ICBC.o: icbc.param ICBC.f

When i compiled icbc.x, the following ERROR occured

*1501-510  Compilation successful for file ICBC.f.
ld: 0711-317 ERROR: Undefined symbol: .nf_open
ld: 0711-317 ERROR: Undefined symbol: .nf_get_att_double
ld: 0711-317 ERROR: Undefined symbol: .nf_get_vara_int2
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
information.
make: 1254-004 The error code from the last command is 8.*


*Stop.
./ICBC: Command not found.
*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ictp.it/pipermail/regcnet/attachments/20080129/18d7962a/attachment-0002.html>


More information about the RegCNET mailing list