- Log in to post comments
Hi GFDL's support team,
I got the error on creating the gettrk.exe program after I complied the standalone_gfdl-vortextracker_v3.9a, this error is displayed detailly like that:
cd gettrk ; make
make[2]: Entering directory `/work/users/weather/user/manh/GFDL/standalone_gfdl-vortextracker_v3.9a/trk_src/gettrk'
Makefile:19: warning: overriding recipe for target `.f.o'
../../configure.trk:76: warning: ignoring old recipe for target `.f.o'
ifort -O2 -fp-model precise -integer-size 32 -real-size 32 -I../../libs/mods/g2 -I/work/apps/intel_2016/netcdf/4.3.3.1/include -I/include -I/work/apps/intel_2016/hdf5/1.8.15p1/include -c gettrk_modules.f
gettrk_modules.f(2): warning #6379: The structure contains one or more misaligned fields. [TCVCARD]
type tcvcard ! Define a new type for a TC Vitals card
-------------^
gettrk_modules.f(33): warning #6379: The structure contains one or more misaligned fields. [GENCARD]
type gencard ! Define a new type for a genesis vitals card
-------------^
gettrk_modules.f(65): warning #6380: The structure length is not a multiple of its largest element; could create misalignments for arrays of this type. [DATECARD]
type datecard ! Define a new type for the input namelist parms
-------------^
gettrk_modules.f(84): warning #6379: The structure contains one or more misaligned fields. [TRACKSTUFF]
type trackstuff ! Define a new type for various tracker parms
-------------^
gettrk_modules.f(411): warning #6380: The structure length is not a multiple of its largest element; could create misalignments for arrays of this type. [NETCDFSTUFF]
type netcdfstuff ! Define a new type for NetCDF information
-------------^
ifort -O2 -fp-model precise -integer-size 32 -real-size 32 -I../../libs/mods/g2 -I/work/apps/intel_2016/netcdf/4.3.3.1/include -I/include -I/work/apps/intel_2016/hdf5/1.8.15p1/include -c module_waitfor.f
/bin/rm -f cwaitfor.o
icc -O0 -DLINUX -DUNDERSCORE -Dfunder -DFortranByte=char -DFortranInt=int -DFortranLlong='long long' -c cwaitfor.c
ifort -O2 -fp-model precise -integer-size 32 -real-size 32 -I../../libs/mods/g2 -I/work/apps/intel_2016/netcdf/4.3.3.1/include -I/include -I/work/apps/intel_2016/hdf5/1.8.15p1/include -Wl,-noinhibit-exec gettrk_modules.o module_waitfor.o cwaitfor.o gettrk_main.f -L../../libs/ -lw3emc_i4r8 -lw3nco_i4r8 -lbacio -lg2 -L/work/apps/intel_2016/netcdf/4.3.3.1/lib -lnetcdff -lnetcdf -L/lib -lpnetcdf -L/work/apps/intel_2016/hdf5/1.8.15p1/lib -lhdf5_hl -lhdf5hl_fortran -lhdf5 -lhdf5_fortran -L/work/apps/intel_2016/libpng/1.2.56/lib -L/work/apps/intel_2016/jasper/1.900.1/lib -L/work/apps/intel_2016/zlib/1.2.8/lib -lz -lpng -ljasper -o ../../trk_exec/gettrk.exe
ld: cannot find -lpnetcdf
make[2]: [../../trk_exec/gettrk.exe] Error 1 (ignored)
make[2]: Leaving directory `/work/users/weather/user/manh/GFDL/standalone_gfdl-vortextracker_v3.9a/trk_src/gettrk'
cd vint ; make
make[2]: Entering directory `/work/users/weather/user/manh/GFDL/standalone_gfdl-vortextracker_v3.9a/trk_src/vint'
ifort -O2 -fp-model precise -integer-size 32 -real-size 32 -I../../libs/mods/g2 -Wl,-noinhibit-exec vint.f -L../../libs -lw3emc_i4r8 -lw3nco_i4r8 -lbacio -lg2 -L/work/apps/intel_2016/libpng/1.2.56/lib -L/work/apps/intel_2016/jasper/1.900.1/lib -L/work/apps/intel_2016/zlib/1.2.8/lib -lz -lpng -ljasper -o ../../trk_exec/vint.exe
../../libs/libg2.a(enc_png.o): In function `enc_png_':
enc_png.c:(.text+0xb1): undefined reference to `png_set_longjmp_fn'
../../libs/libg2.a(dec_png.o): In function `dec_png_':
dec_png.c:(.text+0xca): undefined reference to `png_set_longjmp_fn'
make[2]: Leaving directory `/work/users/weather/user/manh/GFDL/standalone_gfdl-vortextracker_v3.9a/trk_src/vint'
cd tave ; make
make[2]: Entering directory `/work/users/weather/user/manh/GFDL/standalone_gfdl-vortextracker_v3.9a/trk_src/tave'
ifort -O2 -fp-model precise -integer-size 32 -real-size 32 -I../../libs/mods/g2 -Wl,-noinhibit-exec tave.f -L../../libs -lw3emc_i4r8 -lw3nco_i4r8 -lbacio -lg2 -L/work/apps/intel_2016/libpng/1.2.56/lib -L/work/apps/intel_2016/jasper/1.900.1/lib -L/work/apps/intel_2016/zlib/1.2.8/lib -lz -lpng -ljasper -o ../../trk_exec/tave.exe
../../libs/libg2.a(enc_png.o): In function `enc_png_':
enc_png.c:(.text+0xb1): undefined reference to `png_set_longjmp_fn'
../../libs/libg2.a(dec_png.o): In function `dec_png_':
dec_png.c:(.text+0xca): undefined reference to `png_set_longjmp_fn'
make[2]: Leaving directory `/work/users/weather/user/manh/GFDL/standalone_gfdl-vortextracker_v3.9a/trk_src/tave'
make[1]: Leaving directory `/work/users/weather/user/manh/GFDL/standalone_gfdl-vortextracker_v3.9a/trk_src'
Please help me to resolve this probleam!
Any suggestions will be appreciated.
Thanks all,
Manh