CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Installation

Paraview 4.1.0 cmake compiling error CUDA Convolution Driver

Register Blogs Members List Search Today's Posts Mark Forums Read

Like Tree2Likes
  • 1 Post By wyldckat
  • 1 Post By Juan Carlos

Reply
 
LinkBack Thread Tools Display Modes
Old   March 24, 2014, 21:06
Default Paraview 4.1.0 cmake compiling error CUDA Convolution Driver
  #1
New Member
 
Juan Carlos
Join Date: Feb 2010
Posts: 9
Rep Power: 6
Juan Carlos is on a distinguished road
Hi, All

I'm trying to build ParaView 4.1.0 from source on debian 7.0 64 bits

I'm currently using the makeParaview script that is included in OpenFOAM 2.3

When running ccmake, I get this error:

error: #error -- unsupported GNU version! gcc 4.7 and up are not supported!

CMake Error at cuda compile generated CUDA ConvolutionDriver.cu.o.cmake: 206

Thanks for reading

Juan C.

Code

In file included from /usr/lib/nvidia-cuda-toolkit/include/cuda_runtime.h:59:0,
from <command-line>:0:
/usr/include/host_config.h:82:2: error: #error -- unsupported GNU version! gcc 4.7 and up are not supported!
CMake Error at cuda_compile_generated_CUDAConvolutionDriver.cu.o. cmake:206 (message):
Error generating
/home/juan/OpenFOAM/ThirdParty-2.3.0/build/linux64Gcc/ParaView-4.1.0/Plugins/SciberQuestToolKit/SciberQuest/CMakeFiles/cuda_compile.dir//./cuda_compile_generated_CUDAConvolutionDriver.cu.o


make[2]: *** [Plugins/SciberQuestToolKit/SciberQuest/CMakeFiles/cuda_compile.dir/./cuda_compile_generated_CUDAConvolutionDriver.cu.o] Error 1
make[1]: *** [Plugins/SciberQuestToolKit/SciberQuest/CMakeFiles/vtkSciberQuest.dir/all] Error 2
make: *** [all] Error 2
---
Juan Carlos is offline   Reply With Quote

Old   March 30, 2014, 14:39
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 7,345
Blog Entries: 32
Rep Power: 72
wyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the roughwyldckat is a jewel in the rough
Greetings Juan,

I hope you're referring to the script makeParaView4, as the script makeParaView is meant for ParaView 3.12.0.

Well, this is a tricky situation. It depends on a few details:
  1. Do you want to build ParaView with CUDA support?
  2. If #1 is yes, then can you update the CUDA version you have installed?
  3. If #1 is yes and #2 is no, are you using a custom GCC 4.7 build or are you using Debian's GCC?
    • If you're using Debian's GCC, then you should upgrade CUDA as well.
If #1 is no... then try editing the file "ParaView-4.1.0/Plugins/SciberQuestToolKit/SciberQuest/CMakeLists.txt" and find these two lines:
Code:
if (CUDA_FOUND AND SQTK_CUDA)
if (SQTK_CUDA AND CUDA_FOUND)
And replace them with:
Code:
if (OFF AND SQTK_CUDA)
if (SQTK_CUDA AND OFF)
And then run makeParaView4 once again.

Best regards,
Bruno
waku2005 likes this.
wyldckat is offline   Reply With Quote

Old   April 11, 2014, 18:04
Default
  #3
New Member
 
Juan Carlos
Join Date: Feb 2010
Posts: 9
Rep Power: 6
Juan Carlos is on a distinguished road
Greetings Bruno,
I’m apologize for my delay to answer your comments about installation of
Paraview 4.1
I will try to implement your recommendations as soon as possible.
Best regards,
Juan C.
Juan Carlos is offline   Reply With Quote

Old   April 17, 2014, 13:37
Default
  #4
New Member
 
Juan Carlos
Join Date: Feb 2010
Posts: 9
Rep Power: 6
Juan Carlos is on a distinguished road
Hi, Bruno
I followed your statements about installation of Paraview 4.1.
In my particular case. I decided to build ParaView without CUDA support, to do that I modified the file “CmakeLists.txt” as you comment.
Fortunately these changes made that Paraview works properly.
Thanks for your help.
Best regards,
Juan C.
wyldckat likes this.
Juan Carlos is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Paraview 3.12.0 and the PV3FoamReader Module smpark OpenFOAM Installation 2 January 9, 2012 07:16
Cmake cannot recognize gcc to compile ParaView CAVT OpenFOAM 3 July 27, 2010 20:38
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found piprus OpenFOAM Installation 22 February 25, 2010 13:43
paraFoam reader for OpenFOAM 1.6 smart OpenFOAM Installation 13 November 16, 2009 21:41
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46


All times are GMT -4. The time now is 14:45.