[Swift-commit] r6524 - in SwiftApps/magic-square: . beagle bin src
davidk at ci.uchicago.edu
davidk at ci.uchicago.edu
Thu May 30 14:41:54 CDT 2013
Author: davidk
Date: 2013-05-30 14:41:54 -0500 (Thu, 30 May 2013)
New Revision: 6524
Added:
SwiftApps/magic-square/README
SwiftApps/magic-square/beagle/run.sh
SwiftApps/magic-square/src/README
Modified:
SwiftApps/magic-square/beagle/clean.sh
SwiftApps/magic-square/beagle/tc.data
SwiftApps/magic-square/bin/hwsq
SwiftApps/magic-square/src/Makefile
Log:
A few path updates and some basic info in READMEs
Added: SwiftApps/magic-square/README
===================================================================
--- SwiftApps/magic-square/README (rev 0)
+++ SwiftApps/magic-square/README 2013-05-30 19:41:54 UTC (rev 6524)
@@ -0,0 +1,8 @@
+To run, you'll need to adjust the following paths.
+
+In hwsq.sh, update the path to your copy of run_hwsq.sh.
+
+In sites.xml, you'll need to update your work directory to a location where
+you have write permission.
+
+In tc.data, update the pathname to hwsq.sh.
Modified: SwiftApps/magic-square/beagle/clean.sh
===================================================================
--- SwiftApps/magic-square/beagle/clean.sh 2013-05-30 19:15:48 UTC (rev 6523)
+++ SwiftApps/magic-square/beagle/clean.sh 2013-05-30 19:41:54 UTC (rev 6524)
@@ -1 +1,3 @@
-rm -rf *.log *.rlog *.d *.kml *.swiftx *.dat
+#!/bin/bash -x
+
+rm -rf *.log *.rlog *.d *.kml *.swiftx sqmat*.dat
Added: SwiftApps/magic-square/beagle/run.sh
===================================================================
--- SwiftApps/magic-square/beagle/run.sh (rev 0)
+++ SwiftApps/magic-square/beagle/run.sh 2013-05-30 19:41:54 UTC (rev 6524)
@@ -0,0 +1,3 @@
+#!/bin/bash -x
+
+swift -sites.file sites.xml -tc.file tc.data magic-square.swift
Property changes on: SwiftApps/magic-square/beagle/run.sh
___________________________________________________________________
Added: svn:executable
+ *
Modified: SwiftApps/magic-square/beagle/tc.data
===================================================================
--- SwiftApps/magic-square/beagle/tc.data 2013-05-30 19:15:48 UTC (rev 6523)
+++ SwiftApps/magic-square/beagle/tc.data 2013-05-30 19:41:54 UTC (rev 6524)
@@ -1 +1 @@
-localhost runhwsq /lustre/beagle/davidk/magic-square/hwsq.sh
+localhost runhwsq /lustre/beagle/davidk/magic-square/beagle/hwsq.sh
Modified: SwiftApps/magic-square/bin/hwsq
===================================================================
(Binary files differ)
Modified: SwiftApps/magic-square/src/Makefile
===================================================================
--- SwiftApps/magic-square/src/Makefile 2013-05-30 19:15:48 UTC (rev 6523)
+++ SwiftApps/magic-square/src/Makefile 2013-05-30 19:41:54 UTC (rev 6524)
@@ -1,6 +1,2 @@
-all: mpitest.c
- cc -o mpitest mpitest.c
- mkdir -p ../bin
- cp mpitest ../bin
- cp mpitest.sh ../bin
-
+all: hwsq.m
+ mcc -o hwsq -m -d ../bin -v hwsq.m -a myf1.m
Added: SwiftApps/magic-square/src/README
===================================================================
--- SwiftApps/magic-square/src/README (rev 0)
+++ SwiftApps/magic-square/src/README 2013-05-30 19:41:54 UTC (rev 6524)
@@ -0,0 +1,6 @@
+To (re)compile, you need to run mcc from a Beagle worker node.
+The following command will give you an interactive shell to run this.
+
+$ qsub -I -qinteractive -l walltime=00:30:00 -l nodes=1:ppn=1
+$ module load matlab
+$ make
More information about the Swift-commit
mailing list