Skip to content
This repository has been archived by the owner on Feb 10, 2021. It is now read-only.

Draft of simple Python library #1

Merged
merged 3 commits into from
Oct 13, 2016
Merged

Draft of simple Python library #1

merged 3 commits into from
Oct 13, 2016

Conversation

mrocklin
Copy link
Member

RUN apt-get update -qq
RUN apt-get install curl bzip2 -y -qq
RUN apt-get update
RUN apt-get install curl bzip2 -y
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed the -qq flag here to make this match with the Dockerfile-slave file in hopes that we can avoid some setup time through deduplication.

@@ -21,5 +21,3 @@ EXPOSE 6446
ENV DRMAA_LIBRARY_PATH /usr/lib/gridengine-drmaa/lib/libdrmaa.so
ENV SGE_ROOT /var/lib/gridengine/
ENV SGE_CELL default

CMD python -m SimpleHTTPServer
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this necessary from before? Or was it here for testing

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was there for testing

@@ -18,7 +18,7 @@ services:
context: .
dockerfile: Dockerfile-slave
container_name: slave_one
hostname: slave_one.daskdrmaa_default
hostname: slave_one
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are these namechanges ok?

Copy link
Member

@quasiben quasiben Oct 13, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recall the odd hostname being critical. I'll test shortly

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nevermind, things are working locally for me and looks like test are passing

@quasiben
Copy link
Member

This starts 2 workers and the scheduler on the same host, correct ?

@mrocklin
Copy link
Member Author

It starts two workers, it doesn't guarantee which host.

@mrocklin mrocklin merged commit 80afc87 into master Oct 13, 2016
@mrocklin mrocklin deleted the draft-python branch October 13, 2016 17:08
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants