Commit ab05fbd8 authored by Michael Salim's avatar Michael Salim
Browse files

major reorganization; added setuptools and sphinx docs folder

parent 75d8ac3b
...@@ -8,6 +8,8 @@ balsamjobs ...@@ -8,6 +8,8 @@ balsamjobs
argobalsam_env argobalsam_env
env env
db.sqlite3 db.sqlite3
argo/migrations balsam/argo/migrations
balsam/migrations balsam/service/migrations
experiments experiments
docs/_build/*
*.egg-info
include README.md
include LICENSE.md
include docs
# HPC Edge Service and Workflow Management System # HPC Edge Service and Workflow Management System
**Authors:** J. Taylor Childers (Argonne National Laboratory), Tom Uram (Argonne National Laboratory), Doug Benjamin (Duke University), Misha Salim (Argonne National Laboratory) **Authors:** J. Taylor Childers (Argonne National Laboratory), Tom Uram (Argonne National Laboratory), Doug Benjamin (Duke University), Misha Salim (Argonne National Laboratory)
An HPC Edge Service to manage remote job submission. The goal of this service is to provide a secure interface for submitting jobs to large computing resources.
# Prerequisites # Prerequisites
The Argo and Balsam services require Python 3.6, mpi4py, Django, and django-concurrency. The Argo and Balsam services require Python 3.6, mpi4py, Django, and django-concurrency.
......
import common.Serializer as Serializer import balsam.common.Serializer as Serializer
class ArgoJobStatus: class ArgoJobStatus:
def __init__(self): def __init__(self):
...@@ -13,4 +13,4 @@ class ArgoJobStatus: ...@@ -13,4 +13,4 @@ class ArgoJobStatus:
def get_from_message(message): def get_from_message(message):
tmp = ArgoJobStatus() tmp = ArgoJobStatus()
tmp.__dict__ = Serializer.deserialize(message) tmp.__dict__ = Serializer.deserialize(message)
return tmp return tmp
\ No newline at end of file
...@@ -6,9 +6,9 @@ from django.db.utils import load_backend ...@@ -6,9 +6,9 @@ from django.db.utils import load_backend
from django.conf import settings from django.conf import settings
from common import MessageReceiver from common import MessageReceiver
from argo import QueueMessage from balsam.argo import QueueMessage
from argo.models import ArgoJob,ArgoSubJob,BALSAM_JOB_TO_SUBJOB_STATE_MAP from balsam.argo.models import ArgoJob,ArgoSubJob,BALSAM_JOB_TO_SUBJOB_STATE_MAP
from balsam import BalsamJobStatus,models from balsam.service import BalsamJobStatus,models
class JobStatusReceiver(MessageReceiver.MessageReceiver): class JobStatusReceiver(MessageReceiver.MessageReceiver):
''' subscribes to the balsam job status queue and updates a job state ''' ''' subscribes to the balsam job status queue and updates a job state '''
......
...@@ -5,9 +5,9 @@ from django.db import connections,DEFAULT_DB_ALIAS ...@@ -5,9 +5,9 @@ from django.db import connections,DEFAULT_DB_ALIAS
from django.db.utils import load_backend from django.db.utils import load_backend
from django.conf import settings from django.conf import settings
from argo import models,QueueMessage from balsam.argo import models,QueueMessage
from common import db_tools from balsam.common import db_tools
from common import MessageReceiver,Serializer from balsam.common import MessageReceiver,Serializer
def CreateWorkingPath(job_id): def CreateWorkingPath(job_id):
path = os.path.join(settings.ARGO_WORK_DIRECTORY,str(job_id)) path = os.path.join(settings.ARGO_WORK_DIRECTORY,str(job_id))
......
...@@ -4,4 +4,4 @@ from django.apps import AppConfig ...@@ -4,4 +4,4 @@ from django.apps import AppConfig
class ArgoCoreConfig(AppConfig): class ArgoCoreConfig(AppConfig):
name = 'argo' name = 'balsam.argo'
...@@ -18,7 +18,7 @@ import warnings ...@@ -18,7 +18,7 @@ import warnings
from django import forms from django import forms
from django.forms.widgets import CheckboxInput from django.forms.widgets import CheckboxInput
from argo import models from balsam.argo import models
import logging import logging
logger = logging.getLogger(__name__) logger = logging.getLogger(__name__)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment