Skip to content

Difficulty compiling on NVidia tegra #7

@sjwaldman

Description

@sjwaldman

Goodmorning OPI Team -

I am hoping to use OPI for some basic work -- I have a generic interest in GPU based computation, as well as a specific interest in orbital propagation and radiation tolerant computing. OPI seems like a very promising framework, but I am unable to get the code compiled. Any help would be greatly appreciated, as I suspect I am doing something basic incorrectly.

System:
NVidia TX1 running tegra-ubuntu aarch64
CUDA release 9.0
cmake version 3.5.1
g++ (Ubuntu/Linaro 5.4.0-6ubuntu1~16.04.11) 5.4.0 20160609


After mkdir build; cd build; cmake .. I receive the following error:

CMake Error at CMakeLists.txt:56 (if):
if given arguments:

"3.5.1" "VERSION_GREATER_EQUAL" "3.12"

Unknown arguments specified

This is fixed by replacing with "NOT ${CMAKE_VERSION} VERSION_LESS "3.12 " based on the insight gleaned here: [https://github.com/Dav1dde/glad/issues/134]. This modification allows cmake to finish.

Make proceeds to the 64% level and crashes out when building propagator_properties_cpp.cpp with an error about "virtual functions are pure". This is something I tried to "fix" by changing the function definition so the virtual function is properly overridden, but this seems indicative of a compiler configuration error. As far as I can tell, the compiler is running with C++11 enabled based on CMAKE messages. However, the virtual message and later messages regarding "nullptr" definition suggest that a compiler configuration is wrong still.

Any help greatly appreciated.

Thanks!

sam

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions