我正在尝试在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
如何解决此问题?
您必须执行reconfigure
,这通常发生在TAR存档文件中,我也遇到了同样的问题。
以下是命令,在提取的tarball路径中简单地做:
autoreconf -fiv
然后:
./configure --prefix=where/is/the/installation/path
然后简单地制作并安装它:
make && make install
当然,如果你进行并行化,你会花费更少的时间,例如:
make -j8 && make install
遵循了所有建议。
-
使用
tar -xvf openmpi-4.1.1.tar.gz
提取OpenMPI tar文件 -
autoreconf -fiv
-
/configure--prefix=/home/rathesh/openmpi-4.1.1
-
使用
make && 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/rathesh/openmpi-4.1.1/contrib'make[1]:all'. make[1]: Leaving directory
/home/rathesh/openmpi-4.1.1/contrib'无需执行任何操作蛋白石制作make[1]:进入目录/home/ratheesh/openmpi-4.1.1/opal' Making all in include make[2]: Entering directory
/home/rathesh/openmpi-4.1.1/opal/include'使一切make[3]:进入目录/home/ratheesh/openmpi-4.1.1/opal/include' make[3]: Leaving directory
/home/rathesh/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/rathesh/openmpi-4.1.1/opal/datatype'抄送libdatatype_reliable_la-opal_datatype_pack.lo抄送libdatatype_reliable_la-opal_datatype_unpack.loCCLD libdatatype_reliable.laCC opal_converter.loCC opal_convertetor_raw.lo抄送opal_copy_functions.loCC opal_copy_functions_异类.loCC opal_datatype_add.lo抄送opal_datatype_clone.lo抄送opal_datatype_copy.lo抄送opal_datatype_create.loCC opal_datatype_create_contiguous.loCC opal_datatype_destroy.loCC opal_datatype_dump.loCC opal_datatype_fake_stack.lo抄送opal_datatype_get_count.loCC opal_datatype_module.loCC opal_datatype_mononic.loCC opal_datatype_optimize.lo抄送opal_datatype_pack.loCC opal_datatype_position.loCC opal_datatype_resize.loCC opal_datatype_unpack.loCCLD libdatatype.lamake[2]:离开目录/home/ratheesh/openmpi-4.1.1/opal/datatype' Making all in etc make[2]: Entering directory
/home/rathesh/openmpi-4.1.1/opal/etc'make[2]:all'. make[2]: Leaving directory
/home/rathesh/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/rathesh/openmpi-4.1.1/opal/util/keyval'CC keyval_lex_loCCLD libopalutilkeyval.lamake[3]:离开目录/home/ratheesh/openmpi-4.1.1/opal/util/keyval' make[3]: Entering directory
/home/rathesh/openmpi-4.1.1/opal/util'CC alfg.loCC arch.loCC argv.loCC基本名称.loCC二分图.lo抄送cmd_line.loCC crc.loCC守护进程_信息.loCC ethtool.loCC错误.lo抄送fd.loCC少.lo抄送if.loCC keyval_parse.loCC malloc.loCC网络.lo抄送numtostr.loCC opal_environment.lo抄送opal_getcwd.lo抄送opal_pty.lo抄送os_dirpath.lo抄送os_path.loCC输出.loCC路径.loCC打印抄送proc.lo抄送qsort.lo抄送show_help.lo抄送show_help_lex.loCC stacktracke.loCC strncpy.lo抄送sys_limits.lo抄送uri.lo抄送info_subscriber.lo抄送信息.loCCLD libopalutil.lamake[3]:离开目录/home/ratheesh/openmpi-4.1.1/opal/util' make[2]: Leaving directory
/home/rathesh/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/rathesh/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/rathesh/openmpi-4.1.1/opal/mca/allocater'CC基本/分配器基本框架.loCCLD libmca_allocator.lamake[2]:离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/allocator' Making all in mca/backtrace make[2]: Entering directory
/home/rathesh/openmpi-4.1.1/opal/mca/backtrace'CC基础/backtrace_component.loCCLD libmca_backtrace.lamake[2]:离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/backtrace' Making all in mca/btl make[2]: Entering directory
/home/rathesh/openmpi-4.1.1/opal/mca/btl'CC基础/btl_base_frame.loCC基础/btl_base_error.loCC基本/btl_base_select.loCC基础/btl_base_mca.loCCLD libmca_btl.lamake[2]:离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/btl' Making all in mca/compress make[2]: Entering directory
/home/rathesh/openmpi-4.1.1/opal/mca/compress'CC基础/压缩_基础_打开.loCC基础/压缩_基础_闭合.loCC基础/压缩_基础_选择.loCC基础/压缩_基础_fns.loCCLD libmca_compress.lamake[2]:离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/compress' Making all in mca/crs make[2]: Entering directory
/home/rathesh/openmpi-4.1.1/opal/mca/crs'CC基础/crs_base_open.loCC基础/crs_base_close.loCC基本/crs_base_select.loCC基础/crs_base_fns.loCCLD libmca_crs.la生成opal_crs.7选项包版本需要参数用法:../..//config/make_manpage.pl--包名称=--包版本=--ompi日期=--opal日期=--porte日期=--input=--output=[-nocxx][-nofortran][-nof08]make[2]:***[opal_crs.7]错误1make[2]:离开目录/home/ratheesh/openmpi-4.1.1/opal/mca/crs' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory
/home/rathesh/openmpi-4.1.1/opal'make:***[所有递归]错误1
如何解决此问题?