I've been working on making the runtests.py script a bit more
user-friendly. I'll look into this shortly. It may be that you need
to use '--fcompiler=intelem' rather than '--fcompiler=ifort'; at least
that's what I need to do on my box.
For now, you could try the following commandline:
$ F90=<full path to ifort> python runtests.py -vv --fcompiler=intelem
--no-cleanup
(note the '-vv' flag to make it a bit more verbose). Paste the output
in your reply.
>
> and when I try
>
> python runnose.py –fcompiler=ifort –no-cleanup
>
> I get
>
> Not implemented: Defined_Binary_Op
> Not implemented: Defined_Binary_Op
> Defined_Operator not defined used by Generic_Spec
> ...........................................................................................using
> cached string-4315740744
> .using cached string-4315740744
> .using cached string-4315740744
> .using cached string-4315740744
> .using cached string-4315740744
> .using cached string-4315740744
> .............
> ----------------------------------------------------------------------
> Ran 109 tests in 0.072s
>
> OK
All the noisy stuff you see is output from fparser, which is quite
verbose. I'll try and silence it some more.
The unittests all run and pass fine.
Which revision of fwrap/fparser are you using?
>
> I am running with Mac OS 10.6.4, numpy 1.4, cython 0.12.1. Is this
> what I should be seeing?
>
> --
> You received this message because you are subscribed to the Google Groups "Fwrap Users" group.
> To post to this group, send email to fwrap...@googlegroups.com.
> To unsubscribe from this group, send email to fwrap-users...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/fwrap-users?hl=en.
>
>
Heh. I was testing ifort on a linux box right around the same time,
and ran into the same errors. I changed the .f95 to .f90 in a recent
changeset. Do a $ hg pull -u to get the latest changes.
All but one of the tests should run fine with the above commandline.
You'll need to add another commandline option (LDFLAGS) to tell fwrap
how to link with the ifort core libraries (I hope to improve this
aspect of things -- lots of these annoyances have to do with
numpy.distutils and I'm smoothing out the kinks). Try this:
$ F90=$IFORTBASE/bin/intel64/ifort LDFLAGS='-L$IFORTBASE/lib/intel64
-lifcore' python runtests.py -vv --fcompiler=intelem --no-cleanup
where IFORTBASE=/opt/intel/Compiler/11.1/064 on my box.
If you could let me know whether all your tests pass with this I'd
appreciate it.
BTW, I'm glad to see that you'll be at SciPy 2010. Looking forward to
it. There will be an fwrap sprint for the last 2 days, if you'll be
around for it. Don't know if you have anything else planned.
Thanks,
Kurt
Whoops, you'll need to make that double quotes rather than single:
Did you pull the most recent revision? What is the output of
$ hg identify
and
$ hg parent
The errors you see are all ones I encountered and fixed in recent
revisions -- I'm using ifort on a linux box so there shouldn't be
platform issues.
>> I will be at Scipy for the entire week including most of the sprints (I
>> leave the evening of Saturday). I was planning on working on fwrap
>> primarily there so hopefully we can work on some of the last issues and
>> discuss the future.
>>
Good to hear.
I see. There have been a few commits since then -- do a pull and an
update to get the latest changes, and that should fix the issues.
Thanks for the help.
Good :-)
> I will try to use some of my own code now and see what happens.
I've been focusing on getting the core modules tested; you'll quickly
find that the fwrap.py script needs some TLC. It isn't very user
friendly or 'discoverable'. This is next on the docket. I'll get to
it in the next day or so.
Kurt