[Swift-user] Running swift application on BG/P
Emalayan Vairavanathan
svemalayan at yahoo.com
Tue Jan 10 20:50:21 CST 2012
Dear All,
I am trying to run a simple Swift program (which prints "Hello World") on BG/P (Surveyor). I modified site-catalog, transformation-catalog and config files and launched the swift application from head-node using the command below.
swift -config cf -tc.file tc -sites.file sites.xml first.swift
I can see that the Swift allocates some nodes and trying to run the application but the result was not generated. Also I couldn't see any error in the log-files / stdout.
I am suspecting it might be because of the workers cannot connect to the coaster-service. Or may be a problem with catalog files?
Please find my site.xml, tc.data, cf and application files below. Please let me know if I am making any mistakes.
Thank you
Emalayan
first.swift
type messagefile;
app (messagefile t) greeting() {
echo "Hello, world!" stdout=@filename(t);
}
messagefile outfile <"hello.txt">;
outfile = greeting();
site.xml
<config>
<pool handle="surveyor">
<filesystem provider="local" />
<execution provider="coaster" jobmanager="local:cobalt"/>
<!-- <profile namespace="swift" key="stagingMethod">local</profile> -->
<!-- <profile namespace="globus" key="internalHostname">login2</profile> -->
<profile namespace="globus" key="project">MTCScienceApps</profile>
<profile namespace="globus" key="queue">default</profile>
<profile namespace="globus" key="kernelprofile">zeptoos</profile>
<profile namespace="globus" key="alcfbgpnat">true</profile>
<profile namespace="karajan" key="jobthrottle">21</profile>
<profile namespace="karajan" key="initialScore">10000</profile>
<profile namespace="globus" key="jobsPerNode">1</profile>
<profile namespace="globus" key="workerLoggingLevel">DEBUG</profile>
<profile namespace="globus" key="slots">1</profile>
<profile namespace="globus" key="maxTime">900</profile> <!-- seconds -->
<profile namespace="globus" key="nodeGranularity">64</profile>
<profile namespace="globus" key="maxNodes">64</profile>
<workdirectory>/home/emalayan/app/forEmalayan_ccGrdid/swift.workdir </workdirectory>
</pool>
</config>
tc:
surveyor echo /bin/echo INSTALLED INTEL32::LINUX
surveyor cat /bin/cat INSTALLED INTEL32::LINUX
surveyor ls /bin/ls INSTALLED INTEL32::LINUX
surveyor grep /bin/grep INSTALLED INTEL32::LINUX
surveyor sort /bin/sort INSTALLED INTEL32::LINUX
surveyor paste /bin/paste INSTALLED INTEL32::LINUX
surveyor wc /usr/bin/wc INSTALLED INTEL32::LINUX
surveyor perl /usr/bin/perl INSTALLED INTEL32::LINUX
#surveyor do_merge /home/emalayan/app/forEmalayan_ccGrdid/app/modmerge null null null
#surveyor score /home/emalayan/app/forEmalayan_ccGrdid/app/Scoring/scoredat.exe null null null
surveyor modftdock /home/emalayan/app/forEmalayan_ccGrdid/app/modftdock.sh null null null
cf:
wrapperlog.always.transfer=true
sitedir.keep=true
execution.retries=1
lazy.errors=true
status.mode=provider
use.provider.staging=true
provider.staging.pin.swiftfiles=false
foreach.max.threads=100
provenance.log=false
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-user/attachments/20120110/1e4f0345/attachment.html>
More information about the Swift-user
mailing list