Project BuilderΒΆ
Project builder helps you to deploy your experiments.
Create a folder in projects
Add a SConscript to the directory with the following initial lines:
# -*- python -*- Import('env', 'project')
All necessary files for your experiment have to be given to the project object, eg,
project.addFiles(env.Registry.collectFiles('rsm_test'))
Create a subdirectory for an experiment you want to perform. Add each subdirectory to your project, eg,
project.addExperiment('simple_perf')
In each experiment subdirectory add scripts to initialize your experiment. You can use scaffold_project to access the files you added, eg, we have in rsm/simple_perf/Dudefile:
sys.path.append("..") from scaffold_rsm import rsm ... rsm.filePaths['librsm_replica.so']
Deploy your experiment some local directory.
scons project/rsm --deploy-dir=/tmpYou can also deploy your experiment remotely with –deploy-host.