[Swift-commit] r2109 - SwiftApps/SIDGrid/swift/projects/skenny/openmx

noreply at svn.ci.uchicago.edu noreply at svn.ci.uchicago.edu
Wed Jul 9 15:16:57 CDT 2008


Author: skenny
Date: 2008-07-09 15:16:57 -0500 (Wed, 09 Jul 2008)
New Revision: 2109

Added:
   SwiftApps/SIDGrid/swift/projects/skenny/openmx/modelgen.swift
Log:
generating models for openmx

Added: SwiftApps/SIDGrid/swift/projects/skenny/openmx/modelgen.swift
===================================================================
--- SwiftApps/SIDGrid/swift/projects/skenny/openmx/modelgen.swift	                        (rev 0)
+++ SwiftApps/SIDGrid/swift/projects/skenny/openmx/modelgen.swift	2008-07-09 20:16:57 UTC (rev 2109)
@@ -0,0 +1,26 @@
+###  generate openmx models in parallel
+###  by number of connections
+
+type file{}
+
+# produce .RData file for each model object to be tested
+
+(file mxModels) mxmodel_generator (int conn, int ncol, file dot_r, file sdat, file spdat){
+    app{
+	RInvoke @filename(dot_r) conn ncol @filename(sdat) @filename(spdat);
+    }
+}
+
+# map input and output for generator
+
+
+file modelgen<single_file_mapper;file="scripts/mxModelGen.R">;
+file sdat<single_file_mapper;file="matrices/s.dat">;
+file spdat<single_file_mapper;file="matrices/sp.dat">;
+
+	file potentialmodels<single_file_mapper;file=@strcat("models.tar")>;
+	(potentialmodels) = mxmodel_generator(4, 4, modelgen, sdat, spdat);
+
+
+
+




More information about the Swift-commit mailing list