Open MPI logo

Open MPI Development Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Development mailing list

Subject: Re: [OMPI devel] the sensors do not compile
From: Ralph Castain (rhc_at_[hidden])
Date: 2013-07-09 10:50:04


fixed now

On Jul 8, 2013, at 11:43 AM, Vasiliy <testtest_2005_at_[hidden]> wrote:

> It has been taken from the compilation log:
> <code>
> Making all in mca/sensor/ft_tester
> make[2]: Entering directory
> '/usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/build/orte/mca/sensor/ft_tester'
> CC sensor_ft_tester.lo
> CC sensor_ft_tester_component.lo
> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:
> In function ‘orte_sensor_ft_tester_register’:
> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:63:9:
> error: expected identifier or ‘(’ before ‘)’ token
> void) mca_base_var_register (c, "fail_prob", "Probability of
> killing a single executable",
> ^
> /usr/src/64bit/release/openmpi/openmpi-1.9.0-a1/src/openmpi-1.9.0/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:74:35:
> warning: passing argument 1 of ‘mca_base_var_register’ from
> incompatible pointer type [enabled by default]
> &mca_sensor_ft_tester_component.multi_fail);
> ^
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:14:
> /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 ‘const char *’ but argument is of type ‘struct
> mca_base_component_t *’
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:74:35:
> warning: passing argument 4 of ‘mca_base_var_register’ makes pointer
> from integer without a cast [enabled by default]
> &mca_sensor_ft_tester_component.multi_fail);
> ^
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:14:
> /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 ‘const char *’ 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:74:35:
> error: incompatible type for argument 10 of ‘mca_base_var_register’
> &mca_sensor_ft_tester_component.multi_fail);
> ^
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:14:
> /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_info_lvl_t’ but argument is of type
> ‘_Bool *’
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:74:35:
> error: too few arguments to function ‘mca_base_var_register’
> &mca_sensor_ft_tester_component.multi_fail);
> ^
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:14:
> /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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:81:35:
> warning: passing argument 1 of ‘mca_base_var_register’ from
> incompatible pointer type [enabled by default]
> &daemon_fail_prob);
> ^
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:14:
> /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 ‘const char *’ but argument is of type ‘struct
> mca_base_component_t *’
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:81:35:
> warning: passing argument 4 of ‘mca_base_var_register’ makes pointer
> from integer without a cast [enabled by default]
> &daemon_fail_prob);
> ^
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:14:
> /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 ‘const char *’ 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:81:35:
> error: incompatible type for argument 10 of ‘mca_base_var_register’
> &daemon_fail_prob);
> ^
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:14:
> /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_info_lvl_t’ but argument is of type ‘char
> **’
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:81:35:
> error: too few arguments to function ‘mca_base_var_register’
> &daemon_fail_prob);
> ^
> 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/orte/mca/sensor/ft_tester/sensor_ft_tester_component.c:14:
> /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,
> ^
> Makefile:1591: recipe for target 'sensor_ft_tester_component.lo' failed
> </code>
>
> _______________________________________________
> devel mailing list
> devel_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/devel