Building errors relating to undefined reference of 'nfmpi_*'

Li Dong dongli at lasg.iap.ac.cn
Thu May 30 02:48:50 CDT 2013


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


-----------------------------------------
Dr. Li Dong (董理)
LASG, Institute of Atmospheric Physics
Chinese Academy of Sciences
P.O. Box 9804
Beijing 100029, China
Phone: 8610-8299 5143

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20130530/184cccc0/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 118877 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20130530/184cccc0/attachment-0001.obj>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20130530/184cccc0/attachment-0003.html>


More information about the parallel-netcdf mailing list