Project

General

Profile

Bug #1838

Error building gromacs-5.1 with NVML support

Added by Venkat Reddy over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
build system
Target version:
Affected version - extra info:
Affected version:
Difficulty:
uncategorized
Close

Description

Dear all,
We have a GPU workstation populated with four C2075 cards. I have previously installed and used Gromacs-5.04 without any problem. But when I tried to install Gromacs-5.1 version, "make" command is terminating with the following error:


/home/dynamix/Downloads/gromacs-5.1/src/gromacs/gmxlib/gpu_utils/gpu_utils.cu(360): error: identifier "NVML_RESTRICTED_API_SET_APPLICATION_CLOCKS" is undefined

/home/dynamix/Downloads/gromacs-5.1/src/gromacs/gmxlib/gpu_utils/gpu_utils.cu(360): error: identifier "nvmlDeviceGetAPIRestriction" is undefined

2 errors detected in the compilation of "/tmp/tmpxft_00002f84_00000000-12_gpu_utils.compute_35.cpp1.ii".
CMake Error at libgromacs_generated_gpu_utils.cu.o.cmake:266 (message):
  Error generating file
  /home/dynamix/Downloads/gromacs-5.1/build/src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/gpu_utils/./libgromacs_generated_gpu_utils.cu.o

make[2]: *** [src/gromacs/CMakeFiles/libgromacs.dir/gmxlib/gpu_utils/libgromacs_generated_gpu_utils.cu.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [src/gromacs/CMakeFiles/libgromacs.dir/all] Error 2
make: *** [all] Error 2


Thanks for your concern

CMakeCache.txt (62.9 KB) CMakeCache.txt Venkat Reddy, 10/05/2015 07:34 AM

Related issues

Related to GROMACS - Bug #1835: NVML support can't be disabled in the build systemClosed

Associated revisions

Revision 89977037 (diff)
Added by Szilárd Páll over 4 years ago

Avoid using incompatible NVML version

This change introduces a check on the NVML API version in order to avoid
compilation issues when old driver/NVML versions are picked up.

Moved macro handling NVML errors to the only file they are issued.

Made the requirement for including nvml.h in gpu_utils.cu explicit.

Refactored handling of clock support so that we don't have to compile
three different ways merely to detect syntax errors.

Fixes #1838

Change-Id: Ibb7a9f7cc80aa9e9476a455d0b6192451a038088

History

#1 Updated by Szilárd Páll over 4 years ago

  • Subject changed from Error in gromacs-5.1 installation to Error building gromacs-5.1 with NVML support
  • Description updated (diff)
  • Assignee deleted (Szilárd Páll)

#2 Updated by Szilárd Páll over 4 years ago

  • Related to Bug #1835: NVML support can't be disabled in the build system added

#3 Updated by Szilárd Páll over 4 years ago

What CUDA driver version are you using?

#4 Updated by Gerrit Code Review Bot over 4 years ago

Gerrit received a related patchset '2' for Issue #1838.
Uploader: Szilárd Páll ()
Change-Id: Ibb7a9f7cc80aa9e9476a455d0b6192451a038088
Gerrit URL: https://gerrit.gromacs.org/5190

#5 Updated by Szilárd Páll over 4 years ago

  • Status changed from New to Fix uploaded

#6 Updated by Szilárd Páll over 4 years ago

@Venkat Reddy: Could you please check whether the above patch fixes your issue?

#7 Updated by Szilárd Páll over 4 years ago

  • Status changed from Fix uploaded to Resolved

#8 Updated by Mark Abraham over 4 years ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF