Skip to content

Commit

Permalink
bump version to 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
camillescott committed Apr 20, 2016
1 parent ecfc022 commit 29117ee
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dammit/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3-dev
0.3
3 changes: 2 additions & 1 deletion dammit/tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,14 @@ def parallel_fasta(input_filename, n_jobs):
def multinode_parallel_fasta(input_filename, ppn, nodes):
file_size = 'S=`stat -c "%%s" {0}`; B=`expr $S / {1}`;'.format(input_filename,
nodes * ppn)
'''
exports = 'export PARALLEL="--workdir . --env PATH --env LD_LIBRARY_PATH '\
'--env LOADEDMODULES --env _LMFILES_ --env MODULE_VERSION '\
'--env MODULEPATH --env MODULEVERSION_STACK --env MODULESHOME '\
'--env OMP_DYNAMICS --env OMP_MAX_ACTIVE_LEVELS --env OMP_NESTED '\
'--env OMP_NUM_THREADS --env OMP_SCHEDULE --env OMP_STACKSIZE '\
'--env OMP_THREAD_LIMIT --env OMP_WAIT_POLICY";'

'''
exc = which('parallel')
cmd = [exports, file_size, 'cat', input_filename, '|', exc, '--block', '$B',
'--pipe', '--recstart', '">"', '--gnu', '--jobs 1',
Expand Down

0 comments on commit 29117ee

Please sign in to comment.