[f2py] Helping wrapping Multi Taper Spectral Analysis Fortran code

Filipe Pires Alvarenga Fernandes ocefpaf at gmail.com
Sat Jul 28 01:14:36 EEST 2012


Hi, I am trying to wrap the following code,

http://db.tt/CnZ6xqY3

using f2py.  The commands I am using are:

f2py mtm2.f -m mtm2 -h mtm2.pyf
f2py -c mtm2.pyf mtm2.f

However, I am facing the following error:

error: Command "/usr/bin/gfortran -Wall -ffixed-form
-fno-second-underscore -fPIC -O3 -funroll-loops
-I/tmp/tmp_oV9I4/src.linux-x86_64-2.7
-I/usr/lib64/python2.7/site-packages/numpy/core/include
-I/usr/include/python2.7 -c -c mtm2.f -o /tmp/tmp_oV9I4/mtm2.o" failed
with exit status 1

The full log with warnings is attached.  Both my Fortran and python
are a little at a beginner level, so any help is welcome.

Thanks.


**********************************************************
Filipe Pires Alvarenga Fernandes, PhD Candidate
School of Marine Science and Technology
University of Massachusetts at Dartmouth
706 Rodney French Blvd., New Bedford, MA 02744

Email: falvarengafernandes at umassd.edu
          ocefpaf at gmail.com

http://ocefpaf.tiddlyspot.com/
**********************************************************
-------------- next part --------------
A non-text attachment was scrubbed...
Name: log
Type: application/octet-stream
Size: 47322 bytes
Desc: not available
Url : http://cens.ioc.ee/pipermail/f2py-users/attachments/20120727/220e7cd8/attachment-0001.obj 


More information about the f2py-users mailing list