From: Very Bad Mother... on 9 Feb 2010 02:46 Sorry, new problem that I believe shouldn't occur. This time I use only Mathematica built-in functions. Pls, have a look: In[31]:= ParallelTable[ ListPlot3D[ Import[ToString["Psi_t" <> ToString[time] <> ".dat"]]], {time, 0, 8000000, 2000000}] (kernel 6) Import::nffil: File not found during Import. (kernel 6) ListPlot3D::arrayerr: $Failed must be a valid array or a list of valid arrays. (kernel 8) LinkOpen::linke: Error 19 (kernel 7) LinkOpen::linke: Error 19 (kernel 8) JLink`InstallJava::launch: The Java runtime could not be launched. (kernel 7) JLink`InstallJava::launch: The Java runtime could not be launched. (kernel 8) JLink`Java::init: Java is not running. You must call InstallJava[] to start the Java runtime. (kernel 7) JLink`Java::init: Java is not running. You must call InstallJava[] to start the Java runtime. (kernel 8) PacletManager::fail: The PacletManager could not start. Certain operations will not function correctly in this session unless the PacletManager can run. It will attempt to restart when needed, unless you set PacletManagerEnabled[] = False. (kernel 7) PacletManager::fail: The PacletManager could not start. Certain operations will not function correctly in this session unless the PacletManager can run. It will attempt to restart when needed, unless you set PacletManagerEnabled[] = False. (kernel 8) Import::nffil: File not found during Import. (kernel 7) Import::nffil: File not found during Import. (kernel 8) ListPlot3D::arrayerr: $Failed must be a valid array or a list of valid arrays. (kernel 7) ListPlot3D::arrayerr: $Failed must be a valid array or a list of valid arrays. During evaluation of In[31]:= ListPlot3D::arrayerr: $Failed must be a valid array or a list of valid arrays. >> During evaluation of In[31]:= ListPlot3D::arrayerr: $Failed must be a valid array or a list of valid arrays. >> During evaluation of In[31]:= ListPlot3D::arrayerr: $Failed must be a valid array or a list of valid arrays. >> During evaluation of In[31]:= General::stop: Further output of ListPlot3D::arrayerr will be suppressed during this calculation. >> Out[31]= {ListPlot3D[$Failed], ListPlot3D[$Failed], ListPlot3D[$Failed]} Any ideas what's happening this time? Thank you for your help in advance, -- tinkerbell
From: DrMajorBob on 10 Feb 2010 03:35
ParallelTable[ ToString["Psi_t" <> ToString[time] <> ".dat"], {time, 0, 8000000, 2000000}] {"Psi_t0.dat", "Psi_t2000000.dat", "Psi_t4000000.dat", \ "Psi_t6000000.dat", "Psi_t8000000.dat"} Do those file exist, in a directory in $Path? If not, the Imports will fail, so ListPlot3D will fail, and you'll get error messages from both. Make certain that replacing ParallelTable with Table works with no errors, and show us the output. Then, perhaps, someone can help with your LinkOpen issues, etc. Bobby On Tue, 09 Feb 2010 01:44:35 -0600, Very Bad Mother... <shinytinkerbell(a)googlemail.com> wrote: > Sorry, > new problem that I believe shouldn't occur. This time I use only > Mathematica built-in functions. Pls, have a look: > > In[31]:= ParallelTable[ > ListPlot3D[ > Import[ToString["Psi_t" <> ToString[time] <> ".dat"]]], {time, 0, > 8000000, 2000000}] > > (kernel 6) Import::nffil: File not found during Import. > (kernel 6) ListPlot3D::arrayerr: $Failed must be a valid array or a > list of valid arrays. > (kernel 8) LinkOpen::linke: Error 19 > (kernel 7) LinkOpen::linke: Error 19 > (kernel 8) JLink`InstallJava::launch: The Java runtime could not be > launched. > (kernel 7) JLink`InstallJava::launch: The Java runtime could not be > launched. > (kernel 8) JLink`Java::init: Java is not running. You must call > InstallJava[] to start the Java runtime. > (kernel 7) JLink`Java::init: Java is not running. You must call > InstallJava[] to start the Java runtime. > (kernel 8) PacletManager::fail: The PacletManager could not start. > Certain operations will not function correctly in this session unless > the PacletManager can run. It will attempt to restart when needed, > unless you set PacletManagerEnabled[] = False. > (kernel 7) PacletManager::fail: The PacletManager could not start. > Certain operations will not function correctly in this session unless > the PacletManager can run. It will attempt to restart when needed, > unless you set PacletManagerEnabled[] = False. > (kernel 8) Import::nffil: File not found during Import. > (kernel 7) Import::nffil: File not found during Import. > (kernel 8) ListPlot3D::arrayerr: $Failed must be a valid array or a > list of valid arrays. > (kernel 7) ListPlot3D::arrayerr: $Failed must be a valid array or a > list of valid arrays. > During evaluation of In[31]:= ListPlot3D::arrayerr: $Failed must be a > valid array or a list of valid arrays. >> > During evaluation of In[31]:= ListPlot3D::arrayerr: $Failed must be a > valid array or a list of valid arrays. >> > During evaluation of In[31]:= ListPlot3D::arrayerr: $Failed must be a > valid array or a list of valid arrays. >> > During evaluation of In[31]:= General::stop: Further output of > ListPlot3D::arrayerr will be suppressed during this calculation. >> > > Out[31]= {ListPlot3D[$Failed], ListPlot3D[$Failed], > ListPlot3D[$Failed]} > > Any ideas what's happening this time? > Thank you for your help in advance, > -- > tinkerbell > -- DrMajorBob(a)yahoo.com |