[Vegan-commits] r2070 - pkg/vegan/inst

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed Feb 8 10:12:19 CET 2012


Author: jarioksa
Date: 2012-02-08 10:12:19 +0100 (Wed, 08 Feb 2012)
New Revision: 2070

Modified:
   pkg/vegan/inst/ChangeLog
Log:
parallel has problems with monoMDS: explain

Modified: pkg/vegan/inst/ChangeLog
===================================================================
--- pkg/vegan/inst/ChangeLog	2012-02-07 20:25:32 UTC (rev 2069)
+++ pkg/vegan/inst/ChangeLog	2012-02-08 09:12:19 UTC (rev 2070)
@@ -11,8 +11,25 @@
 	* adonis: added missing 'mc.cores=' for multicore parallel
 	processing. 
 
-	* bioenv, metaMDS: implemented parallel processing.
+	* bioenv: implemented parallel processing.
 
+	* metaMDS: implemented parallel processing which runs iterations
+	(tries) in batches of 'parallel' iterations. However, it seems
+	that this does not work completely with monoMDS: basic results are
+	OK, but 'diss' and 'dist' vectors are scrambled (tested in Linux &
+	R 2.15.0) which is evident if you try to run stressplot() on the
+	result.  The problematic behaviour can also be generated directly
+	with monoMDS():
+
+	mods <- mclapply(1:8, function(i) monoMDS(d), mc.cores=2)
+	stressplot(mods[[1]])
+
+	The 'diss' and 'dist' seem to contain random rubbish as soon as
+	mc.cores > 1.  On the other hand, there are no similar problems
+	with isoMDS() -- but it does not directly return 'diss' and
+	'dist'.  If this cannot be solved, the parallel processing (r2069)
+	will be reverted.
+
 	* nesteddisc: new argument 'niter' to give the number of
 	iterations to reorder tied columns.
 



More information about the Vegan-commits mailing list