tag:blogger.com,1999:blog-5724788502372866353.post1103649766631894011..comments2023-09-03T23:41:38.290-07:00Comments on Scientific Computing & Co: F2PY on 64bit Windows (python2.7)DeHoffhttp://www.blogger.com/profile/08232192491840146635noreply@blogger.comBlogger6125tag:blogger.com,1999:blog-5724788502372866353.post-33274702501171354282014-06-02T14:14:04.514-07:002014-06-02T14:14:04.514-07:00Thanks Christian,
same worked for me Using Anaco...Thanks Christian, <br /><br />same worked for me Using Anaconda 64 bit on Win 7. MinGW installation was not needed! But changed gnu.py at Line 327 at ...\Anaconda\Lib\site-packages\numpy\distutils\fcompiler\gnu.py <br /><br />Best Regards from Vienna - Dieter <br />Anonymoushttps://www.blogger.com/profile/09594527963662133366noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-86027873129318793702014-04-16T03:09:53.789-07:002014-04-16T03:09:53.789-07:00Hi Christian,
I just wanted to say thank you! I h...Hi Christian, <br />I just wanted to say thank you! I had the same error (Only MS compiler supported with gfortran on win64) and uncommenting the line fixed it.<br /><br />Hours saved ... :-)<br /><br />EdgarEdhttps://www.blogger.com/profile/05856111465419796402noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-57325295591383098702013-07-22T07:52:25.461-07:002013-07-22T07:52:25.461-07:00Hi Felipe.
So --fcompiler=gnu95 is a flag that sp...Hi Felipe.<br /><br />So --fcompiler=gnu95 is a flag that specifies the fortran compiler which must be installed on your PC. --compiler=mingw32 is a flag that specifies the c compiler which must be installed on your PC as well. -m is the flag which specifies the name of the module according to 'yourmodulename; this name is the one you have to call in python. 'Yourfortranfile' is the name of the fortran file you want to compile.<br /><br />Further examples can be found here:<br />http://wiki.scipy.org/F2py<br />http://cens.ioc.ee/projects/f2py2e/FAQ.html<br />http://www.sagemath.org/doc/numerical_sage/f2py.html<br /><br />Cheers Chris.DeHoffhttps://www.blogger.com/profile/08232192491840146635noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-38400788383026948172013-07-22T07:15:40.389-07:002013-07-22T07:15:40.389-07:00Hi Bohi.
Sorry for the late response. Unfortunatel...Hi Bohi.<br />Sorry for the late response. Unfortunately I haven't had a problem with the limits.h header file, thus I am not sure what your problem might be related to.<br /><br />Cheers Chris.DeHoffhttps://www.blogger.com/profile/08232192491840146635noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-55127217115157194562013-07-18T00:35:15.491-07:002013-07-18T00:35:15.491-07:00Hi Cristian, I'm very glad to find a good tuto...Hi Cristian, I'm very glad to find a good tutorial of how use f2py in a system 64 bit, windows. I have just one question, after I install python, numpy and minGW, I put this code:<br />f2py -c --fcompiler=gnu95 --compiler=mingw32 -m yourmodulename yourfortranfile<br />in the shell? Where I put my fortran programs (what is the adress)? What is module? (I'm a beginner in python, thanks for your post!)Felipe Erguetahttps://www.blogger.com/profile/01189590540820296991noreply@blogger.comtag:blogger.com,1999:blog-5724788502372866353.post-68962163041243898692013-06-26T12:18:43.592-07:002013-06-26T12:18:43.592-07:00So this is the closest solution I have come across...So this is the closest solution I have come across with a problem like mine. I'm getting an error with the limits.h header while using f2py with a g77 installation. Do you think this is the solution to my problem?Bohihttps://www.blogger.com/profile/03521690777598843334noreply@blogger.com