Project

General

Profile

Bug #3166

Compilation failing on Ubuntu 19.04 with Cuda 10.1

Added by Kevin Boyd 28 days ago.

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

Description

Fails with several versions of gcc and clang.

[ 30%] Building NVCC (Device) object src/gromacs/CMakeFiles/libgromacs.dir/ewald/libgromacs_generated_pme_gpu_timings.cpp.o
In file included from <built-in>:1:
In file included from /usr/include/cuda_runtime.h:115:
In file included from /usr/include/crt/common_functions.h:267:
In file included from /usr/include/crt/math_functions.h:8863:
/usr/lib/gcc/x86_64-linux-gnu/9/../../../../include/c++/9/cmath:45:15: fatal error: 'math.h' file not found
#include_next <math.h>

I'm not sure if this is a Gromacs problem - doesn't look like 19.04 has a listed set of supported nvcc/c++ compiler combinations, but it compiles fine with Gromacs 2019.3

Also available in: Atom PDF