10
0
mirror of https://gitlab.com/scemama/irpf90.git synced 2024-12-21 11:53:32 +01:00

Fixed -a -m -d

This commit is contained in:
Anthony Scemama 2015-03-16 14:50:57 +01:00
parent 58c302f941
commit 78eb6dae1b
5 changed files with 9 additions and 8 deletions

View File

@ -4,7 +4,7 @@ src:
$(MAKE) -C $@ $(MAKE) -C $@
man: man:
- $(MAKE) -C $@ - $(MAKE) -C $@ &> /dev/null
all: src man all: src man

View File

@ -256,6 +256,7 @@ def print_options():
description = p1.communicate(description)[0] description = p1.communicate(description)[0]
description = description.replace('\n','\n'.ljust(27)) description = description.replace('\n','\n'.ljust(27))
print ("-%s, --%s"%(k,options[k][0])).ljust(25), description+'\n' print ("-%s, --%s"%(k,options[k][0])).ljust(25), description+'\n'
print "\n"
if __name__ == '__main__': if __name__ == '__main__':
print_options() print_options()

View File

@ -29,7 +29,7 @@ from distutils.extension import Extension
from Cython.Distutils import build_ext from Cython.Distutils import build_ext
import os import os
to_remove = """cython_setup.py command_line.py""".split() to_remove = """cython_setup.py version.py command_line.py""".split()
ext_modules = [] ext_modules = []
files = os.listdir('.') files = os.listdir('.')

View File

@ -146,11 +146,11 @@ end subroutine
endif endif
stack_index(ithread+1) = mod(stack_index(ithread+1)+1,STACKMAX) stack_index(ithread+1) = mod(stack_index(ithread+1)+1,STACKMAX)
irp_stack(stack_index(ithread+1),ithread+1) = irp_where""") irp_stack(stack_index(ithread+1),ithread+1) = irp_where""")
if command_line.do_memory: # if command_line.do_memory:
txt+=""" # txt+="""
print *, 'Allocating irp_stack(',STACKMAX,','nthread,')' # print *, 'Allocating irp_stack(',STACKMAX,','nthread,')'
print *, 'Allocating irp_cpu(',STACKMAX,','nthread,')' # print *, 'Allocating irp_cpu(',STACKMAX,','nthread,')'
print *, 'Allocating stack_index(',nthread,')'""" # print *, 'Allocating stack_index(',nthread,')'"""
else: else:
txt = txt.replace("$1","") txt = txt.replace("$1","")

View File

@ -1 +1 @@
version = "1.5.0" version = "1.5.1"