netpyne.batchtools.submits module
- class netpyne.batchtools.submits.SHSubmit(**kwargs)[source]
Bases:
Submit
- script_args = {'command', 'env', 'label', 'output_path', 'project_path'}
- script_template = '#!/bin/sh\ncd {project_path}\nexport JOBID=$$\n{env}\nnohup {command} > {output_path}/{label}.run 2>&1 &\npid=$!\necho $pid >&1\n'
- script_handles = {'stdout': '{output_path}/{label}.run', 'submit': '{output_path}/{label}.sh'}
- class netpyne.batchtools.submits.SHSubmitSFS(**kwargs)[source]
Bases:
SHSubmit
- script_args = {'command', 'env', 'label', 'output_path', 'project_path'}
- script_template = '#!/bin/sh\ncd {project_path}\nexport OUTFILE="{output_path}/{label}.out"\nexport SGLFILE="{output_path}/{label}.sgl"\nexport JOBID=$$\n{env}\nnohup {command} > {output_path}/{label}.run 2>&1 &\npid=$!\necho $pid >&1\n'
- script_handles = {'signal': '{output_path}/{label}.sgl', 'stdout': '{output_path}/{label}.run', 'submit': '{output_path}/{label}.sh', 'write_file': '{output_path}/{label}.out'}
- class netpyne.batchtools.submits.SHSubmitSOCK(**kwargs)[source]
Bases:
SHSubmit
- script_args = {'command', 'env', 'label', 'output_path', 'project_path', 'sockname'}
- script_template = '#!/bin/sh\ncd {project_path}\nexport SOCNAME="{sockname}"\nexport JOBID=$$\n{env}\nnohup {command} > {output_path}/{label}.run 2>&1 &\npid=$!\necho $pid >&1\n'
- script_handles = {'socket_name': '{sockname}', 'stdout': '{output_path}/{label}.run', 'submit': '{output_path}/{label}.sh'}
- class netpyne.batchtools.submits.SGESubmit(**kwargs)[source]
Bases:
Submit
- script_args = {'command', 'cores', 'env', 'label', 'output_path', 'project_path', 'vmem'}
- script_template = '#!/bin/bash\n#$ -N job{label}\n#$ -q {queue}\n#$ -pe smp {cores}\n#$ -l h_vmem={vmem}\n#$ -l h_rt={realtime}\n#$ -o {output_path}/{label}.run\ncd {project_path}\nsource ~/.bashrc\nexport JOBID=$JOB_ID\n{env}\n{command}\n'
- script_handles = {'stdout': '{output_path}/{label}.run', 'submit': '{output_path}/{label}.sh'}
- class netpyne.batchtools.submits.SGESubmitSFS(**kwargs)[source]
Bases:
SGESubmit
- script_args = {'command', 'cores', 'env', 'label', 'output_path', 'project_path', 'vmem'}
- script_template = '#!/bin/bash\n#$ -N job{label}\n#$ -q {queue}\n#$ -pe smp {cores}\n#$ -l h_vmem={vmem}\n#$ -l h_rt={realtime}\n#$ -o {output_path}/{label}.run\ncd {project_path}\nsource ~/.bashrc\nexport JOBID=$JOB_ID\nexport OUTFILE="{output_path}/{label}.out"\nexport SGLFILE="{output_path}/{label}.sgl"\n{env}\n{command}\n'
- script_handles = {'signal': '{output_path}/{label}.sgl', 'stdout': '{output_path}/{label}.run', 'submit': '{output_path}/{label}.sh', 'write_file': '{output_path}/{label}.out'}
- class netpyne.batchtools.submits.SGESubmitSOCK(**kwargs)[source]
Bases:
SGESubmit
- script_args = {'command', 'cores', 'env', 'label', 'output_path', 'project_path', 'sockname', 'vmem'}
- script_template = '#!/bin/bash\n#$ -N job{label}\n#$ -q {queue}\n#$ -pe smp {cores}\n#$ -l h_vmem={vmem}\n#$ -l h_rt={realtime}\n#$ -o {output_path}/{label}.run\ncd {project_path}\nsource ~/.bashrc\nexport JOBID=$JOB_ID\nexport SOCNAME="{sockname}"\n{env}\n{command}\n'
- script_handles = {'socket_name': '{sockname}', 'stdout': '{output_path}/{label}.run', 'submit': '{output_path}/{label}.sh'}