Hello,
This problem should be resolved after install “ipmctl”, you can make install it first.
Regards,
Shengyu.
From: <daos@daos.groups.io> on behalf of "gaiaismus@..." <gaiaismus@...>
Reply-To: "daos@daos.groups.io" <daos@daos.groups.io>
Date: Sunday, March 1, 2020 at 4:39 PM
To: "daos@daos.groups.io" <daos@daos.groups.io>
Subject: [External] [daos] Install Problem on CentOS7
Hi, all. I recently tried to install daos on CentOS7, but got the following error.
[root@765Production daos]# scons --config=force --build-deps=yes install
scons: Reading SConscript files ...
Using scons_local build
Checking whether gcc program exists.../bin/gcc
Checking whether g++ program exists.../bin/g++
Checking for C header file stdatomic.h... no
Using build version of psm2
Using build version of ofi
Using build version of openpa
Using build version of mercury
Using build version of cart
Using existing sources at /root/daos/_build.external/cart for cart
Checking for C header file cart/api.h... yes
Checking for C header file gurt/list.h... yes
Checking for C library cart... yes
Checking for C library gurt... yes
Using existing sources at /root/daos/_build.external/mercury for mercury
Checking for C library mercury... yes
Checking for C library na... yes
Checking for C library mercury_util... yes
Using existing sources at /root/daos/_build.external/openpa for openpa
Checking for C library opa... yes
Checking for C header file boost/preprocessor.hpp... yes
Using existing sources at /root/daos/_build.external/ofi for ofi
Checking for C header file rdma/fabric.h... yes
Checking for C library fabric... yes
Using existing sources at /root/daos/_build.external/psm2 for psm2
Checking for C header file psm2.h... yes
Checking for C library psm2... yes
Checking for C library rt... yes
Checking for C header file uuid/uuid.h... yes
Checking for C library uuid... yes
Checking for C header file openssl/md5.h... yes
Checking for C library crypto... yes
Checking for C header file yaml.h... yes
Using existing sources at /root/daos/_build.external/argobots for argobots
Checking for C header file abt.h... yes
Checking for C library abt... yes
Checking for C header file valgrind/valgrind.h... yes
Using existing sources at /root/daos/_build.external/pmdk for pmdk
Checking for C library pmemobj... yes
Checking for C library cmocka... yes
Checking for C header file hwloc.h... yes
Checking for C library hwloc... yes
Using existing sources at /root/daos/_build.external/fuse for fuse
Checking for C header file fuse3/fuse.h... yes
Checking for C library fuse3... yes
Using existing sources at /root/daos/_build.external/protobufc for protobufc
Checking for C header file protobuf-c/protobuf-c.h... yes
Checking for C library protobuf-c... yes
Using existing sources at /root/daos/_build.external/spdk for spdk
Checking for C library spdk... yes
Using existing sources at /root/daos/_build.external/fio for fio
Checking whether genfio program exists.../root/daos/install/bin/genfio
Checking whether fio program exists.../root/daos/install/bin/fio
Using existing sources at /root/daos/_build.external/isal for isal
Checking for C library isal... yes
Checking gcc -Wno-gnu-designator no
Checking gcc -Wno-missing-braces yes
Checking g++ -Wno-missing-braces yes
Checking gcc -Wno-ignored-attributes no
Checking gcc -Wno-gnu-zero-variadic-macro-arguments no
Checking gcc -Wno-tautological-constant-out-of-range-compare no
Checking gcc -Wno-unused-command-line-argument no
Checking gcc -Wframe-larger-than=4096 yes
Checking g++ -Wframe-larger-than=4096 yes
Checking gcc -fno-strict-overflow yes
Checking g++ -fno-strict-overflow yes
Checking gcc -fno-delete-null-pointer-checks yes
Checking g++ -fno-delete-null-pointer-checks yes
Checking gcc -fwrapv yes
Checking g++ -fwrapv yes
Checking gcc -fstack-protector-strong yes
Checking g++ -fstack-protector-strong yes
Checking gcc -fstack-clash-protection yes
Checking g++ -fstack-clash-protection yes
Found no compatible lustre nor lustre-client package.
Checking for C header file CUnit/Basic.h... yes
Checking for C library cunit... yes
Checking for Go compiler in $PATH... /bin/go
Checking /bin/go version... 1.13.6
Checking for C header file nvme_internal.h... yes
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'mpi/openmpi3-x86_64'
Looking for mpi/openmpi3-x86_64
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'gnu-openmpi'
Looking for gnu-openmpi
Looking for mpi/openmpi-x86_64
Loaded mpi/openmpi-x86_64
Package ompi was not found in the pkg-config search path.
Perhaps you should add the directory containing `ompi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ompi' found
Package ompi was not found in the pkg-config search path.
Perhaps you should add the directory containing `ompi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ompi' found
Package ompi was not found in the pkg-config search path.
Perhaps you should add the directory containing `ompi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ompi' found
Package ompi was not found in the pkg-config search path.
Perhaps you should add the directory containing `ompi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ompi' found
Package ompi was not found in the pkg-config search path.
Perhaps you should add the directory containing `ompi.pc'
to the PKG_CONFIG_PATH environment variable
No package 'ompi' found
No openmpi installed and/or loaded
Looking for mpi/mpich-x86_64
Loaded mpi/mpich-x86_64
mpich is installed
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'mpi/openmpi3-x86_64'
Looking for mpi/openmpi3-x86_64
ModuleCmd_Load.c(213):ERROR:105: Unable to locate a modulefile for 'gnu-openmpi'
Looking for gnu-openmpi
Looking for mpi/openmpi-x86_64
Loaded mpi/openmpi-x86_64
No openmpi installed and/or loaded
Looking for mpi/mpich-x86_64
Loaded mpi/mpich-x86_64
mpich is installed
scons: done reading SConscript files.
scons: Building targets ...
<lambda>(["build/src/control/bin/daos_admin"], ["src/control/cmd/daos_admin/main.go", "build/src/control/lib/spdk/libnvme_control.a"])
go install -ldflags "-X main.daosVersion=1.1.0 -B 0x7f31a924b8bf6a97db738f0a49349b094c8a84f3" -v github.com/daos-stack/daos/src/control/cmd/daos_admin
github.com/daos-stack/daos/src/control/lib/ipmctl
# github.com/daos-stack/daos/src/control/lib/ipmctl
build/src/control/src/github.com/daos-stack/daos/src/control/lib/ipmctl/nvm.go:34:28: fatal error: nvm_management.h: No such file or directory
#include "nvm_management.h"
^
compilation terminated.
scons: *** Error 2
scons: *** [build/src/control/bin/daos_admin] Error 2
scons: building terminated because of errors.
I have executed “yum install openmpi” and "yum install openmpi-devel".
If anyone has the answer, please share with me.
Thanks!