Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[87] Create tool to manage benchmark runs (#94)
* Removed reference to digital ocean in run manager * Minor changes to fly job template * Fixed a tractor crash * Removed debug * Fix path to problem file * Removed sneaky ; * . * Removed . from tractor run name in case that is the issue * fix path to tractor alf file * Made path to alf file absoulte * . * . * Add back the ; because it wasn't sneaky it was maybe required * . * Remove debug
- Loading branch information
Showing
4 changed files
with
19 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,7 @@ | ||
|
||
import os | ||
|
||
# FLY | ||
FLY_PYSHGP_PATH = '/home/erp12/pyshgp' | ||
FLY_PYSHGP_PATH = os.getcwd() | ||
FLY_JOB_TEMPLATE = FLY_PYSHGP_PATH + '/run_manager/fly-template.alf' | ||
FLY_PYTHON_HOME = '/home/erp12/anaconda3/bin/python' | ||
FLY_LOG_PATH = '/home/erp12/gp_runs/pyshgp' | ||
|
||
# DIGITIAL OCEAN | ||
# DO_TOKEN = os.environ['DO_TOKEN'] | ||
FLY_LOG_PATH = '/home/erp12/runs/pyshgp' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
Job -title {job_name} -subtasks {{ | ||
Task -title {task_name} -cmds {{ | ||
RemoteCmd {{/bin/sh -c {{ | ||
echo "Starting Pysh Run" | ||
cd {pyshgp_path}; | ||
{run_line} | ||
}}}} -service {{linux}} | ||
echo "Starting Pysh Run"; | ||
cd {pyshgp_path}; | ||
{run_line}; | ||
}}}} -service {{linux}} | ||
}} | ||
}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters