mirror of
https://github.com/wassname/simpeg.git
synced 2026-06-28 19:01:34 +08:00
d3f38047e4
Someone with some knowledge of how fortran works should look at this code. Added a setup.py script that complies things. f2py should work on most computers, because it is included in the numpy distribution.
9 lines
241 B
Python
9 lines
241 B
Python
import os
|
|
print 'Compiling TriSolve.'
|
|
os.system('f2py -c utils/TriSolve.f -m TriSolve')
|
|
print 'TriSolve Compiled! yay.'
|
|
print 'Moving TriSolve into Utils.'
|
|
os.system('mv TriSolve.so utils/TriSolve.so')
|
|
print 'Thats it. Well Done Computer.'
|
|
|