|
From: | Markus Gusenbauer |
Subject: | [ESPResSo-users] CUDA error: out of memory |
Date: | Fri, 02 Aug 2013 11:01:37 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 |
Hi all,is the number of nodes with the LBM on GPU limited by hardware? When I choose too large simulation size, I get a CUDA out of memory error. Right now I am limited to around 8,320,000 nodes (200x200x208), after that it crashes.
Example: setmd time_step 0.1 setmd skin 0.2 thermostat off set boxX 200 set boxY 200 set boxZ 208 setmd box_l $boxX $boxY $boxZ lbfluid gpu grid 1 dens 1.0 visc 1.5 tau 0.1 friction 0.5 set cycle 0 while { $cycle<100 } { puts "$cycle / 100 \r"; for { set i 1 } { $i < [expr $boxX-1]} { incr i } { for { set j 1 } { $j < [expr $boxY-1] } { incr j } { for { set k 0 } { $k < 1 } { incr k } { lbnode $i $j $k set u 0.0 0.0 0.001 } } } integrate 1 incr cycle } Thanks! Markus
[Prev in Thread] | Current Thread | [Next in Thread] |