Skip to content

Commit

Permalink
Add a umbrella spec for povray using local deps
Browse files Browse the repository at this point in the history
  • Loading branch information
haiyanmeng committed Jan 5, 2016
1 parent 2e0df72 commit 991b5b6
Show file tree
Hide file tree
Showing 2 changed files with 81 additions and 0 deletions.
9 changes: 9 additions & 0 deletions umbrella/example/povray/README
Original file line number Diff line number Diff line change
Expand Up @@ -64,3 +64,12 @@ umbrella \
--ec2_instance_type m3.medium \
--log umbrella.log \
run

#povray_S_local.umbrella: all the dependencies are from local dir. To run this cmd successfully, you need to ensure the specified data exists on your local machine.
umbrella \
--spec povray_S_local.umbrella \
--localdir /tmp/umbrella_test/ \
--output "/tmp/frame000.png=/tmp/umbrella_test/parrot_povray_S_local/output.png" \
--sandbox_mode parrot \
--log umbrella.log \
run
72 changes: 72 additions & 0 deletions umbrella/example/povray/povray_S_local.umbrella
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
{
"comment": "A ray-tracing application which creates video frames. The dependencies are all from local dirs /tmp/local_data",
"kernel": {
"version": ">=2.6.18",
"name": "linux"
},
"os": {
"name": "Redhat",
"format": "tgz",
"checksum": "669ab5ef94af84d273f8f92a86b7907a",
"source": [
"/tmp/local_data/redhat-6.5-x86_64.tar.gz"
],
"version": "6.5",
"uncompressed_size": "1743656960",
"id": "669ab5ef94af84d273f8f92a86b7907a",
"size": "633848940"
},
"cmd": "povray +I/tmp/4_cubes.pov +O/tmp/frame000.png +K.0 -H50 -W50",
"hardware": {
"cores": "1",
"disk": "2GB",
"arch": "x86_64",
"memory": "1GB"
},
"environ": {
"PWD": "/tmp"
},
"output": {
"files": [
"/tmp/frame000.png"
],
"dirs": []
},
"data": {
"4_cubes.pov": {
"format": "plain",
"checksum": "c65266cd2b672854b821ed93028a877a",
"source": [
"/tmp/local_data/4_cubes.pov"
],
"action": "none",
"mountpoint": "/tmp/4_cubes.pov",
"id": "c65266cd2b672854b821ed93028a877a",
"size": "1757"
},
"WRC_RubiksCube.inc": {
"format": "plain",
"checksum": "2f8afdd09fc3a6177c6f1977bb3bdae7",
"source": [
"/tmp/local_data/WRC_RubiksCube.inc"
],
"action": "none",
"mountpoint": "/tmp/WRC_RubiksCube.inc",
"id": "2f8afdd09fc3a6177c6f1977bb3bdae7",
"size": "28499"
}
},
"software": {
"povray-3.6.1-redhat6-x86_64": {
"format": "tgz",
"checksum": "b02ba86dd3081a703b4b01dc463e0499",
"source": [
"/tmp/local_data/povray-3.6.1-redhat6-x86_64.tar.gz"
],
"mountpoint": "/software/povray-3.6.1-redhat6-x86_64",
"uncompressed_size": "3010560",
"id": "b02ba86dd3081a703b4b01dc463e0499",
"size": "1471452"
}
}
}

0 comments on commit 991b5b6

Please sign in to comment.