~james-page/ubuntu/precise/openmpi1.5/new

« back to all changes in this revision

Viewing changes to ompi/mca/btl/openib/btl_openib_mca.c

  • Committer: Bazaar Package Importer
  • Author(s): Manuel Prinz
  • Date: 2009-04-23 14:01:21 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090423140121-vsi3pqa6g30j4qiy
Tags: 1.3.2-1
* New upstream release. (Closes: #520597, #515116)
  - Manpage and VampirTrace patches removed, included upstream.
* Fixed build issues on Alpha. Huge thanks to Arthur Loiret for providing
  access to his machines for testing! (Closes: #510845, #517543)
* Fixed build issues on Sparc. (Closes: #519725)
* Fixed manpage-has-errors-from-man lintian warnings.
* Faked SONAME change by renaming library package. (Closes: #512616)
* Made libopenmpi-dev depend on libibverbs-dev. (Closes: #522153)
* Support for "nocheck" build option in debian/rules.
* Updated Standards-Version in debian/control.
* Changed section of libopenmpi-dbg to "debug".
* Updated debian/copyright.

* Dirk Eddelbuettel removed himself from Uploaders. The team thanks Dirk
  for his long-term contribution and effort to get Open MPI back to life.
  I personally thank Dirk for encouraging me to become a Debian Developer
  and his support and mentoring on that way and beyond.

Show diffs side-by-side

added added

removed removed

Lines of Context:
152
152
                  "warn_no_hca_params_found",
153
153
                  "Warn when no device-specific parameters are found in the INI file specified by the btl_openib_device_param_files MCA parameter (0 = do not warn; any other value = warn)",
154
154
                  1, &ival, 0));
155
 
 
 
155
    mca_btl_openib_component.warn_no_device_params_found = (0 != ival);
156
156
    CHECK(reg_int("warn_default_gid_prefix", NULL,
157
157
                  "Warn when there is more than one active ports and at least one of them connected to the network with only default GID prefix configured (0 = do not warn; any other value = warn)",
158
158
                  1, &ival, 0));
187
187
    if (NULL == str) {
188
188
        return OMPI_ERR_OUT_OF_RESOURCE;
189
189
    }
190
 
    if (OMPI_HAVE_IBV_FORK_INIT) {
191
 
        ival2 = -1;
192
 
    } else {
193
 
        ival2 = 0;
194
 
    }
195
 
    CHECK(reg_int("want_fork_support", NULL,
196
 
                  "Whether fork support is desired or not "
197
 
                  "(negative = try to enable fork support, but continue even if it is not available, 0 = do not enable fork support, positive = try to enable fork support and fail if it is not available)",
198
 
                  ival2, &ival, 0));
199
 
    if (OMPI_HAVE_IBV_FORK_INIT) {
200
 
        mca_btl_openib_component.want_fork_support = ival;
201
 
    } else {
202
 
        if (0 != ival) {
203
 
            orte_show_help("help-mpi-btl-openib.txt",
204
 
                           "ibv_fork requested but not supported", true,
205
 
                           orte_process_info.nodename);
206
 
            return OMPI_ERROR;
207
 
        }
208
 
    }
209
 
 
210
190
    CHECK(reg_string("device_param_files", "hca_param_files",
211
191
                     "Colon-delimited list of INI-style files that contain device vendor/part-specific parameters",
212
192
                     str, &mca_btl_openib_component.device_params_file_names, 
321
301
    CHECK(reg_int("ib_min_rnr_timer", NULL, "InfiniBand minimum "
322
302
                  "\"receiver not ready\" timer, in seconds "
323
303
                  "(must be >= 0 and <= 31)",
324
 
                  5, &ival, 0));
 
304
                  25, &ival, 0));
325
305
    if (ival > 31) {
326
306
        orte_show_help("help-mpi-btl-openib.txt", "invalid mca param value",
327
307
                       true, "btl_openib_ib_min_rnr_timer > 31",
337
317
 
338
318
    CHECK(reg_int("ib_timeout", NULL, "InfiniBand transmit timeout, plugged into formula: 4.096 microseconds * (2^btl_openib_ib_timeout)"
339
319
                  "(must be >= 0 and <= 31)",
340
 
                  10, &ival, 0));
 
320
                  20, &ival, 0));
341
321
    if (ival > 31) {
342
322
        orte_show_help("help-mpi-btl-openib.txt", "invalid mca param value",
343
323
                       true, "btl_openib_ib_timeout > 31",