/[gentoo-x86]/sys-cluster/openmpi/files/openmpi-1.6-hostfile.patch
Gentoo

Contents of /sys-cluster/openmpi/files/openmpi-1.6-hostfile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Jun 10 06:38:46 2012 UTC (2 years, 1 month ago) by xarthisius
Branch: MAIN
CVS Tags: HEAD
Add patch from upstream to fix default hostfile location wrt #420431 by William Throwe <wtt6@cornell.edu>

(Portage version: 2.2.0_alpha110/cvs/Linux x86_64)

1 Fix default hostfile location (backported r26440)
2
3 https://bugs.gentoo.org/show_bug.cgi?id=420431
4
5 Patch by Orion Poplawski <orion AT SPAMFREE cora DOT nwra DOT com>
6 --- a/orte/runtime/orte_mca_params.c
7 +++ b/orte/runtime/orte_mca_params.c
8 @@ -225,7 +225,7 @@ int orte_register_params(void)
9 false, false, 1000, &orte_timeout_usec_per_proc);
10
11 /* default hostfile */
12 - asprintf(&orte_default_hostfile, "%s/etc/openmpi-default-hostfile", opal_install_dirs.prefix);
13 + asprintf(&orte_default_hostfile, "%s/openmpi-default-hostfile", opal_install_dirs.sysconfdir);
14 mca_base_param_reg_string_name("orte", "default_hostfile",
15 "Name of the default hostfile (relative or absolute path, \"none\" to ignore environmental or default MCA param setting)",
16 false, false, orte_default_hostfile, &orte_default_hostfile);

  ViewVC Help
Powered by ViewVC 1.1.20