CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM News & Announcements > OpenFOAM Announcements from Other Sources

ofgpu v1.1: GPU Linear Solvers for OpenFOAM Released

Register Blogs Community New Posts Updated Threads Search

Like Tree7Likes
  • 7 Post By gocarts

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   January 20, 2014, 09:55
Default ofgpu v1.1: GPU Linear Solvers for OpenFOAM Released
  #1
Senior Member
 
gocarts's Avatar
 
Richard Smith
Join Date: Mar 2009
Location: Enfield, NH, USA
Posts: 138
Blog Entries: 4
Rep Power: 17
gocarts is on a distinguished road
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.
elvis, wyldckat, Ohbuchi and 4 others like this.
__________________
Symscape, Computational Fluid Dynamics for all
gocarts is offline   Reply With Quote

Old   March 8, 2014, 14:10
Default confusion about the instruction
  #2
New Member
 
Alex
Join Date: Mar 2014
Posts: 1
Rep Power: 0
alexQch is on a distinguished road
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: libofgpu.so. 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(http://www.symscape.com/openfoam-2-2-x-on-windows) to Install MinGW-w64 cross-compiler and zlib" first?

Any suggestion is appreciated.
alexQch is offline   Reply With Quote

Old   September 18, 2014, 13:29
Default problems compiling with CUDA-6.5
  #3
Member
 
crixman's Avatar
 
Christian
Join Date: Apr 2014
Posts: 74
Rep Power: 12
crixman is on a distinguished road
Hi,
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//./ofgpu_generated_sparsematrixsystem.cu.o
In file included from /home/chris/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.cu:25:0:
/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 ofgpu_generated_sparsematrixsystem.cu.o.cmake:206 (message):
Error generating
/home/chris/ofgpu-1-1-0/obj/release/ofgpu/CMakeFiles/ofgpu.dir//./ofgpu_generated_sparsematrixsystem.cu.o


make[2]: *** [ofgpu/CMakeFiles/ofgpu.dir/./ofgpu_generated_sparsematrixsystem.cu.o] 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!
Christian
crixman is offline   Reply With Quote

Old   May 31, 2018, 03:58
Default cannot install ofgpu-7.5
  #4
New Member
 
vin
Join Date: Nov 2010
Posts: 9
Rep Power: 16
svinaya is on a distinguished road
Hello
I get the following error below when i do make install
Can anyone please help me.

[ 20%] Building NVCC (Device) object ofgpu/CMakeFiles/ofgpu.dir/ofgpu_generated_sparsematrixsystem.cu.o
In file included from /home/vinayas/OpenFOAM/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.cu:25:
/home/vinayas/OpenFOAM/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.h:12:29: error: cusp/ell_matrix.h: No such file or directory
/home/vinayas/OpenFOAM/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.h:13:31: error: cusp/precond/ainv.h: No such file or directory
/home/vinayas/OpenFOAM/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.h:14:35: error: cusp/precond/diagonal.h: No such file or directory
/home/vinayas/OpenFOAM/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.h:15:59: error: cusp/precond/aggregation/smoothed_aggregation.h: No such file or directory
In file included from /home/vinayas/OpenFOAM/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.h:19,
from /home/vinayas/OpenFOAM/ofgpu-1-1-0/src/ofgpu/sparsematrixsystem.cu:25:
/home/vinayas/OpenFOAM/ofgpu-1-1-0/src/ofgpu/solvertelemetry.h:28:27: error: cusp/multiply.h: No such file or directory
CMake Error at ofgpu_generated_sparsematrixsystem.cu.o.cmake:207 (message):
Error generating
/home/vinayas/OpenFOAM/ofgpu-1-1-0/install/ofgpu/CMakeFiles/ofgpu.dir//./ofgpu_generated_sparsematrixsystem.cu.o


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

With kind regards
S vinaya
svinaya is offline   Reply With Quote

Old   March 8, 2019, 12:21
Default Problems with the patch
  #5
New Member
 
Manasi Tiwari
Join Date: Aug 2018
Posts: 3
Rep Power: 8
manasitiwari is on a distinguished road
Hi,

I followed the steps for installing the required versions of all the libraries and tools succesfully. I made sure all the versions are as mentioned in the instructions so that there are no compatibility issues. However, after installing all the tools and building ofgpu, I am not able to run the patch successfully on the OpenFOAM code. I am getting the following errors -

patching file Makefile.inc.linux
patching file Makefile.inc.mingw-w64
patching file Makefile.inc.darwin
patching file common.c
patching file scotch.h
patching file Makefile
patching file common.h
patching file Makefile
patching file tecio.patch
patching file gpulibCUDA
patching file c
Hunk #1 FAILED at 12.
1 out of 1 hunk FAILED -- saving rejects to file c.rej
patching file c++
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
2 out of 2 hunks ignored -- saving rejects to file c++.rej
patching file mplibOPENMPI
patching file general
Reversed (or previously applied) patch detected! Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file general.rej
patching file gpulibCUDA
patching file c++Debug
patching file c
patching file mplibMPICH
patching file mplibMPICH-GM
patching file cDebug
patching file c++Opt
patching file mplibOPENMPI
patching file c++Prof
patching file mplib
patching file cOpt
patching file mplibGAMMA
patching file X
patching file c++
patching file mplibMSMPI
patching file cProf
patching file general
patching file gpulibCUDA
patching file c++Debug
patching file c
npatching file mplibMPICH
patching file mplibMPICH-GM
patching file cDebug
patching file c++Opt
patching file mplibOPENMPI
patching file c++Prof
patching file mplibHPMPI
patching file mplib
patching file cOpt
patching file mplibGAMMA
patching file X
patching file c++
patching file cProf
patching file general
can't find file to patch at input line 4511
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- wmake/wcleanAll (.../tags/2.2.x-2) (revision 831)
|+++ wmake/wcleanAll (.../branches/2.2.x-2) (revision 831)
--------------------------
File to patch:
n: No such file or directory
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 4522
Perhaps you should have used the -p or --strip option?
The text leading up to this was:
--------------------------
|--- wmake/wmakeLnInclude (.../tags/2.2.x-2) (revision 831)
|+++ wmake/wmakeLnInclude (.../branches/2.2.x-2) (revision 831)
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
1 out of 1 hunk ignored
patch: **** File wmake is not a regular file -- can't patch


Please help me fix this. I have been stuck on this for about 2 weeks.

Regards,
Manasi
manasitiwari is offline   Reply With Quote

Reply

Tags
gpu

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 Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
GPU Linear Solvers for OpenFOAM gocarts OpenFOAM Announcements from Other Sources 37 August 17, 2022 15:22
A turbulent test case for rhoCentralFoam immortality OpenFOAM Running, Solving & CFD 13 April 20, 2014 07:32
suitable boundary condition for scavenging process? immortality OpenFOAM Running, Solving & CFD 3 January 25, 2013 20:10
how to modify fvScheme to converge? immortality OpenFOAM Running, Solving & CFD 15 January 16, 2013 14:06
New Release ofgpu v0.2: GPU Linear Solvers for OpenFOAM gocarts OpenFOAM Announcements from Other Sources 2 September 19, 2011 10:09


All times are GMT -4. The time now is 23:27.