tRaytracer scripts updated to sequential rendering to avoid proc overflow - sphere - GPU-based 3D discrete element method algorithm with optional fluid coupling
(HTM) git clone git://src.adamsgaard.dk/sphere
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) LICENSE
---
(DIR) commit 09fc71e0191316e333d5ca78f02eab0e524281e6
(DIR) parent 98cea6099c2f7996ba63bb5b11e78b10176a7c8a
(HTM) Author: Anders Damsgaard <adc@geo.au.dk>
Date: Tue, 28 Aug 2012 08:34:54 +0200
Raytracer scripts updated to sequential rendering to avoid proc overflow
Diffstat:
M raytracer/rt_GPU_init_pres.sh | 9 +++++----
M raytracer/rt_GPU_pres.sh | 9 +++++----
2 files changed, 10 insertions(+), 8 deletions(-)
---
(DIR) diff --git a/raytracer/rt_GPU_init_pres.sh b/raytracer/rt_GPU_init_pres.sh
t@@ -27,10 +27,11 @@ done
echo "# Converting PPM files to JPEG using ImageMagick in parallel"
for F in ../img_out/*.ppm
do
- (BASE=`basename $F`; convert $F $F.jpg > /dev/null &)
+ (BASE=`basename $F`; convert $F $F.jpg > /dev/null)
+ rm $F # Delete ppm file
done
-sleep 5
-echo "# Removing temporary PPM files"
-rm ../img_out/*.ppm
+#sleep 5
+#echo "# Removing temporary PPM files"
+#rm ../img_out/*.ppm
(DIR) diff --git a/raytracer/rt_GPU_pres.sh b/raytracer/rt_GPU_pres.sh
t@@ -27,10 +27,11 @@ done
echo "# Converting PPM files to JPEG using ImageMagick in parallel"
for F in ../img_out/*.ppm
do
- (BASE=`basename $F`; convert $F $F.jpg > /dev/null &)
+ (BASE=`basename $F`; convert $F $F.jpg > /dev/null)
+ rm $F # Delete ppm file
done
-sleep 5
-echo "# Removing temporary PPM files"
-rm ../img_out/*.ppm
+#sleep 5
+#echo "# Removing temporary PPM files"
+#rm ../img_out/*.ppm