It is currently 21 Dec 2014, 01:48
All times are UTC

For OpenFOAM-2.1.x Gpu plugin Installation on RHEL-5.1

General discussion for SpeedIT. Use this forum for questions, examples, feedback, and feature requests.

For OpenFOAM-2.1.x Gpu plugin Installation on RHEL-5.1

Postby nagendra verma » 27 Feb 2013, 05:55

Hello!
I am trying to install OpenFOAM_SpeedIT_plugin v1.2 for OpenFOAM-2.1.x on RHEL-5.1
But I am getting Error in PBiCG_accel.C and PCG_accel.C files.
I am not getting what cause these errors.
I am attaching make.log file which is generated by command wmake libso
please help me .

Thanks
nagendra
Attachments
make.zip
make.log
(1.8 KiB) Downloaded 231 times
nagendra verma
 
Posts: 3
Joined: 25 Feb 2013, 04:35

Re: For OpenFOAM-2.1.x Gpu plugin Installation on RHEL-5.1

Postby jpola » 02 Mar 2013, 10:43

Hello,

you are probably using Classic version of SpeedIT. Current manual for Plugin you will find in Plugin/documentation folder. To compile plugin and SpeedIT you have to first compile SpeedIT library and then compile plugin. You can easily compile plugin by calling script from Plugin folder. In case of classic version please execute ./Allwmake FREE from Plugin directory.

Please let me know if you will have any other question.

Regards,
Kuba.
jpola
 
Posts: 44
Joined: 17 Nov 2010, 07:59
Location: Poland, Swidnica

Re: For OpenFOAM-2.1.x Gpu plugin Installation on RHEL-5.1

Postby nagendra verma » 04 Mar 2013, 04:22

Hi!
Thanks for your reply I am using SpeedIT_Classic and SpeedIT_Plugin_to_OpenFOAM_1.2.1
I have just called make commad from SpeedIT_Classic folder it generated libSpeedIT_Classic.so and si_classic.h
after adding these to stander path
cp libSpeedIT_Classic.so /usr/lib
cp si_classic.h /usr/include
From SpeedIT_Plugin_to_OpenFOAM/cuwrap directory I have called make then it generated libcuwrap.so
Then after calling wmake libso from SpeedIT_Plugin_to_OpenFOAM directory I have got libexternalsolv.so in $FOAM_USER_LIBBIN directory.


Thanks
nagendra
nagendra verma
 
Posts: 3
Joined: 25 Feb 2013, 04:35

Re: For OpenFOAM-2.1.x Gpu plugin Installation on RHEL-5.1

Postby jpola » 05 Mar 2013, 07:07

Ok, great

it seems that your problem is fixed.
jpola
 
Posts: 44
Joined: 17 Nov 2010, 07:59
Location: Poland, Swidnica

Re: For OpenFOAM-2.1.x Gpu plugin Installation on RHEL-5.1

Postby crixman » 20 Sep 2014, 20:38

Hi,
I was able to compile the plugin for OF2.2.2 on Ubuntu with CUDA 6.5 .
When I run the icoFoam case, setting
p
{
solver SI_PCG; //PCG;
preconditioner SI_DIAGONAL; //DIC;
tolerance 1e-06;
relTol 0;
}

U
{
solver SI_PBiCG; //PBiCG;
preconditioner SI_DIAGONAL; //DILU;
tolerance 1e-05;
relTol 0;
}

I get
keyword matrix is undefined in dictionary "/home/chris/OpenFOAM/chris-2.2.2/run/tutorials/incompressible/icoFoam/cavityGPU/system/fvSolution.solvers.p"

file: /home/chris/OpenFOAM/chris-2.2.2/run/tutorials/incompressible/icoFoam/cavityGPU/system/fvSolution.solvers.p from line 22 to line 25.

From function dictionary::lookupEntry(const word&, bool, bool) const
in file db/dictionary/dictionary.C at line 402.

If I mispell the solver, the solver is listed among the options though.
--> FOAM FATAL IO ERROR:
Unknown asymmetric matrix solver SI_PBiG

Valid asymmetric matrix solvers are :

5
(
BICCG
GAMG
PBiCG
SI_PBiCG
smoothSolver
)


Any ideas?
crixman
 
Posts: 2
Joined: 03 Sep 2014, 08:42

Re: For OpenFOAM-2.1.x Gpu plugin Installation on RHEL-5.1

Postby jpola » 22 Sep 2014, 10:48

Dear crixman,

in the solver configuration the code require to define additional entry named "matrix" with value CSR.
Your configuration should look like listed below:
p
{
solver SI_PCG; //PCG;
matrix CSR;
preconditioner SI_DIAGONAL; //DIC;
tolerance 1e-06;
relTol 0;
}

U
{
solver SI_PBiCG; //PBiCG;
matrix CSR;
preconditioner SI_DIAGONAL; //DILU;
tolerance 1e-05;
relTol 0;
}

Regards,
Kuba.
jpola
 
Posts: 44
Joined: 17 Nov 2010, 07:59
Location: Poland, Swidnica

Return to General SpeedIT Discussion

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest

cron