zhangzhiqiang19
New member
Dear all
I am trying to generate wesely(./make_util wesely) using ifort compiler,and I encounter errors.
Could you please give me some help or suggestions?
Thanks in advance!
The error information reads
"Using ifort fortan90 compiler
NETCDF_DIR = -I/public/software/mathlib/netcdf/intel/4.1.3
ifort -g -c -I/public/software/mathlib/netcdf/intel/4.1.3/include mo_calendar.f90
ifort -g -c -I/public/software/mathlib/netcdf/intel/4.1.3/include make_wesely.f90
ifort -o wesely -g mo_calendar.o make_wesely.o -L/public/software/mathlib/netcdf/intel/4.1.3/lib -lnetcdf
make_wesely.o: In function `MAIN__':
/public/lapc/zhangzq/pre/wes-coldens/make_wesely.f90:77: undefined reference to `nf_open_'
make_wesely.o: In function `MAIN__':
make_wesely.f90
.text+0x70f): undefined reference to `nf_inq_dimid_'
make_wesely.f90
.text+0x7e9): undefined reference to `nf_inq_dimlen_'
make_wesely.f90
.text+0x8c9): undefined reference to `nf_inq_dimid_'
make_wesely.f90
.text+0x9a3): undefined reference to `nf_inq_dimlen_'
make_wesely.f90
.text+0xa83): undefined reference to `nf_inq_dimid_'
make_wesely.f90
.text+0xb5d): undefined reference to `nf_inq_dimlen_'
make_wesely.f90
.text+0x14ff): undefined reference to `nf_inq_varid_'
make_wesely.f90
.text+0x15d9): undefined reference to `nf_get_var_real_'
make_wesely.f90
.text+0x16b9): undefined reference to `nf_inq_varid_'
make_wesely.f90
.text+0x1793): undefined reference to `nf_get_var_real_'
make_wesely.f90
.text+0x181e): undefined reference to `nf_close_'
make_wesely.f90
.text+0x1b2e): undefined reference to `nf_open_'
make_wesely.f90
.text+0x1c18): undefined reference to `nf_inq_dimid_'
make_wesely.f90
.text+0x1cf2): undefined reference to `nf_inq_dimlen_'
make_wesely.f90
.text+0x1dd2): undefined reference to `nf_inq_dimid_'
make_wesely.f90
.text+0x1eac): undefined reference to `nf_inq_dimlen_'
make_wesely.f90
.text+0x1f8c): undefined reference to `nf_inq_dimid_'
make_wesely.f90
.text+0x2066): undefined reference to `nf_inq_dimlen_'
make_wesely.f90
.text+0x2860): undefined reference to `nf_inq_varid_'
make_wesely.f90
.text+0x293a): undefined reference to `nf_get_var_real_'
make_wesely.f90
.text+0x2a1a): undefined reference to `nf_inq_varid_'
make_wesely.f90
.text+0x2af4): undefined reference to `nf_get_var_real_'
make_wesely.f90
.text+0x2b7f): undefined reference to `nf_close_'
make_wesely.f90
.text+0x4e69): undefined reference to `nf_create_'
make_wesely.f90
.text+0x4f61): undefined reference to `nf_def_dim_'
make_wesely.f90
.text+0x5059): undefined reference to `nf_def_dim_'
make_wesely.f90
.text+0x5151): undefined reference to `nf_def_dim_'
make_wesely.f90
.text+0x5249): undefined reference to `nf_def_dim_'
make_wesely.f90
.text+0x5390): undefined reference to `nf_def_var_'
make_wesely.f90
.text+0x54db): undefined reference to `nf_def_var_'
make_wesely.f90
.text+0x5640): undefined reference to `nf_def_var_'
make_wesely.f90
.text+0x5704): undefined reference to `nf_enddef_'
make_wesely.f90
.text+0x57de): undefined reference to `nf_inq_varid_'
make_wesely.f90
.text+0x597c): undefined reference to `nf_put_var_real_'
make_wesely.f90
.text+0x5a56): undefined reference to `nf_inq_varid_'
make_wesely.f90
.text+0x5bf4): undefined reference to `nf_put_var_real_'
make_wesely.f90
.text+0x5cce): undefined reference to `nf_inq_varid_'
make_wesely.f90
.text+0x5da2): undefined reference to `nf_put_var_int_'
make_wesely.f90
.text+0x5e2d): undefined reference to `nf_close_'
make_wesely.o: In function `handle_ncerr_':
/public/lapc/zhangzq/pre/wes-coldens/make_wesely.f90:303: undefined reference to `nf_strerror_'
make: *** [wesely] Error 1
Failed to build bio_emiss
"
Zhiqiang
Best regards
I am trying to generate wesely(./make_util wesely) using ifort compiler,and I encounter errors.
Could you please give me some help or suggestions?
Thanks in advance!
The error information reads
"Using ifort fortan90 compiler
NETCDF_DIR = -I/public/software/mathlib/netcdf/intel/4.1.3
ifort -g -c -I/public/software/mathlib/netcdf/intel/4.1.3/include mo_calendar.f90
ifort -g -c -I/public/software/mathlib/netcdf/intel/4.1.3/include make_wesely.f90
ifort -o wesely -g mo_calendar.o make_wesely.o -L/public/software/mathlib/netcdf/intel/4.1.3/lib -lnetcdf
make_wesely.o: In function `MAIN__':
/public/lapc/zhangzq/pre/wes-coldens/make_wesely.f90:77: undefined reference to `nf_open_'
make_wesely.o: In function `MAIN__':
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.f90
make_wesely.o: In function `handle_ncerr_':
/public/lapc/zhangzq/pre/wes-coldens/make_wesely.f90:303: undefined reference to `nf_strerror_'
make: *** [wesely] Error 1
Failed to build bio_emiss
"
Zhiqiang
Best regards