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

Search Results

Register Blogs Community New Posts Updated Threads Search

Showing results 1 to 14 of 14
Search took 0.00 seconds.
Search: Posts Made By: gocarts
Forum: OpenFOAM Announcements from Other Sources November 23, 2011, 08:46
Replies: 37
Views: 17,975
Posted By gocarts
Match git commit

I think the version you checked out of git has a modified Foam::dlopen routine.

For the patch to work correctly you need to match the exact version of OpenFOAM from git.

git commit:...
Forum: OpenFOAM Announcements from Other Sources November 22, 2011, 16:39
Replies: 37
Views: 17,975
Posted By gocarts
Try replacing "gpu" with "libgpu.so"

Another thought, try replacing "gpu" in controlDict with "libgpu.so" - though this shouldn't be necessary. I suggest this because the dlopen error message shouldn't be reported in it's raw form, at...
Forum: OpenFOAM Announcements from Other Sources November 22, 2011, 16:09
Replies: 37
Views: 17,975
Posted By gocarts
gpu in controlDict is correct

It's correct to load libgpu.so ("gpu" in your controlDict) and I was thinking that given libgpu.so is in the right location, it is more likely that libofgpu.so (which libgpu.so references) was not...
Forum: OpenFOAM Announcements from Other Sources November 22, 2011, 13:07
Replies: 37
Views: 17,975
Posted By gocarts
Check libofgpu.so

Check that libofgpu.so is also in your LD_LIBRARY_PATH
Forum: OpenFOAM Announcements from Other Sources October 24, 2011, 10:55
Replies: 37
Views: 17,975
Posted By gocarts
Missing src directory

I see the problem - I missed the src directory in my package hierarchy (ofgpu-0-2.tgz). I've fixed it now, should be good to go. Thanks for finding/reporting this problem.

I've also added a note...
Forum: OpenFOAM Announcements from Other Sources October 21, 2011, 15:31
Replies: 37
Views: 17,975
Posted By gocarts
bashrc args

Another thought.

You have to supply your settings "WM_GPU='CUDA' CUDA_ARCH_PATH=/home/roman/OpenFOAM/ofgpu-0-2"

as args to etc/bashrc e.g.,:

export FOAM_INST_DIR="$(HOME)/projects/of/of2.0";...
Forum: OpenFOAM Announcements from Other Sources October 21, 2011, 13:31
Replies: 37
Views: 17,975
Posted By gocarts
Paths wrong

Errors I see:


"could not open file omp.h for source file UIPread.C"
"could not open file ofgpu/ofgpuconfig.h for source file cudaGpu.C"


So there's something wrong with your paths.
...
Forum: OpenFOAM Announcements from Other Sources October 21, 2011, 11:03
Replies: 37
Views: 17,975
Posted By gocarts
Need to match exact OpenFOAM 2.0.x for patch

I think your compilation failed earlier. You need to find the first error to diagnose the problem.

The problem you are seeing is a symptom (not the cause) related to missing lnInclude directories....
Forum: OpenFOAM Announcements from Other Sources October 17, 2011, 10:51
Replies: 37
Views: 17,975
Posted By gocarts
Double precision vs single precision

I think then your problems are two fold:


You need to patch the exact version of OpenFOAM 1.7.x (not 1.7.1) specified in the instructions at: http://www.symscape.com/gpu-openfoam
I guess you...
Forum: OpenFOAM Announcements from Other Sources October 17, 2011, 10:32
Replies: 37
Views: 17,975
Posted By gocarts
Don't define FOAM_LABEL_64

Just to follow up on:



I can't see where this is defined by default. It's not about whether you are compiling 64-bit, it relates to the size of integers. If you can find where it's defined I...
Forum: OpenFOAM Announcements from Other Sources October 17, 2011, 10:14
Replies: 37
Views: 17,975
Posted By gocarts
What about ofgpu 0.2?

Wouldn't you prefer to build the latest version of ofgpu 0.2 with OpenFOAM 2.0.x? http://www.symscape.com/gpu-0-2-openfoam

By the looks of your errors it seems that your build may have failed to...
Forum: OpenFOAM Announcements from Other Sources October 17, 2011, 09:36
Replies: 37
Views: 17,975
Posted By gocarts
Foam::label as long, why?

So I guess on your system (Linux?) you have Foam::label defined as a long?

That would result from defining 'FOAM_LABEL_64' for label.H

Is this the case?

Do you really need access to integers...
Forum: OpenFOAM Announcements from Other Sources May 2, 2011, 09:13
Replies: 37
Views: 17,975
Posted By gocarts
Thanks for the feedback

Thanks for the feedback Bernard.

You raised some good points:


I'll update the source code patch shortly to fix these 2 problems.


I think these 2 issues are caused because you are missing...
Forum: OpenFOAM Announcements from Other Sources April 23, 2011, 19:16
Replies: 37
Views: 17,975
Posted By gocarts
GPU Linear Solvers for OpenFOAM

ofgpu is a free GPL library from Symscape that provides GPU linear solvers for OpenFOAMŪ. The experimental library targets NVIDIA CUDA devices on Windows, Linux, and (untested) Mac OS X. It uses the...
Showing results 1 to 14 of 14

 
Forum Jump

All times are GMT -4. The time now is 18:12.