POV-Ray : Newsgroups : povray.binaries.images : POVEarth still far away... : Re: POVEarth still far away... Server Time: 24 Oct 2020 03:07:46 GMT
  Re: POVEarth still far away...  
From: Alain Martel
Date: 3 Aug 2020 14:36:25
Le 2020-08-02 à 06:54, Jörg "Yadgar" Bleimann a écrit :
> Hi(gh)!
> 
> I now have run mesh2writer.pov in various RAM configurations including 
> only one 4 GB strip or one 8 GB strip in slot 1 - but always I got the 
> memory access error in the 22nd outer iteration (at 1000 by 1000 data 
> points; the number of the inner iteration varies wildly!) of the last 
> nested loop:
> 
> #if (!(tilename="n80e014" | tilename="n80e016" | tilename="n80e017"))
>    #declare i=0;
>    #write (ES, "  texture_list")
>    #write (ES, "  {\n")
>    #write (ES, concat("    ",str(NumTextures, 1, 0),"\n"))
>    #declare a=0;
>    // #declare c=0;
>    #while (a<ydim)                    // outer loop
>      #declare b=0;
>      #while (b<xdim)                    // inner loop
>        #declare C_Texture = eval_pigment(P_Texture, 
> <(0.5+b)*(1/(xdim-1)), (0.5+a)*(1/(ydim-1)), 1>);
>        #warning concat("Iteration ", str(a, 1, 0), "-", str(b, 1, 0))
>        #write (ES, "    texture\n")
>        #write (ES, "    {\n")
>        #write (ES, "      pigment\n")
>        #write (ES, "      {\n")
>        #write (ES, concat("       color rgb <",vstr(3, C_Texture, ",", 
> 1, 7),">\n"))
>        #write (ES, "      }\n")
>        #write (ES  "     finish{ F_Earthslice }\n")
>        #write (ES, "    }\n"
>        // #declare c=c+1;
>        #declare b=b+1;
>      #end
>      #declare a=a+1;
>    #end
>    #write (ES, "  }\n")
> #end
> 
> // end of code
> 
> I just can't figure out what should be wrong with this code - or is it 
> just a bug in POV-Ray 3.7?
> 
> See you in Khyberspace!
> 
> Yadgar

Given that the error happens during a write operation to the disk, I 
suspect that the actual error may be related to disk access issue rather 
than a RAM issue.
What is the size of the file when the error happens and how much disk 
space is available?
How the current file size relate to your cluster size ?

Try creating a dummy file before the run. For example, save a small 
image of about 8 to 10K. Does that cause the timing of the error to change ?


Alain


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.