예제 #1
0
파일: build_all.py 프로젝트: rscorrea1/wafo
def compile_all():
    f2py_call = f2py_call_str()
    print '=' * 75
    print 'compiling mvn'
    print '=' * 75

    os.system(f2py_call + ' mvn.pyf mvndst.f -c ')
예제 #2
0
def compile_all():
    f2py_call = f2py_call_str()
    print '=' * 75
    print 'compiling mvn'
    print '=' * 75

    os.system(f2py_call + ' mvn.pyf mvndst.f -c ')
예제 #3
0
파일: build_all.py 프로젝트: rscorrea1/wafo
def compile_all():
    f2py_call = f2py_call_str()
    print '=' * 75
    print 'compiling c_codes'
    print '=' * 75

    compile_format = f2py_call + ' %s %s -c'

    pyfs = ('c_library.pyf',)
    files = ('c_functions.c',)

    for pyf, file_ in zip(pyfs, files):
        os.system(compile_format % (pyf, file_))
예제 #4
0
파일: build_all.py 프로젝트: eelcovv/pywafo
def compile_all():
    f2py_call = f2py_call_str()
    print "=" * 75
    print "compiling c_codes"
    print "=" * 75

    compile_format = f2py_call + " %s %s -c"

    pyfs = ("c_library.pyf",)
    files = ("c_functions.c",)

    for pyf, file_ in zip(pyfs, files):
        os.system(compile_format % (pyf, file_))
예제 #5
0
파일: build_all.py 프로젝트: morbult/pywafo
def compile_all():
    f2py_call = f2py_call_str()
    print('=' * 75)
    print('compiling cov2mod')
    print('=' * 75)

    files = ['dsvdc', 'mregmodule', 'intfcmod']
    compile1_format = 'gfortran -fPIC -c %s.f'
    format1 = '%s.o ' * len(files)
    for file_ in files:
        os.system(compile1_format % file_)
    file_objects = format1 % tuple(files)

    os.system(f2py_call + ' -m cov2mod  -c %s cov2mmpdfreg_intfc.f' %
              file_objects)
예제 #6
0
def compile_all():
    f2py_call = f2py_call_str()
    print '=' * 75
    print 'compiling cov2mod'
    print '=' * 75

    files = ['dsvdc', 'mregmodule', 'intfcmod']
    compile1_format = 'gfortran -fPIC -c %s.f'
    format1 = '%s.o ' * len(files)
    for file_ in files:
        os.system(compile1_format % file_)
    file_objects = format1 % tuple(files)

    os.system(f2py_call + ' -m cov2mod  -c %s cov2mmpdfreg_intfc.f' %
              file_objects)
예제 #7
0
def compile_all():
    f2py_call = f2py_call_str()
    print '=' * 75
    print 'compiling mvnprd'
    print '=' * 75

    files = ['mvnprd', 'mvnprodcorrprb']
    compile1_format = 'gfortran -fPIC -c %s.f'
    for file_ in files:
        os.system(compile1_format % file_)
    file_objects = '%s.o %s.o' % tuple(files)

    # os.system('f2py.py -m mvnprdmod  -c %s mvnprd_interface.f
    # --fcompiler=gnu95 --compiler=mingw32 -lmsvcr71' % file_objects)
    os.system(f2py_call + ' -m mvnprdmod  -c %s mvnprd_interface.f ' %
              file_objects)
예제 #8
0
파일: build_all.py 프로젝트: morbult/pywafo
def compile_all():
    f2py_call = f2py_call_str()
    print('=' * 75)
    print('compiling rind2007')
    print('=' * 75)

    files = ['intmodule',  'jacobmod', 'swapmod',
             'fimod', 'rindmod', 'rind71mod']
    compile1_format = 'gfortran -fPIC -c %s.f'
    format1 = '%s.o ' * len(files)
    for file_ in files:
        os.system(compile1_format % file_)
    file_objects = format1 % tuple(files)

    os.system(f2py_call + ' -m rindmod  -c %s rind_interface.f ' %
              file_objects)
예제 #9
0
def compile_all():
    f2py_call = f2py_call_str()
    print '=' * 75
    print 'compiling mvnprd'
    print '=' * 75

    files = ['mvnprd', 'mvnprodcorrprb']
    compile1_format = 'gfortran -fPIC -c %s.f'
    for file_ in files:
        os.system(compile1_format % file_)
    file_objects = '%s.o %s.o' % tuple(files)

    # os.system('f2py.py -m mvnprdmod  -c %s mvnprd_interface.f
    # --fcompiler=gnu95 --compiler=mingw32 -lmsvcr71' % file_objects)
    os.system(f2py_call + ' -m mvnprdmod  -c %s mvnprd_interface.f ' %
              file_objects)
예제 #10
0
def compile_all():
    f2py_call = f2py_call_str()
    print '=' * 75
    print 'compiling rind2007'
    print '=' * 75

    files = ['intmodule',  'jacobmod', 'swapmod',
             'fimod', 'rindmod', 'rind71mod']
    compile1_format = 'gfortran -fPIC -c %s.f'
    format1 = '%s.o ' * len(files)
    for file_ in files:
        os.system(compile1_format % file_)
    file_objects = format1 % tuple(files)

    os.system(f2py_call + ' -m rindmod  -c %s rind_interface.f ' %
              file_objects)