MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Re: Famous Mathematica 5.0 not working with Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg77041] Re: [mg77010] Re: Famous Mathematica 5.0 not working with Mathematica
  • From: "Igor C. Antonio" <igora at wolf-ram.com>
  • Date: Fri, 1 Jun 2007 02:45:53 -0400 (EDT)
  • Organization: Wolfram Research, Inc.
  • References: <f3jif1$dpc$1@smc.vnet.net> <200705310737.DAA06426@smc.vnet.net>
  • Reply-to: igora at wolf-ram.com

Jean-Marc Gulliet wrote:
> eric.laruelle at gmail.com wrote:
>> Hello. I am performing an evaluation of Mathematica 6 with the demo
>> version on both Windows XP 32 bits and OS X 10.4.9. However both crash
>> when evaluating the famous Karl's Mathematica benchmark:
>> http://www2.staff.fh-vorarlberg.ac.at/~ku/karl/timings50.html
>>
>> Did anyone experience the same thing? Have you got any suggestion?
>> Thank you.
> 
> Hi,
> 
> I have done some more testing, and the culprit seems to be the graphic 
> engine. Having commented out the following two expressions from Karl's 
> original notebook,
> 
> Timing[Plot3D[Sin[x y], {x, 0, 2 \[Pi]}, {y, 0, 2 \[Pi]},
>     PlotPoints -> 4000, DisplayFunction -> Identity]][[1]],
> Timing[Plot3D[Evaluate[q4[x, t]], {x, -40, 40}, {t, -40, 40},
>     PlotPoints -> 2000, DisplayFunction -> Identity]][[1]]
> 
> Mathematica did not consume too much memory.
> 
> Moreover, if one loads the legacy graphic engine
> 
> In[1]:= << Version5`Graphics`
> 
> then evaluating the following expression
> 
> In[2]:= Plot3D[Sin[x y], {x, 0, 2 \[Pi]}, {y, 0, 2 \[Pi]},
>   PlotPoints -> 4000, DisplayFunction -> Identity]
> 
> Out[2]= --SurfaceGraphics--
> 
> works fine. However, evaluating the same expression with the new graphic 
> engine eats up all the memory available.
> 
> In[3]:= << Version6`Graphics`
> 
> In[4]:= Plot3D[Sin[x y], {x, 0, 2 \[Pi]}, {y, 0, 2 \[Pi]},
>   PlotPoints -> 4000, DisplayFunction -> Identity]
> 
> Regards,
> Jean-Marc
> 
> 
The option PlotPoints->4000 sets a much, much, much larger number of 
points in Mathematica 6.0 due to the adaptive sampling feature of 
Plot3D. 
(http://www.wolfram.com/products/mathematica/newin6/content/HighImpactAdaptiveVisualization/)

You should try setting the option MaxRecursion->0 in Plot3D to disable 
that adaptive sampling.

--
Igor C. Antonio
Wolfram Research, Inc.

To email me personally, remove the dash.


  • Prev by Date: NestListEffects function not working in 6.0
  • Next by Date: May 2007
  • Previous by thread: Re: Re: Famous Mathematica 5.0 not working with Mathematica
  • Next by thread: Re: Recursive FindRoot with initial values as a list