Thanks, r27719 compiles but I get an error when I try:
$/usr/local/bin/ompi_info
/usr/local/bin/ompi_info: symbol lookup error: /usr/local/bin/ompi_info:
undefined symbol: mca_fbtl_base_components_opened

and when I tried to compile a test program:
$ mpicc -o hw hello.c
mpicc: Symbol `opal_show_help' has different size in shared object,
consider re-linking



On Sun, Dec 23, 2012 at 2:55 PM, Ralph Castain <r...@open-mpi.org> wrote:

> Sigh - sorry about that. Guess we'll have to feel our way down the various
> tools. I've committed a fix that -should- resolve this for the rest of the
> tools in the OMPI layer. Please let me know how it works for you.
>
> Ralph
>
> On Dec 23, 2012, at 10:56 AM, R C <rec...@gmail.com> wrote:
>
>
> Thanks again for looking into this.
> With r27717, 'make all' gives me the error:
>
> Making all in tools/ompi_info
> make[2]: Entering directory
> `/home/rc/Downloads/ompi/objd/ompi/tools/ompi_info'
>   CC     ompi_info.o
>   CC     param.o
> ../../../../ompi/tools/ompi_info/param.c: In function
> ‘ompi_info_do_config’:
> ../../../../ompi/tools/ompi_info/param.c:238:17: warning: ignoring return
> value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
> ../../../../ompi/tools/ompi_info/param.c:252:17: warning: ignoring return
> value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
> ../../../../ompi/tools/ompi_info/param.c:259:17: warning: ignoring return
> value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
> ../../../../ompi/tools/ompi_info/param.c:271:13: warning: ignoring return
> value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
> ../../../../ompi/tools/ompi_info/param.c:274:13: warning: ignoring return
> value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
>   CC     components.o
> ../../../../ompi/tools/ompi_info/components.c: In function
> ‘ompi_info_register_components’:
> ../../../../ompi/tools/ompi_info/components.c:106:17: warning: ignoring
> return value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
> ../../../../ompi/tools/ompi_info/components.c:109:21: warning: ignoring
> return value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
> ../../../../ompi/tools/ompi_info/components.c:113:21: warning: ignoring
> return value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
>   CC     version.o
> ../../../../ompi/tools/ompi_info/version.c: In function
> ‘ompi_info_show_ompi_version’:
> ../../../../ompi/tools/ompi_info/version.c:125:13: warning: ignoring
> return value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
> ../../../../ompi/tools/ompi_info/version.c:134:13: warning: ignoring
> return value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
> ../../../../ompi/tools/ompi_info/version.c:137:13: warning: ignoring
> return value of ‘asprintf’, declared with attribute warn_unused_result
> [-Wunused-result]
>   CCLD   ompi_info
> /usr/bin/ld: version.o: undefined reference to symbol 'orte_info_type_orte'
> /usr/bin/ld: note: 'orte_info_type_orte' is defined in DSO
> /home/rc/Downloads/ompi/objd/orte/.libs/libopen-rte.so.0 so try adding it
> to the linker command line
> /home/rc/Downloads/ompi/objd/orte/.libs/libopen-rte.so.0: could not read
> symbols: Invalid operation
> collect2: error: ld returned 1 exit status
> make[2]: *** [ompi_info] Error 1
> make[2]: Leaving directory
> `/home/rc/Downloads/ompi/objd/ompi/tools/ompi_info'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/rc/Downloads/ompi/objd/ompi'
> make: *** [all-recursive] Error 1
>
>
> On Sun, Dec 23, 2012 at 1:14 PM, Ralph Castain <r...@open-mpi.org> wrote:
>
>> Sorry about that - copy/paste error, combined with being in a hurry and
>> not testing. Should be fixed now.
>>
>> On Dec 23, 2012, at 8:37 AM, R C <rec...@gmail.com> wrote:
>>
>> I updated to r27716, reran autogen.pl and configure, but on running
>> 'make all' I get this error:
>>
>> Making all in tools/orte-clean
>> make[2]: Entering directory
>> `/home/rc/Downloads/ompi/objd/orte/tools/orte-clean'
>>   CC     orte-clean.o
>> make[2]: *** No rule to make target `../../../orte/libopen-pal.la',
>> needed by `orte-clean'.  Stop.
>> make[2]: Leaving directory
>> `/home/rc/Downloads/ompi/objd/orte/tools/orte-clean'
>> make[1]: *** [all-recursive] Error 1
>> make[1]: Leaving directory `/home/rc/Downloads/ompi/objd/orte'
>> make: *** [all-recursive] Error 1
>>
>> Thanks for looking into this.
>>
>>
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
>
> _______________________________________________
> devel mailing list
> de...@open-mpi.org
> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>

Reply via email to