首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >在Linux中配置OpenMPI-4.1.1时出现问题

在Linux中配置OpenMPI-4.1.1时出现问题
EN

Stack Overflow用户
提问于 2021-09-12 14:55:33
回答 2查看 187关注 0票数 0

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

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

代码语言:javascript
复制
./configure --prefix=/usr/local

最后的输出行是:

代码语言:javascript
复制
..........
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

然后,我尝试使用以下命令进行安装:

代码语言:javascript
复制
make all install

输出结果为:

代码语言:javascript
复制
 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

如何解决此问题?

EN

回答 2

Stack Overflow用户

发布于 2021-09-12 22:05:24

你必须做reconfigure,这通常发生在TAR归档文件中,我也有同样的问题。

以下是命令,在解压缩的tarball路径中只需执行以下操作:

代码语言:javascript
复制
autoreconf -fiv

然后:

代码语言:javascript
复制
./configure --prefix=where/is/the/installation/path

然后简单地make和make install它:

代码语言:javascript
复制
make && make install

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

代码语言:javascript
复制
make -j8 && make install
票数 0
EN

Stack Overflow用户

发布于 2021-09-13 11:24:11

遵循了所有的建议。

使用tar -xvf openmpi-4.1.1.tar.gz解压

  1. 的OpenMPI tar文件

  1. autoreconf -fiv

配置--prefix=/home/ratheesh/openmpi-4.1.1。/

使用make && make install制作和安装

  1. ,但它提供了

Making all in config make1:进入目录/home/ratheesh/openmpi-4.1.1/config' make[1]: Nothing to be done for all‘。make1:离开目录/home/ratheesh/openmpi-4.1.1/config' Making all in contrib make[1]: Entering directory /home/ratheesh/openmpi-4.1.1/contrib‘make1:不需要对all'. make[1]: Leaving directory /home/ratheesh/openmpi-4.1.1/contrib执行任何操作’在opal中包含所有内容:进入目录/home/ratheesh/openmpi-4.1.1/opal' Making all in include make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/include‘make all-am make3:进入目录/home/ratheesh/openmpi-4.1.1/opal/include' make[3]: Leaving directory /home/ratheesh/openmpi-4.1.1/opal/include’make2:离开目录/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_ opal_convertor.lo _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 make2:离开目录/home/ratheesh/openmpi-4.1.1/opal/datatype' Making all in etc make[2]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/etc‘make2: Nothing to to for all'. make[2]: Leaving directory /home/ratheesh/openmpi-4.1.1/opal/etc’进入目录make2:进入目录/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 make3:离开目录/home/ratheesh/openmpi-4.1.1/opal/util/keyval' make[3]: Entering directory /home/ratheesh/openmpi-4.1.1/opal/util’CC alfg.lo CC arch.lo CC argv.lo CC basename.lo CC bipartite_graph.lo CC cmd_line.lo CC crc.lo CC daemon_init.lo CC ethtool.lo CC error.lo CCfd.lo CC few.lo CC if.lo CC CC keyval_parse.lo CC malloc.lo CC net.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 output.lo CC path.lo CC printf.lo CC proc.lo CC qsort.lo CC show_help.lo CC show_help_lex.lo CC stacktrace.lo CC strncpy.lo CC sys_limits.lo CC uri.lo CC info_subscriber.lo CC info.lo libopalutil.la make3:离开目录/home/ratheesh/openmpi-4.1.1/opal/util' make[2]: Leaving directory /home/ratheesh/openmpi-4.1.1/opal/util‘在mca/base中创建所有目录make2:进入目录/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‘Making all in mca/common make2: Entering directory /home/ratheesh/openmpi-4.1.1/opal/mca/common' make[2]: Nothing to be done for all’。/home/ratheesh/openmpi-4.1.1/opal/mca/allocator‘:离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/backtrace’CC base/make2_ /home/ratheesh/openmpi-4.1.1/opal/mca/common' Making all in mca/allocator make[2]: Entering directory _frame.lo CCLD libmca_allocator.la make2:离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/allocator‘CC base/backtrace_component.lo CCLD libmca_backtrace.la make2:离开目录/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/backtrace' Making all in mca/btl make[2]: Entering directory/ratheesh/openmpi-4.1.1/opal/mca/btl’CC/home/ratheesh/openmpi-4.1.1/opal/mca/compress‘/btl_base_frame.lo CC libmca_btl.la /btl_base_error.lo CC base/btl_base_select.lo CC base/btl_base_mca.lo CCLD基本压缩:离开目录压缩CC make2/ /home/ratheesh/openmpi-4.1.1/opal/mca/btl' Making all in mca/compress make[2]: Entering directory _base_libmca_btl.la_make2//home/ratheesh/openmpi-4.1.1/opal/mca/btl' Making all in mca/compress make[2]: Entering directory_base_close.lo CC base/compress_base_select.lo CC base/compress_base_fns.lo CCLD libmca_compress.la make2:离开目录/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‘CC base/crs_base_open.lo CC base/crs_base_close.lo CC base/crs_base_select.lo CC base/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 --nof08 make2:* opal_crs.7错误1 make2:离开目录/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-递归错误1

如何解决此问题?

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69152558

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档