Commit 87b9d6eb authored by Betoule Marc's avatar Betoule Marc
Browse files

a few changes added to ccali launchers

parent f4543d86
...@@ -256,6 +256,7 @@ echo $PYTHONPATH ...@@ -256,6 +256,7 @@ echo $PYTHONPATH
_job_file = """ _job_file = """
#/bin/zsh #/bin/zsh
export PATH=/afs/in2p3.fr/home/b/betoule/software/photcalib/tools:$PATH
echo $SHELL echo $SHELL
echo $PYTHONPATH echo $PYTHONPATH
python -m pipelet.launchers -H %s -p %s -s %s python -m pipelet.launchers -H %s -p %s -s %s
...@@ -264,10 +265,11 @@ python -m pipelet.launchers -H %s -p %s -s %s ...@@ -264,10 +265,11 @@ python -m pipelet.launchers -H %s -p %s -s %s
def launch_ccali(pipe, n, address=None, authkey='secret', job_dir="/sps/snls13/users/betoule/bqs/scripts", def launch_ccali(pipe, n, address=None, authkey='secret', job_dir="/sps/snls13/users/betoule/bqs/scripts",
job_name="job_", log_dir="/sps/snls13/users/betoule/bqs/logs", job_name="job_", log_dir="/sps/snls13/users/betoule/bqs/logs",
cpu_time=1000, scratch="512MB", mem="512MB",plateform='LINUX',server=False): cpu_time=1000, scratch="512MB", mem="512MB",plateform='LINUX',server=False, log_level=logging.DEBUG):
"""submit a bunch of distant workers to the BQS system """submit a bunch of distant workers to the BQS system
at CCIN2P3. at CCIN2P3.
""" """
set_logger (pipe, log_level)
s = scheduler.Scheduler(pipe) s = scheduler.Scheduler(pipe)
......
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