[R-sig-hpc] doSMP warnings and crash on WinXP

Markus Schmidberger schmidbe at in.tum.de
Mon Jun 27 14:35:13 CEST 2011


I have some similar problems and there was a similar post in R-sig-hpc.
Using the multicore or snow package in combination with Rstudio creates
some strange error. As workers additional Rstudio sessions will be
started. I am currently figuring out what is going wrong.

Best
Markus

Am Sonntag, den 26.06.2011, 14:53 -0400 schrieb Cedrick Johnson:
> I think I found out what was causing the problem and it seems to be 
> working now for the time being:
> 
> c:\Documents and Settings\username\Local Settings\Temp
> 
> In the directory boost_interprocess when I create the workers using 
> startWorkers a file named: doSMP1(Shm) gets created. When things are 
> working normally, after I issue stopWorkers this file is supposed to be 
> deleted. What happened previously was this file did not get deleted and 
> thus why I got the original warnings (and RStudio crashed) below.
> 
> I manually just cleaned out the temp folder, restarted and everything 
> appears to be working normally now.
> 
> Thanks
> c
> 
> 
> Original Message >>>>
> Howdy-
> 
> When I first initialize a doSMP object (specifying two cores) as below,
> within RStudio (latest) it crashes the app. I brought up the regular R
> console (2.13.0) and tried to do the same thing but received some
> interesting warnings:
> 
>   >  library(doSMP)
> Loading required package: foreach
> Loading required package: iterators
> Loading required package: codetools
> foreach: simple, scalable parallel programming from Revolution Analytics
> Use Revolution R for scalability, fault tolerance and more.
> http://www.revolutionanalytics.com  <http://www.revolutionanalytics.com/>
> Loading required package: revoIPC
>   >  tmp = startWorkers(2)
> Warning messages:
> 1: In startWorkers(2) : there is an existing doSMP session using doSMP1
> 2: In startWorkers(2) : there is an existing doSMP session using doSMP2
>   >
> 
> Here's my dillemma. Where is said existing doSMP session? Could it be a
> "dirty" file leftover somewhere from a previous call that's causing this
> to 1) crash RStudio and 2) generate these warnings? A quick look at the
> processlist doesn't show anything running. I've even tried doing this
> after a clean reboot with the same error.
> 
> SessionInfo:
> 
> R version 2.13.0 (2011-04-13)
> Platform: i386-pc-mingw32/i386 (32-bit)
> 
> locale:
> [1] LC_COLLATE=English_United States.1252  LC_CTYPE=English_United
> States.1252
> [3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
> [5] LC_TIME=English_United States.1252
> 
> attached base packages:
> [1] stats     graphics  grDevices datasets  utils     methods   base
> 
> other attached packages:
> [1] doSMP_1.0-1     revoIPC_1.0-3   foreach_1.3.2   codetools_0.2-8
> iterators_1.0.4
> [6] rcom_2.2-3.1    rscproxy_1.3-1
> 
> loaded via a namespace (and not attached):
> [1] tools_2.13.0
> 
> Thanks for any guidance.
> 
> c
> 
> _______________________________________________
> R-sig-hpc mailing list
> R-sig-hpc at r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-hpc

-- 
Dr. rer. nat. Markus Schmidberger 
Senior Community Manager 

Cloudnumbers.com GmbH
Chausseestraße 6
10119 Berlin 

www.cloudnumbers.com 
E-Mail: markus.schmidberger at cloudnumbers.com 


************************* 
Amtsgericht München, HRB 191138 
Geschäftsführer: Erik Muttersbach, Markus Fensterer, Moritz v. 
Petersdorff-Campen 



Diese Nachricht kann vertrauliche Informationen enthalten. Sollten Sie 
nicht der vorgesehene Empfänger sein, so bitten wir um eine kurze 
Nachricht. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist 
unzulässig. Da wir nicht die Echtheit oder  Vollständigkeit der in 
dieser Nachricht enthaltenen Informationen garantieren können, 
schließen wir die rechtliche Verbindlichkeit der vorstehenden 
Erklärungen und Äußerungen aus. 
This message may contain confidential information. If yo...{{dropped:6}}



More information about the R-sig-hpc mailing list