Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] No such file(s) or directory
From: Vasiliy (testtest_2005_at_[hidden])
Date: 2013-07-10 14:58:31


not exactly the subject, however, since I've mentioned 'trace' here,
it's for this thread:
- undeclared 'value', or should I have configured it with
-Dvalue=<something>, it wouldn't compile anyway
<code>
make[3]: Entering directory
'/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/opal/util'
  CC trace.lo
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:
In function ‘opal_trace_init’:
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:44:13:
error: ‘value’ undeclared (first use in this function)
     if (0 > value) {
             ^
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:44:13:
note: each undeclared identifier is reported only once for each
function it appears in
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:63:35:
error: incompatible type for argument 11 of ‘mca_base_var_register’
                                   &tracer.lds_verbose_level);
                                   ^
In file included from
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/base/base.h:35:0,
                 from
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:23:
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/base/mca_base_var.h:503:19:
note: expected ‘mca_base_var_scope_t’ but argument is of type ‘int *’
 OPAL_DECLSPEC int mca_base_var_register (const char *project_name,
const char *framework_name,
                   ^
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:63:35:
error: too few arguments to function ‘mca_base_var_register’
                                   &tracer.lds_verbose_level);
                                   ^
In file included from
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/base/base.h:35:0,
                 from
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:23:
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/base/mca_base_var.h:503:19:
note: declared here
 OPAL_DECLSPEC int mca_base_var_register (const char *project_name,
const char *framework_name,
                   ^
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:
In function ‘opal_trace_finalize’:
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:72:5:
warning: implicit declaration of function ‘mca_base_var_dereg_group’
[-Wimplicit-function-declaration]
     mca_base_var_dereg_group (mca_base_var_find_group ("opal", "trace", NULL));
     ^
/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/util/trace.c:72:5:
warning: implicit declaration of function ‘mca_base_var_find_group’
[-Wimplicit-function-declaration]
Makefile:1708: recipe for target 'trace.lo' failed
</code>

There're also 'misqueried' dependencies as shown in the next excerpt:
<code>
make[3]: Entering directory
'/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/ompi/mpi/fortran/mpif-h'
  CCLD libmpi_mpifh.la
.libs/abort_f.o: In function `ompi_abort_f':
... (a LOT of unjustified 'undefined references', likely, resulted
from mis-ordered libraries)
profile/.libs/libmpi_mpifh_pmpi.a(pregister_datarep_f.o): In function
`opal_obj_new':
/usr/src/debug/openmpi-1.9.0-a1/opal/class/opal_object.h:471:
undefined reference to `opal_class_initialize'
collect2: error: ld returned 1 exit status
Makefile:2366: recipe for target 'libmpi_mpifh.la' failed
</code>

also in:
<code>
Making install in mca/common/sm
make[2]: Entering directory
'/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/ompi/mca/common/sm'
if test -z "libmca_common_sm.la"; then \
  rm -f "libmca_common_sm.la"; \
  ln -s "libmca_common_sm_noinst.la" "libmca_common_sm.la"; \
fi
  CC common_sm_rml.lo
  CC common_sm.lo
  CCLD libmca_common_sm.la
.libs/common_sm_rml.o: In function `mca_common_sm_rml_info_bcast':
/usr/src/debug/openmpi-1.9.0-a1/ompi/mca/common/sm/common_sm_rml.c:102:
undefined reference to `opal_progress_event_users_increment'
...
.libs/common_sm.o:common_sm.c:(.data+0x8): undefined reference to
`opal_list_item_t_class'
collect2: error: ld returned 1 exit status
Makefile:1619: recipe for target 'libmca_common_sm.la' failed
</code>

On Tue, Jul 9, 2013 at 3:10 PM, Ralph Castain <rhc_at_[hidden]> wrote:
> No issue with doing so. If this was someone trying to use it, I'd put it at a high priority. If just someone trying all the configure options, then a lower priority.
>
> The problem stems from a little bit-rot. Those components are updated and working on a side branch being used by my old company, but I didn't make it a priority to bring them across as nobody else was using them.
>
>
> On Jul 8, 2013, at 11:44 PM, Vasiliy <testtest_2005_at_[hidden]> wrote:
>
>> (giggling) No, it's unsafe. I've disabled 'trace' for now. On a more
>> serious note, why not adding those, if they should be here?
>> <code>
>> Making check in mca/sensor/resusage
>> make[2]: Entering directory
>> '/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/orte/mca/sensor/resusage'
>> CC sensor_resusage.lo
>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/orte/mca/sensor/resusage/sensor_resusage.c:35:28:
>> fatal error: orte/mca/db/db.h: No such file or directory
>> #include "orte/mca/db/db.h"
>> ^
>> compilation terminated.
>> Makefile:1594: recipe for target 'sensor_resusage.lo' failed
>> </code>
>>
>> On Tue, Jul 9, 2013 at 1:28 AM, Ralph Castain <rhc_at_[hidden]> wrote:
>>> Is it safe to say that you are going thru an exercise testing every option that exists? Just want to know so I can set expectations
>>>
>>>
>>> On Jul 8, 2013, at 11:47 AM, Vasiliy <testtest_2005_at_[hidden]> wrote:
>>>
>>>> there're more to come:
>>>> <code>
>>>> Making all in mca/sensor/resusage
>>>> make[2]: Entering directory
>>>> '/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/orte/mca/sensor/resusage'
>>>> CC sensor_resusage.lo
>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/orte/mca/sensor/resusage/sensor_resusage.c:35:28:
>>>> fatal error: orte/mca/db/db.h: No such file or directory
>>>> #include "orte/mca/db/db.h"
>>>> ^
>>>> compilation terminated.
>>>> Makefile:1594: recipe for target 'sensor_resusage.lo' failed
>>>> </code>
>>>>
>>>> On Mon, Jul 8, 2013 at 8:38 PM, Vasiliy <testtest_2005_at_[hidden]> wrote:
>>>>> Oh, well, it does not:
>>>>> <code>
>>>>> Making all in mca/db/sqlite
>>>>> make[2]: Entering directory
>>>>> '/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/opal/mca/db/sqlite'
>>>>> CC libmca_db_sqlite_la-db_sqlite_component.lo
>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite_component.c:
>>>>> In function ‘sqlite_component_query’:
>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite_component.c:93:17:
>>>>> warning: assignment from incompatible pointer type [enabled by
>>>>> default]
>>>>> *module = (mca_base_module_t*)&opal_db_sqlite_module;
>>>>> ^
>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite_component.c:
>>>>> In function ‘sqlite_component_close’:
>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite_component.c:104:12:
>>>>> error: ‘ORTE_SUCCESS’ undeclared (first use in this function)
>>>>> return ORTE_SUCCESS;
>>>>> ^
>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite_component.c:104:12:
>>>>> note: each undeclared identifier is reported only once for each
>>>>> function it appears in
>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite_component.c:
>>>>> In function ‘sqlite_component_register’:
>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite_component.c:127:12:
>>>>> error: ‘ORTE_SUCCESS’ undeclared (first use in this function)
>>>>> return ORTE_SUCCESS;
>>>>> ^
>>>>> Makefile:1608: recipe for target
>>>>> 'libmca_db_sqlite_la-db_sqlite_component.lo' failed
>>>>> make[2]: *** [libmca_db_sqlite_la-db_sqlite_component.lo] Error 1
>>>>> CC libmca_db_sqlite_la-db_sqlite.lo
>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite.c:39:39:
>>>>> fatal error: opal/runtime/opal_globals.h: No such file or directory
>>>>> #include "opal/runtime/opal_globals.h"
>>>>> ^
>>>>> compilation terminated.
>>>>> </code>
>>>>> On Mon, Jul 8, 2013 at 8:28 PM, Ralph Castain <rhc_at_[hidden]> wrote:
>>>>>> Actually, those headers needed to be deleted - done. I take it you were deliberately trying to build that support? Otherwise, it shouldn't have built.
>>>>>>
>>>>>> On Jul 8, 2013, at 11:11 AM, Vasiliy <testtest_2005_at_[hidden]> wrote:
>>>>>>
>>>>>>> Could somebody add these required headers to the repository? Thank you
>>>>>>> in advance:
>>>>>>> <code>
>>>>>>> Making all in mca/db/sqlite
>>>>>>> make[2]: Entering directory
>>>>>>> '/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/opal/mca/db/sqlite'
>>>>>>> CC libmca_db_sqlite_la-db_sqlite_component.lo
>>>>>>> CC libmca_db_sqlite_la-db_sqlite.lo
>>>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite_component.c:23:33:
>>>>>>> fatal error: opal/util/proc_info.h: No such file or directory
>>>>>>> #include "opal/util/proc_info.h"
>>>>>>> ^
>>>>>>> compilation terminated.
>>>>>>> Makefile:1608: recipe for target
>>>>>>> 'libmca_db_sqlite_la-db_sqlite_component.lo' failed
>>>>>>> make[2]: *** [libmca_db_sqlite_la-db_sqlite_component.lo] Error 1
>>>>>>> make[2]: *** Waiting for unfinished jobs....
>>>>>>> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/opal/mca/db/sqlite/db_sqlite.c:39:39:
>>>>>>> fatal error: opal/mca/errmgr/base/base.h: No such file or directory
>>>>>>> #include "opal/mca/errmgr/base/base.h"
>>>>>>> ^
>>>>>>> compilation terminated.
>>>>>>> </code>
>>>>>>> _______________________________________________
>>>>>>> devel mailing list
>>>>>>> devel_at_[hidden]
>>>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>>>>
>>>>>>
>>>>>> _______________________________________________
>>>>>> devel mailing list
>>>>>> devel_at_[hidden]
>>>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>>
>>>> _______________________________________________
>>>> devel mailing list
>>>> devel_at_[hidden]
>>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>>
>>>
>>> _______________________________________________
>>> devel mailing list
>>> devel_at_[hidden]
>>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>>
>> _______________________________________________
>> devel mailing list
>> devel_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/devel
>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel