Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pax process sthml #23

Open
wants to merge 12 commits into
base: master
Choose a base branch
from
Open

Pax process sthml #23

wants to merge 12 commits into from

Conversation

XeBoris
Copy link
Contributor

@XeBoris XeBoris commented Jun 8, 2016

  1. I added some features to cax-status which helps to identify the status of files/folder of our data in the data base. I started to use this tool as replacement for actual using the web interface to the run data base

  2. I tested cax-process manually. Furthermore I added parser options to make life more easier in case someone wants to use cax-process. Batch processing should work too.

@@ -72,7 +72,7 @@
"username": "bobau",
"download_options": ["midway-login1"],
"pax_processing_versions": [
"v4.10.0"
"v4.10.2"
Copy link
Member

Choose a reason for hiding this comment

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

won't this trigger a reprocessing?

@tunnell
Copy link
Member

tunnell commented Jun 8, 2016

Anyways, added a few comments. Some big things (check main.py). One key thing: the data type is processed and status is transferred. That means good. If you manually change verifying to transferred, then you have no idea if the data is any good... that's why we have checksumming.

@tunnell tunnell self-assigned this Jun 8, 2016
def pax_deploy_directories(host, pax_version):
PAX_DEPLOY_DIRS = {
'midway-login1' : '/project/lgrandi/deployHQ/pax',
'tegner-login-1': '/afs/pdc.kth.se/projects/xenon/software/pax/pax_'+pax_version
Copy link
Member

Choose a reason for hiding this comment

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

Why do you need to specify pax version here? You should have one anaconda setup that has different environments for different pax versions. That's why this wasn't a function.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think my aim was to specify to the actual pax version in the path. But this is not important. Changed it back

@tunnell
Copy link
Member

tunnell commented Jun 17, 2016

Looks good, added some comments. Not far from merging. Need to resolve some merge conflcits.

@tunnell
Copy link
Member

tunnell commented Jun 22, 2016

Can you merge with master?

@pdeperio
Copy link
Contributor

Also, @XeBoris when you get a chance, can you please update the README with all the latest features/options?

tunnell added a commit that referenced this pull request Jul 1, 2016
tunnell added a commit that referenced this pull request Jul 1, 2016
tunnell added a commit that referenced this pull request Jul 12, 2016
* Parallel support

* Processing now doesn't create new task

* Update classifiers

* Redo qsub script

* Redo qsub script

* Redo qsub script

* Redo qsub script

* Massive cax

* Skip if exists

* Redo qsub script

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* test_env

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Yo

* Only email on failure (was clogging email servers lol)

-PatrickDP

* Remove email

* Update email

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Update tegner username

* Set permission (See Pull #23)

* Set permission (See Pull #23)

* Catch timeout

* Update config.py

* Update config.py

* Update config.py

* Update config.py

* Update qsub.py

* Update config.py

* Update qsub.py

* Allow massive cax to submit jobs for new runs

* Allow massive cax to submit jobs for new runs

* Better waiting

* Have massive cax search just for actionable runs, except once a day.  Fix pax version issue until figure out how to deal with multiple pax versions.

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/main.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/main.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/main.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/main.py

* ncpus = 1

* Use central pax env

* Four cores

* Fix typo in env

* Make run over everything at start

* Proper version

* Don't delete bad checksums if no master checksum

* Unused line

* - Implement lcg-cp and recursiveness
- Add timer in Copy class

* Tweak submission options
pdeperio pushed a commit that referenced this pull request Oct 11, 2016
* Parallel support

* Processing now doesn't create new task

* Update classifiers

* Redo qsub script

* Redo qsub script

* Redo qsub script

* Redo qsub script

* Massive cax

* Skip if exists

* Redo qsub script

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* test_env

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Yo

* Only email on failure (was clogging email servers lol)

-PatrickDP

* Remove email

* Update email

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/config.py

* Update tegner username

* Set permission (See Pull #23)

* Set permission (See Pull #23)

* Catch timeout

* Update config.py

* Update config.py

* Update config.py

* Update config.py

* Update qsub.py

* Update config.py

* Update qsub.py

* Allow massive cax to submit jobs for new runs

* Allow massive cax to submit jobs for new runs

* Better waiting

* Have massive cax search just for actionable runs, except once a day.  Fix pax version issue until figure out how to deal with multiple pax versions.

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/main.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/main.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/main.py

* Merge branch 'parallel' of github.com:XENON1T/cax into parallel

# Conflicts:
#	cax/main.py

* ncpus = 1

* Use central pax env

* Four cores

* Fix typo in env

* Make run over everything at start

* Proper version

* Don't delete bad checksums if no master checksum

* Unused line

* - Implement lcg-cp and recursiveness
- Add timer in Copy class

* Tweak submission options
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants