【问题标题】:Problem in configuring OpenMPI-4.1.1 in Linux在 Linux 中配置 OpenMPI-4.1.1 的问题
【发布时间】:2021-11-08 03:34:14
【问题描述】:

我正在尝试在 Linux 系统中配置和安装 OpenMPI-4.1.1。

我先尝试了以下命令进行配置:

./configure --prefix=/usr/local

最后的输出行是:

..........
Mellanox MXM: no
Open UCX: no
OpenFabrics OFI Libfabric: no
OpenFabrics Verbs: yes
Portals4: no
Shared memory/copy in+copy out: yes
Shared memory/Linux CMA: yes
Shared memory/Linux KNEM: no
Shared memory/XPMEM: no
TCP: yes
 
Resource Managers
-----------------------
Cray Alps: no
Grid Engine: yes
LSF: no
Moab: no
Slurm: yes
ssh/rsh: yes
Torque: no
 
OMPIO File Systems
-----------------------
DDN Infinite Memory Engine: no
Generic Unix FS: yes
IBM Spectrum Scale/GPFS: no
Lustre: no
PVFS2/OrangeFS: no

然后我尝试了以下命令安装:

make all install

输出结果为:

 cd . && /bin/sh /home/ratheesh/openmpi-4.1.1/config/missing automake-1.15 --foreign
/home/ratheesh/openmpi-4.1.1/config/missing: line 81: automake-1.15: command not found
WARNING: 'automake-1.15' is missing on your system.
         You should only need it if you modified 'Makefile.am' or
         'configure.ac' or m4 files included by 'configure.ac'.
         The 'automake' program is part of the GNU Automake package:
         <http://www.gnu.org/software/automake>
         It also requires GNU Autoconf, GNU m4 and Perl in order to run:
         <http://www.gnu.org/software/autoconf>
         <http://www.gnu.org/software/m4/>
         <http://www.perl.org/>
make: *** [Makefile.in] Error 1

如何解决这个问题?

【问题讨论】:

  • 通常在时间戳被弄乱时发生。我建议您通过将官方 tarball 解压缩到一个空目录中来从零开始重试。

标签: installation mpi configure openmpi automake


【解决方案1】:

你必须这样做reconfigure,这通常发生在 TAR 存档文件中,我遇到了同样的问题。

以下是命令,在解压的tarball路径中简单的做:

autoreconf -fiv

然后:

./configure --prefix=where/is/the/installation/path

然后简单地制作并安装它:

make && make install

当然,如果您进行并行化,您会花费更少的时间,例如:

make -j8 && make install

【讨论】:

  • 只有在时间戳被弄乱时才会发生这种情况。这可能是由您的环境(时钟问题、错误的 NFS 时间戳等)引起的,或者是官方 tarball 中的错误。如果是后者,请三重检查并向上游报告。
  • 遵循 Elephant88 的建议,但它不起作用
【解决方案2】:

听从了所有的建议。

  1. 使用tar -xvf openmpi-4.1.1.tar.gz提取OpenMPI tar文件

  2. autoreconf -fiv

  3. ./configure --prefix=/home/ratheesh/openmpi-4.1.1

  4. 使用make &amp;&amp; make install 制作和安装,但它提供了

    全部在配置中 make[1]: 进入目录/home/ratheesh/openmpi-4.1.1/config' make[1]: Nothing to be done for all'。 make[1]: 离开目录/home/ratheesh/openmpi-4.1.1/config' Making all in contrib make[1]: Entering directory /home/ratheesh/openmpi-4.1.1/contrib' make[1]: all'. make[1]: Leaving directory /home/ratheesh/openmpi-4.1.1/contrib' 无事可做 全部用蛋白石制作 make[1]: 进入目录/home/ratheesh/openmpi-4.1.1/opal' Making all in include make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/include' 做全是 make[3]: 进入目录/home/ratheesh/openmpi-4.1.1/opal/include' make[3]: Leaving directory /home/ratheesh/openmpi-4.1.1/opal/include' make[2]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/include' Making all in datatype make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/datatype' CC libdatatype_reliable_la-opal_datatype_pack.lo CC libdatatype_reliable_la-opal_datatype_unpack.lo CCLD libdatatype_reliable.la CC opal_convertor.lo CC opal_convertor_raw.lo CC opal_copy_functions.lo CC opal_copy_functions_heterogeneous.lo CC opal_datatype_add.lo CC opal_datatype_clone.lo CC opal_datatype_copy.lo CC opal_datatype_create.lo CC opal_datatype_create_contiguous.lo CC opal_datatype_destroy.lo CC opal_datatype_dump.lo CC opal_datatype_fake_stack.lo CC opal_datatype_get_count.lo CC opal_datatype_module.lo CC opal_datatype_monotonic.lo CC opal_datatype_optimize.lo CC opal_datatype_pack.lo CC opal_datatype_position.lo CC opal_datatype_resize.lo CC opal_datatype_unpack.lo CCLD libdatatype.la make[2]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/datatype' Making all in etc make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/etc' make[2]: all'. make[2]: Leaving directory /home/ratheesh/openmpi-4.1.1/opal/etc' 无事可做 一切尽在 util 中 make[2]: 进入目录/home/ratheesh/openmpi-4.1.1/opal/util' Making all in keyval make[3]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/util/keyval' CC keyval_lex.lo CCLD libopalutilkeyval.la make[3]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/util/keyval' make[3]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/util' 抄送 alfg.lo 抄送档案.lo 抄送 argv.lo CC basename.lo CC bipartite_graph.lo 抄送 cmd_line.lo 抄送 crc.lo CC daemon_init.lo CC ethtool.lo 抄送错误.lo 抄送fd.lo 抄送几个.lo 抄送 if.lo CC keyval_parse.lo CC malloc.lo 抄送网.lo CC numtostr.lo CC opal_environ.lo CC opal_getcwd.lo CC opal_pty.lo CC os_dirpath.lo CC os_path.lo CC输出.lo 抄送路径.lo CC printf.lo 抄送程序.lo 抄送qsort.lo 抄送 show_help.lo CC show_help_lex.lo 抄送堆栈跟踪.lo CC strncpy.lo CC sys_limits.lo 抄送uri.lo 抄送 info_subscriber.lo 抄送信息.lo CCLD libopalutil.la make[3]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/util' make[2]: Leaving directory /home/ratheesh/openmpi-4.1.1/opal/util' 在 mca/base 中制作所有内容 make[2]: 进入目录/home/ratheesh/openmpi-4.1.1/opal/mca/base' CC mca_base_close.lo CC mca_base_cmd_line.lo CC mca_base_component_compare.lo CC mca_base_component_find.lo CC mca_base_component_repository.lo CC mca_base_components_open.lo CC mca_base_components_close.lo CC mca_base_components_select.lo CC mca_base_list.lo CC mca_base_open.lo CC mca_base_var.lo CC mca_base_pvar.lo CC mca_base_var_enum.lo CC mca_base_var_group.lo CC mca_base_parse_paramfile.lo CC mca_base_components_register.lo CC mca_base_framework.lo CCLD libmca_base.la make[2]: Leaving directory /home/ratheesh/openmpi-4.1.1/opal/mca/base' 使一切都在 mca/common 中 make[2]: 进入目录/home/ratheesh/openmpi-4.1.1/opal/mca/common' make[2]: Nothing to be done for all'。 make[2]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/common' Making all in mca/allocator make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/mca/allocator' CC base/allocator_base_frame.lo CCLD libmca_allocator.la make[2]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/allocator' Making all in mca/backtrace make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/mca/backtrace' CC base/backtrace_component.lo CCLD libmca_backtrace.la make[2]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/backtrace' Making all in mca/btl make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/mca/btl' CC base/btl_base_frame.lo CC base/btl_base_error.lo CC base/btl_base_select.lo 抄送基地/btl_base_mca.lo CCLD libmca_btl.la make[2]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/btl' Making all in mca/compress make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/mca/compress' CC base/compress_base_open.lo CC base/compress_base_close.lo CC base/compress_base_select.lo CC base/compress_base_fns.lo CCLD libmca_compress.la make[2]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/compress' Making all in mca/crs make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/mca/crs' 抄送基地/crs_base_open.lo 抄送基地/crs_base_close.lo 抄送基地/crs_base_select.lo 抄送基地/crs_base_fns.lo CCLD libmca_crs.la 生成 opal_crs.7 选项包版本需要一个参数 用法:../../../config/make_manpage.pl --package-name= --package-version= --ompi-date= --opal-date= --orte-date= --input= --output= [--nocxx] [--nofortran] [--nof08] make[2]: *** [opal_crs.7] 错误 1 make[2]: 离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/crs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory /home/ratheesh/openmpi-4.1.1/opal' make: *** [all-recursive] 错误 1

如何解决这个问题?

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2011-07-08
    • 2020-09-23
    • 1970-01-01
    • 2013-05-21
    • 2015-04-25
    • 2013-03-12
    • 1970-01-01
    相关资源
    最近更新 更多