Building errors relating to undefined reference of 'nfmpi_*'
Li Dong
dongli at lasg.iap.ac.cn
Thu May 30 22:11:20 CDT 2013
Hi, Wei-keng,
It works! The tests have been passed. Thanks for helping!
Li
-----------------------------------------
Dr. Li Dong (董理)
LASG, Institute of Atmospheric Physics
Chinese Academy of Sciences
P.O. Box 9804
Beijing 100029, China
Phone: 8610-8299 5143
在 2013-5-31,上午11:02,Wei-keng Liao <wkliao at ece.northwestern.edu> 写道:
> Try
>
> ./configure --prefix=/home/wangbin/tools/netcdf/pnetcdf/1.3.1 \
> --with-mpi=/apps/intel/impi/4.0.2.003/intel64/ \
> MPIF77=/apps/intel/impi/4.0.2.003/intel64/bin/mpiifort \
> MPIF90=/apps/intel/impi/4.0.2.003/intel64/bin/mpiifort \
> FC=ifort F90=ifort
>
>
> Wei-keng
>
> On May 30, 2013, at 9:29 PM, Li Dong wrote:
>
>> Dear Wei-keng,
>>
>> It's great! Where can I find the solution?
>>
>> Li
>>
>> -----------------------------------------
>> Dr. Li Dong (董理)
>> LASG, Institute of Atmospheric Physics
>> Chinese Academy of Sciences
>> P.O. Box 9804
>> Beijing 100029, China
>> Phone: 8610-8299 5143
>>
>> 在 2013-5-31,上午10:25,Wei-keng Liao <wkliao at ece.northwestern.edu> 写道:
>>
>>> Hi, Li,
>>>
>>> Rob has pointed out the problem and suggested you a solution.
>>> Please give it a try and let us know if that works.
>>>
>>> Wei-keng
>>>
>>> On May 30, 2013, at 8:08 PM, Li Dong wrote:
>>>
>>>> Dear Wei-keng,
>>>>
>>>> Thank you for helping! Here is the output in the attachment.
>>>>
>>>> Li
>>>>
>>>> <make.output>
>>>>
>>>> -----------------------------------------
>>>> Dr. Li Dong (董理)
>>>> LASG, Institute of Atmospheric Physics
>>>> Chinese Academy of Sciences
>>>> P.O. Box 9804
>>>> Beijing 100029, China
>>>> Phone: 8610-8299 5143
>>>>
>>>> 在 2013-5-30,下午10:43,Wei-keng Liao <wkliao at ece.northwestern.edu> 写道:
>>>>
>>>>> 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
>>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/parallel-netcdf/attachments/20130531/e018f925/attachment-0001.html>
More information about the parallel-netcdf
mailing list