Building errors relating to undefined reference of 'nfmpi_*'
Wei-keng Liao
wkliao at ece.northwestern.edu
Thu May 30 09:43:07 CDT 2013
Hi, Li
It looks like the fortran part of PnetCDF failed to build.
Could you send us the standard output from the screen when you run "make" command?
You can do the following command and send us the file "make.output".
make -s clean; make >& make.output
Wei-keng
On May 30, 2013, at 2:48 AM, Li Dong wrote:
> Dear PnetCDF supporters,
>
> When I build parallel-netcdf on our server, I invoked 'make tests' after 'make' and encountered the following errors:
>
> /apps/intel/impi/4.0.2.003/intel64/bin/mpiifort -o bigrecords bigrecords.o -L../../src/lib -lpnetcdf
> bigrecords.o: In function `MAIN__':
> bigrecords.F:(.text+0xb0): undefined reference to `nfmpi_create_'
> bigrecords.F:(.text+0xe6): undefined reference to `nfmpi_def_dim_'
> bigrecords.F:(.text+0x12b): undefined reference to `nfmpi_def_dim_'
> bigrecords.F:(.text+0x170): undefined reference to `nfmpi_def_dim_'
> bigrecords.F:(.text+0x1c2): undefined reference to `nfmpi_def_var_'
> bigrecords.F:(.text+0x214): undefined reference to `nfmpi_def_var_'
> bigrecords.F:(.text+0x282): undefined reference to `nfmpi_def_var_'
> bigrecords.F:(.text+0x2d3): undefined reference to `nfmpi_put_att_text_'
> bigrecords.F:(.text+0x324): undefined reference to `nfmpi_put_att_text_'
> bigrecords.F:(.text+0x375): undefined reference to `nfmpi_put_att_text_'
> bigrecords.F:(.text+0x3c6): undefined reference to `nfmpi_put_att_text_'
> bigrecords.F:(.text+0x417): undefined reference to `nfmpi_put_att_text_'
> bigrecords.o:bigrecords.F:(.text+0x468): more undefined references to `nfmpi_put_att_text_' follow
> bigrecords.o: In function `MAIN__':
> bigrecords.F:(.text+0x486): undefined reference to `nfmpi_enddef_'
> bigrecords.F:(.text+0x4d2): undefined reference to `nfmpi_put_vara_real_all_'
> bigrecords.F:(.text+0x557): undefined reference to `nfmpi_put_vara_double_all_'
> bigrecords.F:(.text+0x57e): undefined reference to `nfmpi_close_'
> bigrecords.F:(.text+0x5c2): undefined reference to `nfmpi_open_'
> bigrecords.F:(.text+0x5f2): undefined reference to `nfmpi_inq_varid_'
> bigrecords.F:(.text+0x63e): undefined reference to `nfmpi_get_vara_double_all_'
> bigrecords.F:(.text+0x65c): undefined reference to `nfmpi_close_'
> bigrecords.o: In function `writerecs_':
> bigrecords.F:(.text+0x1165): undefined reference to `nfmpi_put_vara_double_all_'
> ../../src/lib/libpnetcdf.a(strerrorf.o): In function `nfmpi_strerror_':
> strerrorf.f:(.text+0x15): undefined reference to `nfmpi_xstrerror_'
> make[2]: *** [bigrecords] Error 1
>
> The config.log file is in the attach and the results of 'uname -a' are:
>
> Linux ln1 2.6.18-194.17.1.0.1.el5_lustre.1.8.5 #1 SMP Wed Aug 3 18:09:09 CST 2011 x86_64 x86_64 x86_64 GNU/Linux
>
> How to solve this problem? Thanks in advance!
>
> Best regards,
>
> Li
>
> <config.log>
>
> -----------------------------------------
> Dr. Li Dong (董理)
> LASG, Institute of Atmospheric Physics
> Chinese Academy of Sciences
> P.O. Box 9804
> Beijing 100029, China
> Phone: 8610-8299 5143
>
More information about the parallel-netcdf
mailing list