def compile_all(): f2py_call = f2py_call_str() print '=' * 75 print 'compiling mvn' print '=' * 75 os.system(f2py_call + ' mvn.pyf mvndst.f -c ')
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_))
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_))
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)
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)
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)
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)
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)