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

fixes needed to run Harvester at NERSC #72

Merged
merged 2 commits into from
Feb 26, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions pandaharvester/harvesterstager/rse_direct_stager.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
import os
import zipfile

from pandaharvester.harvestercore import core_utils
from pandaharvester.harvestercore.plugin_base import PluginBase

# logger
baseLogger = core_utils.setup_logger('rse_direct_stager')

# stager plugin with RSE + no data motion
class RseDirectStager(PluginBase):
Expand Down
3 changes: 2 additions & 1 deletion pandaharvester/harvestersubmitter/slurm_submitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ def make_batch_script(self, workspec):
tmpFile = tempfile.NamedTemporaryFile(delete=False, suffix='_submit.sh', dir=workspec.get_access_point())
tmpFile.write(self.template.format(nCorePerNode=self.nCorePerNode,
nNode=workspec.nCore / self.nCorePerNode,
accessPoint=workspec.accessPoint)
accessPoint=workspec.accessPoint,
workerID=workspec.workerID)
)
tmpFile.close()
return tmpFile.name
Expand Down