there was an #include directive missing
[openmpi-llc.git] / README
blobca51751557fec14124eb1777e533593ff9b8568b
1 Copyright (c) 2004-2006 The Trustees of Indiana University and Indiana
2                         University Research and Technology
3                         Corporation.  All rights reserved.
4 Copyright (c) 2004-2006 The University of Tennessee and The University
5                         of Tennessee Research Foundation.  All rights
6                         reserved.
7 Copyright (c) 2004-2006 High Performance Computing Center Stuttgart, 
8                         University of Stuttgart.  All rights reserved.
9 Copyright (c) 2004-2006 The Regents of the University of California.
10                         All rights reserved.
11 Copyright (c) 2006      Cisco Systems, Inc.  All rights reserved.
12 Copyright (c) 2006      Voltaire, Inc. All rights reserved.
13 $COPYRIGHT$
15 Additional copyrights may follow
17 $HEADER$
19 ===========================================================================
21 The best way to report bugs, send comments, or ask questions is to
22 sign up on the user's and/or developer's mailing list (for user-level
23 and developer-level questions; when in doubt, send to the user's
24 list):
26         users@open-mpi.org
27         devel@open-mpi.org
29 Because of spam, only subscribers are allowed to post to these lists
30 (ensure that you subscribe with and post from exactly the same e-mail
31 address -- joe@example.com is considered different than
32 joe@mycomputer.example.com!).  Visit these pages to subscribe to the
33 lists:
35      http://www.open-mpi.org/mailman/listinfo.cgi/users
36      http://www.open-mpi.org/mailman/listinfo.cgi/devel
38 Thanks for your time.
40 ===========================================================================
42 The following abbreviated list of release notes applies to this code
43 base as of this writing (3 October 2006):
45 - Open MPI includes support for a wide variety of supplemental
46   hardware and software package.  When configuring Open MPI, you may
47   need to supply additional flags to the "configure" script in order
48   to tell Open MPI where the header files, libraries, and any other
49   required files are located.  As such, running "configure" by itself
50   may include support for all the devices (etc.) that you expect,
51   especially if their support headers / libraries are installed in
52   non-standard locations.  Network interconnects are an easy example
53   to discuss -- Myrinet and Infiniband, for example, both have
54   supplemental headers and libraries that must be found before Open
55   MPI can build support for them.  You must specify where these files
56   are with the appropriate options to configure.  See the listing of
57   configure command-line switches, below, for more details.
59 - The Open MPI installation must be in your PATH on all nodes (and
60   potentially LD_LIBRARY_PATH, if libmpi is a shared library).
62 - LAM/MPI-like mpirun notation of "C" and "N" is not yet supported.
64 - Striping MPI messages across multiple networks is supported (and
65   happens automatically when multiple networks are available), but
66   needs performance tuning.
68 - The run-time systems that are currently supported are:
69   - rsh / ssh
70   - Recent versions of BProc (e.g., Clustermatic)
71   - PBS Pro, Open PBS, Torque (i.e., anything who supports the TM
72     interface)
73   - SLURM
74   - XGrid
75   - Cray XT-3 / Red Storm
76   - LoadLeveler / POE
78 - The majority of Open MPI's documentation is here in this file and on
79   the web site FAQ (http://www.open-mpi.org/).  This will eventually
80   be supplemented with cohesive installation and user documentation
81   files.
83 - Systems that have been tested are:
84   - Linux, 32 bit, with gcc
85   - Linux, 64 bit (x86), with gcc
86   - OS X (10.3), 32 bit, with gcc
87   - OS X (10.4), 32 bit, with gcc
89 - Other systems have been lightly (but not fully tested):
90   - Other compilers on Linux, 32 and 64 bit
91   - Other 64 bit platforms (Linux and AIX on PPC64, SPARC)
93 - Some MCA parameters can be set in a way that renders Open MPI
94   inoperable (see notes about MCA parameters later in this file).  In
95   particular, some parameters have required options that must be
96   included.
97   - If specified, the "btl" parameter must include the "self"
98     component, or Open MPI will not be able to deliver messages to the
99     same rank as the sender.  For example: "mpirun --mca btl tcp,self
100     ..."
101   - If specified, the "btl_tcp_if_exclude" paramater must include the
102     loopback device ("lo" on many Linux platforms), or Open MPI will
103     not be able to route MPI messages using the TCP BTL.  For example:
104     "mpirun --mca btl_tcp_if_exclude lo,eth1 ..."
106 - Building shared libraries on AIX with the xlc compilers is only
107   supported if you supply the following command line option to
108   configure: LDFLAGS=-Wl,-brtl.
110 - Open MPI does not support the Sparc v8 CPU target, which is the
111   default on Sun Solaris.  The v8plus (32 bit) or v9 (64 bit)
112   targets must be used to build Open MPI on Solaris.  This can be
113   done by including a flag in CFLAGS, CXXFLAGS, FFLAGS, and FCFLAGS,
114   -xarch=v8plus for the Sun compilers, -mv8plus for GCC.
116 - At least some versions of the Intel 8.1 compiler seg fault while
117   compiling certain Open MPI source code files.  As such, it is not
118   supported.
120 - The Intel 9.0 v20051201 compiler on IA64 platforms seems to have a
121   problem with optimizing the ptmalloc2 memory manager component (the
122   generated code will segv).  As such, the ptmalloc2 component will
123   automatically disable itself if it detects that it is on this
124   platform/compiler combination.  The only effect that this should
125   have is that the MCA parameter mpi_leave_pinned will be inoperative.
127 - Early versions of the Portland Group 6.0 compiler have problems
128   creating the C++ MPI bindings as a shared library (e.g., v6.0-1).
129   Tests with later versions show that this has been fixed (e.g.,
130   v6.0-5).
132 - The Portland Group compilers require the "-Msignextend" compiler
133   flag to extend the sign bit when converting from a shorter to longer
134   integer.  This is is different than other compilers (such as GNU).
135   When compiling Open MPI with the Portland compiler suite, the
136   following flags should be passed to Open MPI's configure script:
138   shell$ ./configure CFLAGS=-Msignextend CXXFLAGS=-signextent \
139         --with-wrapper-cflags=-Msignextend \
140         --with-wrapper-cxxflags=-Msignextend ...
142   This will both compile Open MPI with the proper compile flags and
143   also automatically add "-Msignextend" when the C and C++ MPI wrapper
144   compilers are used to compile user MPI applications.
146 - Open MPI will build bindings suitable for all common forms of
147   Fortran 77 compiler symbol mangling on platforms that support it
148   (e.g., Linux).  On platforms that do not support weak symbols (e.g.,
149   OS X), Open MPI will build Fortran 77 bindings just for the compiler
150   that Open MPI was configured with.  
152   Hence, on platforms that support it, if you configure Open MPI with
153   a Fortran 77 compiler that uses one symbol mangling scheme, you can
154   successfully compile and link MPI Fortran 77 applications with a
155   Fortran 77 compiler that uses a different symbol mangling scheme.
157   NOTE: For platforms that support the multi-Fortran-compiler bindings
158   (i.e., weak symbols are supported), due to limitations in the MPI
159   standard and in Fortran compilers, it is not possible to hide these
160   differences in all cases.  Specifically, the following two cases may
161   not be portable between different Fortran compilers:
163   1. The C constants MPI_F_STATUS_IGNORE and MPI_F_STATUSES_IGNORE
164      will only compare properly to Fortran applications that were
165      created with Fortran compilers that that use the same
166      name-mangling scheme as the Fortran compiler that Open MPI was
167      configured with.
169   2. Fortran compilers may have different values for the logical
170      .TRUE. constant.  As such, any MPI function that uses the Fortran
171      LOGICAL type may only get .TRUE. values back that correspond to
172      the the .TRUE. value of the Fortran compiler that Open MPI was
173      configured with.  Note that some Fortran compilers allow forcing
174      .TRUE. to be 1 and .FALSE. to be 0.  For example, the Portland
175      Group compilers provide the "-Munixlogical" option, and Intel
176      compilers (version >= 8.) provide the "-fpscomp logicals" option.
178   You can use the ompi_info command to see the Fortran compiler that
179   Open MPI was configured with.
181 - The MPI and run-time layers do not free all used memory properly
182   during MPI_FINALIZE.
184 - Running on nodes with different endian and/or different datatype
185   sizes within a single parallel job is supported starting with Open
186   MPI v1.1.  However, Open MPI does not resize data when datatypes
187   differ in size (for example, sending a 4 byte MPI_LONG and receiving
188   an 8 byte MPI_LONG will fail).
190 - MPI_THREAD_MULTIPLE support is included, but is only lightly tested.
192 - Asynchronous message passing progress using threads can be turned on
193   with the --enable-progress-threads option to configure.
194   Asynchronous message passing progress is only supported for TCP,
195   shared memory, and Myrinet/GM.  Myrinet/GM has only been lightly
196   tested.
198 - Due to limitations in the Libtool 1.5 series, Fortran 90 MPI
199   bindings support can only be built as a static library.  It is
200   expected that Libtool 2.0 (and therefore future releases of Open
201   MPI) will be able to support shared libraries for the Fortran 90
202   bindings.
204 - The XGrid support is experimental - see the Open MPI FAQ and this
205   post on the Open MPI user's mailing list for more information:
207   http://www.open-mpi.org/community/lists/users/2006/01/0539.php
209 - The MX library limits the maximum message fragment size for both
210   on-node and off-node messages.  As of MX v1.0.3, the inter-node
211   maximum fragment size is 32k, and the intra-node maximum fragment
212   size is 16k -- fragments sent larger than these sizes will fail.
213   Open MPI automatically fragments large messages; it currently limits
214   its first fragment size on MX networks to the lower of these two
215   values -- 16k.  As such, increasing the value of the MCA parameter
216   named "btl_mx_first_frag_size" larger than 16k may cause failures in
217   some cases (i.e., when using MX to send large messages to processes
218   on the same node); it will cause failures in all cases if it is set
219   above 32k.  Note that this only affects the *first* fragment of
220   messages; latter fragments do not have this size restriction.  The
221   MCA parameter btl_mx_max_send_size can be used to vary the maximum
222   size of subsequent fragments.
224 - The current version of the Open MPI point-to-point engine does not
225   yet support hardware-level MPI message matching.  As such, MPI
226   message matching must be performed in software, artificially
227   increasing latency for short messages on certain networks (such as
228   MX and hardware-supported Portals).  Future versions of Open MPI
229   will support hardware matching on networks that provide it, and will
230   eliminate the extra overhead of software MPI message matching where
231   possible.
233 - The Fortran 90 MPI bindings can now be built in one of three sizes
234   using --with-mpi-f90-size=SIZE (see description below).  These sizes
235   reflect the number of MPI functions included in the "mpi" Fortran 90
236   module and therefore which functions will be subject to strict type
237   checking.  All functions not included in the Fortran 90 module can
238   still be invoked from F90 applications, but will fall back to
239   Fortran-77 style checking (i.e., little/none).
241   - trivial: Only includes F90-specific functions from MPI-2.  This
242     means overloaded versions of MPI_SIZEOF for all the MPI-supported
243     F90 intrinsic types.
245   - small (default): All the functions in "trivial" plus all MPI
246     functions that take no choice buffers (meaning buffers that are
247     specified by the user and are of type (void*) in the C bindings --
248     generally buffers specified for message passing).  Hence,
249     functions like MPI_COMM_RANK are included, but functions like
250     MPI_SEND are not.
252   - medium: All the functions in "small" plus all MPI functions that
253     take one choice buffer (e.g., MPI_SEND, MPI_RECV, ...).  All
254     one-choice-buffer functions have overloaded variants for each of
255     the MPI-supported Fortran intrinsic types up to the number of
256     dimensions specified by --with-f90-max-array-dim (default value is
257     4).
259   Increasing the size of the F90 module (in order from trivial, small,
260   and medium) will generally increase the length of time required to
261   compile user MPI applications.  Specifically, "trivial"- and
262   "small"-sized F90 modules generally allow user MPI applications to
263   be compiled fairly quickly but lose type safety for all MPI
264   functions with choice buffers.  "medium"-sized F90 modules generally
265   take longer to compile user applications but provide greater type
266   safety for MPI functions.
268   Note that MPI functions with two choice buffers (e.g., MPI_GATHER)
269   are not currently included in Open MPI's F90 interface.  Calls to
270   these functions will automatically fall through to Open MPI's F77
271   interface.  A "large" size that includes the two choice buffer MPI
272   functions is possible in future versions of Open MPI.
274 ===========================================================================
276 Building Open MPI
277 -----------------
279 Open MPI uses a traditional configure script paired with "make" to
280 build.  Typical installs can be of the pattern:
282 ---------------------------------------------------------------------------
283 shell$ ./configure [...options...]
284 shell$ make all install
285 ---------------------------------------------------------------------------
287 There are many available configure options (see "./configure --help"
288 for a full list); a summary of the more commonly used ones follows:
290 --prefix=<directory>
291   Install Open MPI into the base directory named <directory>.  Hence,
292   Open MPI will place its executables in <directory>/bin, its header
293   files in <directory>/include, its libraries in <directory>/lib, etc.
295 --with-gm=<directory>
296   Specify the directory where the GM libraries and header files are
297   located.  This enables GM support in Open MPI.
299 --with-gm-libdir=<directory>
300   Look in directory for the GM libraries.  By default, Open MPI will
301   look in <gm directory>/lib and <gm directory>/lib64, which covers
302   most cases.  This option is only needed for special configurations.
304 --with-mx=<directory>
305   Specify the directory where the MX libraries and header files are
306   located.  This enables MX support in Open MPI.
308 --with-mx-libdir=<directory>
309   Look in directory for the MX libraries.  By default, Open MPI will
310   look in <mx directory>/lib and <mx directory>/lib64, which covers
311   most cases.  This option is only needed for special configurations.
313 --with-mvapi=<directory>
314   Specify the directory where the mVAPI libraries and header files are
315   located.  This enables mVAPI support in Open MPI.
317 --with-mvapi-libdir=<directory>
318   Look in directory for the MVAPI libraries.  By default, Open MPI will
319   look in <mvapi directory>/lib and <mvapi directory>/lib64, which covers
320   most cases.  This option is only needed for special configurations.
322 --with-openib=<directory>
323   Specify the directory where the Open Fabrics (previously known as
324   OpenIB) libraries and header files are located.  This enables Open
325   Fabrics support in Open MPI.
327 --with-openib-libdir=<directory>
328   Look in directory for the OPENIB libraries.  By default, Open MPI will
329   look in <openib directory>/lib and <openib directory>/lib64, which covers
330   most cases.  This option is only needed for special configurations.
332 --with-tm=<directory>
333   Specify the directory where the TM libraries and header files are
334   located.  This enables PBS / Torque support in Open MPI.
336 --with-loadleveler=<directory>
337   Specify the directory where the LoadLeveler libraries and header
338   file are located.  This enables LoadLeveler support in Open MPI.
340 --with-mpi-param_check(=value)
341   "value" can be one of: always, never, runtime.  If --with-mpi-param
342   is not specified, "runtime" is the default.  If --with-mpi-param
343   is specified with no value, "always" is used.  Using
344   --without-mpi-param-check is equivalent to "never".
346   - always: the parameters of MPI functions are always checked for
347     errors 
348   - never: the parameters of MPI functions are never checked for
349     errors 
350   - runtime: whether the parameters of MPI functions are checked
351     depends on the value of the MCA parameter mpi_param_check
352     (default: yes).
354 --with-threads=value
355   Since thread support (both support for MPI_THREAD_MULTIPLE and
356   asynchronous progress) is only partially tested, it is disabled by
357   default.  To enable threading, use "--with-threads=posix".  This is
358   most useful when combined with --enable-mpi-threads and/or
359   --enable-progress-threads.
361 --enable-mpi-threads
362   Allows the MPI thread level MPI_THREAD_MULTIPLE.  See
363   --with-threads; this is currently disabled by default.
365 --enable-progress-threads
366   Allows asynchronous progress in some transports.  See
367   --with-threads; this is currently disabled by default.
369 --disable-mpi-cxx
370   Disable building the C++ MPI bindings.  Note that this does *not*
371   disable the C++ checks during configure; some of Open MPI's tools
372   are written in C++ and therefore require a C++ compiler to be built.
374 --disable-mpi-f77
375   Disable building the Fortran 77 MPI bindings.
377 --disable-mpi-f90
378   Disable building the Fortran 90 MPI bindings.  Also related to the
379   --with-f90-max-array-dim and --with-mpi-f90-size options.
381 --with-mpi-f90-size=<SIZE>
382   Three sizes of the MPI F90 module can be built: trivial (only a
383   handful of MPI-2 F90-specific functions are included in the F90
384   module), small (trivial + all MPI functions that take no choice
385   buffers), and medium (small + all MPI functions that take 1 choice
386   buffer).  This parameter is only used if the F90 bindings are
387   enabled.
389 --with-f90-max-array-dim=<DIM>
390   The F90 MPI bindings are strictly typed, even including the number of
391   dimensions for arrays for MPI choice buffer parameters.  Open MPI
392   generates these bindings at compile time with a maximum number of
393   dimensions as specified by this parameter.  The default value is 4.
395 --disable-shared
396   By default, libmpi is built as a shared library, and all components
397   are built as dynamic shared objects (DSOs).  This switch disables
398   this default; it is really only useful when used with
399   --enable-static.  Specifically, this option does *not* imply
400   --disable-shared; enabling static libraries and disabling shared
401   libraries are two independent options.
403 --enable-static
404   Build libmpi as a static library, and statically link in all
405   components.  Note that this option does *not* imply
406   --disable-shared; enabling static libraries and disabling shared
407   libraries are two independent options.
409 There are several other options available -- see "./configure --help".
411 Changing the compilers that Open MPI uses to build itself uses the
412 standard Autoconf mechanism of setting special environment variables
413 either before invoking configure or on the configure command line.
414 The following environment variables are recognized by configure:
416 CC          - C compiler to use
417 CFLAGS      - Compile flags to pass to the C compiler
418 CPPFLAGS    - Preprocessor flags to pass to the C compiler
420 CXX         - C++ compiler to use
421 CXXFLAGS    - Compile flags to pass to the C++ compiler
422 CXXCPPFLAGS - Preprocessor flags to pass to the C++ compiler
424 F77         - Fortran 77 compiler to use
425 FFLAGS      - Compile flags to pass to the Fortran 77 compiler
427 FC          - Fortran 90 compiler to use
428 FCFLAGS     - Compile flags to pass to the Fortran 90 compiler
430 LDFLAGS     - Linker flags to pass to all compilers
431 LIBS        - Libraries to pass to all compilers (it is rarely
432               necessary for users to need to specify additional LIBS)
434 For example:
436 shell$ ./configure CC=mycc CXX=myc++ F77=myf77 F90=myf90 ...
438 It is required that the compilers specified be compile and link
439 compatible, meaning that object files created by one compiler must be
440 able to be linked with object files from the other compilers and
441 produce correctly functioning executables.
443 Open MPI supports all the "make" targets that are provided by GNU
444 Automake, such as:
446 all       - build the entire Open MPI package
447 install   - install Open MPI
448 uninstall - remove all traces of Open MPI from the $prefix
449 clean     - clean out the build tree
451 Once Open MPI has been built and installed, it is safe to run "make
452 clean" and/or remove the entire build tree.
454 VPATH builds are fully supported.
456 Generally speaking, the only thing that users need to do to use Open
457 MPI is ensure that <prefix>/bin is in their PATH and <prefix>/lib is
458 in their LD_LIBRARY_PATH.  Users may need to ensure to set the PATH
459 and LD_LIBRARY_PATH in their shell setup files (e.g., .bashrc, .cshrc)
460 so that rsh/ssh-based logins will be able to find the Open MPI
461 executables.
463 ===========================================================================
465 Checking Your Open MPI Installation
466 -----------------------------------
468 The "ompi_info" command can be used to check the status of your Open
469 MPI installation (located in <prefix>/bin/ompi_info).  Running it with
470 no arguments provides a summary of information about your Open MPI
471 installation.   
473 Note that the ompi_info command is extremely helpful in determining
474 which components are installed as well as listing all the run-time
475 settable parameters that are available in each component (as well as
476 their default values).
478 The following options may be helpful:
480 --all       Show a *lot* of information about your Open MPI
481             installation. 
482 --parsable  Display all the information in an easily
483             grep/cut/awk/sed-able format.
484 --param <framework> <component>
485             A <framework> of "all" and a <component> of "all" will
486             show all parameters to all components.  Otherwise, the
487             parameters of all the components in a specific framework,
488             or just the parameters of a specific component can be
489             displayed by using an appropriate <framework> and/or
490             <component> name.
492 Changing the values of these parameters is explained in the "The
493 Modular Component Architecture (MCA)" section, below.
495 ===========================================================================
497 Compiling Open MPI Applications
498 -------------------------------
500 Open MPI provides "wrapper" compilers that should be used for
501 compiling MPI applications:
503 C:          mpicc
504 C++:        mpiCC (or mpic++ if your filesystem is case-insensitive)
505 Fortran 77: mpif77
506 Fortran 90: mpif90
508 For example:
510 shell$ mpicc hello_world_mpi.c -o hello_world_mpi -g
511 shell$
513 All the wrapper compilers do is add a variety of compiler and linker
514 flags to the command line and then invoke a back-end compiler.  To be
515 specific: the wrapper compilers do not parse source code at all; they
516 are solely command-line manipulators, and have nothing to do with the
517 actual compilation or linking of programs.  The end result is an MPI
518 executable that is properly linked to all the relevant libraries.
520 ===========================================================================
522 Running Open MPI Applications
523 -----------------------------
525 Open MPI supports both mpirun and mpiexec (they are exactly
526 equivalent).  For example:
528 shell$ mpirun -np 2 hello_world_mpi
532 shell$ mpiexec -np 1 hello_world_mpi : -np 1 hello_world_mpi
534 are equivalent.  Some of mpiexec's switches (such as -host and -arch)
535 are not yet functional, although they will not error if you try to use
536 them.  
538 The rsh starter accepts a -hostfile parameter (the option
539 "-machinefile" is equivalent); you can specify a -hostfile parameter
540 indicating an standard mpirun-style hostfile (one hostname per line):
542 shell$ mpirun -hostfile my_hostfile -np 2 hello_world_mpi
544 If you intend to run more than one process on a node, the hostfile can
545 use the "slots" attribute.  If "slots" is not specified, a count of 1
546 is assumed.  For example, using the following hostfile:
548 ---------------------------------------------------------------------------
549 node1.example.com
550 node2.example.com
551 node3.example.com slots=2
552 node4.example.com slots=4
553 ---------------------------------------------------------------------------
555 shell$ mpirun -hostfile my_hostfile -np 8 hello_world_mpi
557 will launch MPI_COMM_WORLD rank 0 on node1, rank 1 on node2, ranks 2
558 and 3 on node3, and ranks 4 through 7 on node4.
560 Other starters, such as the batch scheduling environments, do not
561 require hostfiles (and will ignore the hostfile if it is supplied).
563 Note that the values of component parameters can be changed on the
564 mpirun / mpiexec command line.  This is explained in the section
565 below, "The Modular Component Architecture (MCA)".
567 ===========================================================================
569 The Modular Component Architecture (MCA)
571 The MCA is the backbone of Open MPI -- most services and functionality
572 are implemented through MCA components.  Here is a list of all the
573 component frameworks in Open MPI:
575 ---------------------------------------------------------------------------
576 MPI component frameworks:
577 -------------------------
579 allocator - Memory allocator
580 bml       - BTL management layer
581 btl       - MPI point-to-point byte transfer layer
582 coll      - MPI collective algorithms
583 io        - MPI-2 I/O
584 mpool     - Memory pooling
585 pml       - MPI point-to-point management layer
586 ptl       - (Outdated / deprecated) MPI point-to-point transport layer
587 rcache    - Memory registration cache
588 topo      - MPI topology routines
590 Back-end run-time environment component frameworks:
591 ---------------------------------------------------
593 errmgr    - RTE error manager
594 gpr       - General purpose registry
595 iof       - I/O forwarding
596 ns        - Name server
597 oob       - Out of band messaging
598 pls       - Process launch system
599 ras       - Resource allocation system
600 rds       - Resource discovery system
601 rmaps     - Resource mapping system
602 rmgr      - Resource manager
603 rml       - RTE message layer
604 schema    - Name schemas
605 sds       - Startup / discovery service
606 soh       - State of health monitor
608 Miscellaneous frameworks:
609 -------------------------
611 maffinity - Memory affinity
612 memory    - Memory subsystem hooks
613 paffinity - Processor affinity
614 timer     - High-resolution timers
616 ---------------------------------------------------------------------------
618 Each framework typically has one or more components that are used at
619 run-time.  For example, the btl framework is used by MPI to send bytes
620 across underlying networks.  The tcp btl, for example, sends messages
621 across TCP-based networks; the gm btl sends messages across GM
622 Myrinet-based networks.
624 Each component typically has some tunable parameters that can be
625 changed at run-time.  Use the ompi_info command to check a component
626 to see what its tunable parameters are.  For example:
628 shell$ ompi_info --param btl tcp
630 shows all the parameters (and default values) for the tcp btl
631 component.
633 These values can be overridden at run-time in several ways.  At
634 run-time, the following locations are examined (in order) for new
635 values of parameters:
637 1. <prefix>/etc/openmpi-mca-params.conf
639    This file is intended to set any system-wide default MCA parameter
640    values -- it will apply, by default, to all users who use this Open
641    MPI installation.  The default file that is installed contains many
642    comments explaining its format.
644 2. $HOME/.openmpi/mca-params.conf
646    If this file exists, it should be in the same format as
647    <prefix>/etc/openmpi-mca-params.conf.  It is intended to provide
648    per-user default parameter values.
650 3. environment variables of the form OMPI_MCA_<name> set equal to a
651    <value>
653    Where <name> is the name of the parameter.  For example, set the
654    variable named OMPI_MCA_btl_tcp_frag_size to the value 65536
655    (Bourne-style shells):
657    shell$ OMPI_MCA_btl_tcp_frag_size=65536
658    shell$ export OMPI_MCA_btl_tcp_frag_size
660 4. the mpirun command line: --mca <name> <value>
662    Where <name> is the name of the parameter.  For example:
664    shell$ mpirun --mca btl_tcp_frag_size 65536 -np 2 hello_world_mpi
666 These locations are checked in order.  For example, a parameter value
667 passed on the mpirun command line will override an environment
668 variable; an environment variable will override the system-wide
669 defaults.
671 ===========================================================================
673 Common Questions
674 ----------------
676 Many common questions about building and using Open MPI are answered
677 on the FAQ:
679     http://www.open-mpi.org/faq/
681 ===========================================================================
683 Got more questions?
684 -------------------
686 Found a bug?  Got a question?  Want to make a suggestion?  Want to
687 contribute to Open MPI?  Please let us know!
689 User-level questions and comments should generally be sent to the
690 user's mailing list (users@open-mpi.org).  Because of spam, only
691 subscribers are allowed to post to this list (ensure that you
692 subscribe with and post from *exactly* the same e-mail address --
693 joe@example.com is considered different than
694 joe@mycomputer.example.com!).  Visit this page to subscribe to the
695 user's list:
697      http://www.open-mpi.org/mailman/listinfo.cgi/users
699 Developer-level bug reports, questions, and comments should generally
700 be sent to the developer's mailing list (devel@open-mpi.org).  Please
701 do not post the same question to both lists.  As with the user's list,
702 only subscribers are allowed to post to the developer's list.  Visit
703 the following web page to subscribe:
705      http://www.open-mpi.org/mailman/listinfo.cgi/devel
707 When submitting bug reports to either list, be sure to include the
708 following information in your mail (please compress!):
710 - the stdout and stderr from Open MPI's configure
711 - the top-level config.log file
712 - the stdout and stderr from building Open MPI
713 - the output from "ompi_info --all" (if possible)
715 For Bourne-type shells, here's one way to capture this information:
717 shell$ ./configure ... 2>&1 | tee config.out
718 [...lots of configure output...]
719 shell$ make 2>&1 | tee make.out
720 [...lots of make output...]
721 shell$ mkdir ompi-output
722 shell$ cp config.out config.log make.out ompi-output
723 shell$ ompi_info --all |& tee ompi-output/ompi-info.out
724 shell$ tar cvf ompi-output.tar ompi-output
725 [...output from tar...]
726 shell$ gzip ompi-output.tar
728 For C shell-type shells, the procedure is only slightly different:
730 shell% ./configure ... |& tee config.out
731 [...lots of configure output...]
732 shell% make |& tee make.out
733 [...lots of make output...]
734 shell% mkdir ompi-output
735 shell% cp config.out config.log make.out ompi-output
736 shell% ompi_info --all |& tee ompi-output/ompi-info.out
737 shell% tar cvf ompi-output.tar ompi-output
738 [...output from tar...]
739 shell% gzip ompi-output.tar
741 In either case, attach the resulting ompi-output.tar.gz file to your
742 mail.  This provides the Open MPI developers with a lot of information
743 about your installation and can greatly assist us in helping with your
744 problem.
746 Be sure to also include any other useful files (in the
747 ompi-output.tar.gz tarball), such as output showing specific errors.