Don't look for the coretemp file when configuring as it might not be on the head node, but is available on the backend
Refs trac:4176 This commit was SVN r30461. The following Trac tickets were found above: Ticket 4176 --> https://svn.open-mpi.org/trac/ompi/ticket/4176
Этот коммит содержится в:
родитель
56a13f134c
Коммит
c874ce3b61
@ -21,18 +21,9 @@ AC_DEFUN([MCA_orte_sensor_coretemp_CONFIG], [
|
||||
# do not build if support not requested
|
||||
AS_IF([test "$with_coretemp" != "no"],
|
||||
[AS_IF([test "$opal_found_linux" = "yes"],
|
||||
[AS_IF([test -r "/sys/bus/platform/devices/coretemp.0"],
|
||||
[sensor_coretemp_happy=yes],
|
||||
[AC_MSG_WARN([Core temperature sensing was requested but the required directory])
|
||||
AC_MSG_WARN([was not found. This usually indicates that the \"coretemp\"])
|
||||
AC_MSG_WARN([kernel module is not installed. Please install the module])
|
||||
AC_MSG_WARN([and try again, or remove the core temperature sensing request.])
|
||||
sensor_coretemp_happy=no])],
|
||||
[AC_MSG_WARN([Core temperature sensing was requested but is only supported on Linux systems])
|
||||
sensor_coretemp_happy=no])
|
||||
AS_IF([test "$sensor_coretemp_happy" = "yes"],
|
||||
[$1],
|
||||
[AC_MSG_ERROR([Cannot continue])
|
||||
[AC_MSG_WARN([Core temperature sensing was requested but is only supported on Linux systems])
|
||||
AC_MSG_ERROR([Cannot continue])
|
||||
$2])
|
||||
],
|
||||
[$2])
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user