CFD Online Discussion Forums

CFD Online Discussion Forums (
-   OpenFOAM Announcements from Other Sources (
-   -   ofgpu v1.1: GPU Linear Solvers for OpenFOAM Released (

gocarts January 20, 2014 09:55

ofgpu v1.1: GPU Linear Solvers for OpenFOAM Released
The Symscape ofgpu (v1.1) library for OpenFOAMŪ 2.2.x is now available. ofgpu is a linear solver library that targets NVIDIA CUDA GPU devices on Windows, Linux, and (untested) Mac OS X.

For more details see "GPU v1.1 Linear Solver Library for OpenFOAM".

OpenFOAM is a registered trademark of OpenCFD and is unaffiliated with Symscape.

alexQch March 8, 2014 14:10

confusion about the instruction
Thanks for the GPU code. I followed the building instruction to step 3. The ofgpu was successfully built how ever in the /install folder, there is only one folder named lib and there is only one file inside it: In this case, does it mean there is no need to perform the step as stated in instruction: ln -s /install/release/lib /install/lib ?
With the assumption that there is no need to create the soft link, I went on to step step 4. I'm not sure about the meaning of "CUDA modification". Is it simply apply the "MinGW Windows Modifications" patch at the root directory of OpenFOAM 2.2.x or I need to start from step 1 on webpage( to Install MinGW-w64 cross-compiler and zlib" first?

Any suggestion is appreciated.

crixman September 18, 2014 12:29

problems compiling with CUDA-6.5
thank you for releasing OFGPU v1.1.
I am having problems though installing it on Ubuntu 14.04, while using CUDA 6.5.

I successfully compiled it with
cmake $HOME/ofgpu-1-1-0/src -DCMAKE_INSTALL_PREFIX=~/ofgpu-1-1-0 -DCMAKE_BUILD_TYPE=Release

But then with make install I got the following error:

[ 25%] Building NVCC (Device) object ofgpu/CMakeFiles/ofgpu.dir//./
In file included from /home/chris/ofgpu-1-1-0/src/ofgpu/
/home/chris/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.h:12:29: fatal error: cusp/ell_matrix.h: No such file or directory
#include <cusp/ell_matrix.h>
compilation terminated.
CMake Error at (message):
Error generating

make[2]: *** [ofgpu/CMakeFiles/ofgpu.dir/./] Error 1
make[1]: *** [ofgpu/CMakeFiles/ofgpu.dir/all] Error 2
make: *** [all] Error 2

I think it's a CUSP problem, because I only found the new cusplibrary GIT and I am not able to compile it as well.
Can someone guide me through the compilation process?
Thanks in advance!

All times are GMT -4. The time now is 16:11.