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
argobalsam_env
env
db.sqlite3
argo/migrations
balsam/migrations
balsam/argo/migrations
balsam/service/migrations
experiments
docs/_build/*
*.egg-info
include README.md
include LICENSE.md
include docs
# 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)
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
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:
def __init__(self):
......
......@@ -6,9 +6,9 @@ from django.db.utils import load_backend
from django.conf import settings
from common import MessageReceiver
from argo import QueueMessage
from argo.models import ArgoJob,ArgoSubJob,BALSAM_JOB_TO_SUBJOB_STATE_MAP
from balsam import BalsamJobStatus,models
from balsam.argo import QueueMessage
from balsam.argo.models import ArgoJob,ArgoSubJob,BALSAM_JOB_TO_SUBJOB_STATE_MAP
from balsam.service import BalsamJobStatus,models
class JobStatusReceiver(MessageReceiver.MessageReceiver):
''' subscribes to the balsam job status queue and updates a job state '''
......
......@@ -5,9 +5,9 @@ from django.db import connections,DEFAULT_DB_ALIAS
from django.db.utils import load_backend
from django.conf import settings
from argo import models,QueueMessage
from common import db_tools
from common import MessageReceiver,Serializer
from balsam.argo import models,QueueMessage
from balsam.common import db_tools
from balsam.common import MessageReceiver,Serializer
def CreateWorkingPath(job_id):
path = os.path.join(settings.ARGO_WORK_DIRECTORY,str(job_id))
......
......@@ -4,4 +4,4 @@ from django.apps import AppConfig
class ArgoCoreConfig(AppConfig):
name = 'argo'
name = 'balsam.argo'
......@@ -18,7 +18,7 @@ import warnings
from django import forms
from django.forms.widgets import CheckboxInput
from argo import models
from balsam.argo import models
import logging
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