QS
unread,Aug 8, 2010, 12:57:42 PM8/8/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Fwrap Users
All tests with gfortran passed. Very impressive!
However I had trouble getting it to work with ifort. 13 of the tests
will fail. Since in the release document it is said that fwrap has
been successfully tested with ifort (>=11.1), I would like to know
what settings we need to make so that we can have fwrap working with
ifort.
Here is the command I used:
F90=/opt/intel/Compiler/11.1/088/bin/intel64/ifort LDFLAGS='/opt/intel/
Compiler/11.1/088/lib -lifcore' python runtests.py --fcompiler=intelem
-vv --no-cleanup
And here are the outputs:
Python 2.6.5 |EPD 6.2-1 (64-bit)| (r265:79063, May 28 2010, 15:24:16)
[GCC 4.0.1 (Apple Inc. build 5488)]
wrapping all_char.f90 ... ERROR
wrapping char_args.f90 ... ERROR
wrapping cmplx_array.f90 ... ok
wrapping default_types.f90 ... ok
wrapping int_args.f90 ... ok
wrapping many_args.f90 ... ok
wrapping old_decl.f90 ... ok
wrapping py_kw_arg.f90 ... ok
wrapping simple_array.f90 ... ERROR
compiling and running all_char.f90 ... ERROR
compiling and running all_char_arrays.f90 ... ERROR
compiling and running all_complex.f90 ... Doctest:
all_complex_fwrap_doctest ... ok
compiling and running all_complex_arrays.f90 ... ERROR
compiling and running all_integer_arrays.f90 ... ERROR
compiling and running all_ints.f90 ... Doctest:
all_ints_fwrap_doctest ... ok
compiling and running all_logical_arrays.f90 ... ERROR
compiling and running all_logicals.f90 ... ERROR
compiling and running all_real_arrays.f90 ... ERROR
compiling and running all_reals.f90 ... Doctest:
all_reals_fwrap_doctest ... ok
compiling and running array_intents.f90 ... Doctest:
array_intents_fwrap_doctest ... ok
compiling and running array_types.f90 ... Doctest:
array_types_fwrap_doctest ... ok
compiling and running char_array.f90 ... ERROR
compiling and running default_types.f90 ... Doctest:
default_types_fwrap_doctest ... ok
compiling and running dim_expr.f90 ... Doctest:
dim_expr_fwrap_doctest.test_arg_expr ... ok
Doctest: dim_expr_fwrap_doctest.test_assumed_size ... ok
Doctest: dim_expr_fwrap_doctest.test_const_expr ... ok
Doctest: dim_expr_fwrap_doctest.test_param_expr ... ok
compiling and running func_returns.f90 ... ERROR
compiling and running int_args.f90 ... Doctest:
int_args_fwrap_doctest ... ok
compiling and running ndims.f90 ... Doctest:
ndims_fwrap_doctest.test_D3 ... FAIL
compiling and running old_decl.f90 ... Doctest:
old_decl_fwrap_doctest ... ok
======================================================================
ERROR: wrapping all_char.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/
all_char_fwrap/all_char_fwrap.so, 2): Symbol not found: _for_concat
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/
all_char_fwrap/all_char_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/all_char_fwrap/
all_char_fwrap.so
======================================================================
ERROR: wrapping char_args.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/
char_args_fwrap/char_args_fwrap.so, 2): Symbol not found: _for_cpystr
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/
char_args_fwrap/char_args_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/char_args_fwrap/
char_args_fwrap.so
======================================================================
ERROR: wrapping simple_array.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/
simple_array_fwrap/simple_array_fwrap.so, 2): Symbol not found:
_for_write_seq_lis
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/
simple_array_fwrap/simple_array_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/compile/
simple_array_fwrap/simple_array_fwrap.so
======================================================================
ERROR: compiling and running all_char.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_char_fwrap/all_char_fwrap.so, 2): Symbol not found: _for_concat
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_char_fwrap/all_char_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/all_char_fwrap/
all_char_fwrap.so
======================================================================
ERROR: compiling and running all_char_arrays.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_char_arrays_fwrap/all_char_arrays_fwrap.so, 2): Symbol not found:
__intel_fast_memcpy
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_char_arrays_fwrap/all_char_arrays_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/all_char_arrays_fwrap/
all_char_arrays_fwrap.so
======================================================================
ERROR: compiling and running all_complex_arrays.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_complex_arrays_fwrap/all_complex_arrays_fwrap.so, 2): Symbol not
found: __intel_fast_memcpy
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_complex_arrays_fwrap/all_complex_arrays_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_complex_arrays_fwrap/all_complex_arrays_fwrap.so
======================================================================
ERROR: compiling and running all_integer_arrays.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_integer_arrays_fwrap/all_integer_arrays_fwrap.so, 2): Symbol not
found: __intel_fast_memcpy
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_integer_arrays_fwrap/all_integer_arrays_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_integer_arrays_fwrap/all_integer_arrays_fwrap.so
======================================================================
ERROR: compiling and running all_logical_arrays.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_logical_arrays_fwrap/all_logical_arrays_fwrap.so, 2): Symbol not
found: __intel_fast_memcpy
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_logical_arrays_fwrap/all_logical_arrays_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_logical_arrays_fwrap/all_logical_arrays_fwrap.so
======================================================================
ERROR: compiling and running all_logicals.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_logicals_fwrap/all_logicals_fwrap.so, 2): Symbol not found:
_iso_c_binding_mp_c_f_pointer_scalar_
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_logicals_fwrap/all_logicals_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/all_logicals_fwrap/
all_logicals_fwrap.so
======================================================================
ERROR: compiling and running all_real_arrays.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_real_arrays_fwrap/all_real_arrays_fwrap.so, 2): Symbol not found:
__intel_fast_memcpy
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
all_real_arrays_fwrap/all_real_arrays_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/all_real_arrays_fwrap/
all_real_arrays_fwrap.so
======================================================================
ERROR: compiling and running char_array.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
char_array_fwrap/char_array_fwrap.so, 2): Symbol not found:
_for_cpystr
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
char_array_fwrap/char_array_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/char_array_fwrap/
char_array_fwrap.so
======================================================================
ERROR: compiling and running func_returns.f90
----------------------------------------------------------------------
Traceback (most recent call last):
File "runtests.py", line 241, in run
self.runTest()
File "runtests.py", line 208, in runTest
self.runCompileTest_distutils()
File "runtests.py", line 217, in runCompileTest_distutils
__import__(self.projname)
ImportError: dlopen(/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
func_returns_fwrap/func_returns_fwrap.so, 2): Symbol not found:
_iso_c_binding_mp_c_f_pointer_scalar_
Referenced from: /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/
func_returns_fwrap/func_returns_fwrap.so
Expected in: flat namespace
in /Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/func_returns_fwrap/
func_returns_fwrap.so
======================================================================
FAIL: Doctest: ndims_fwrap_doctest.test_D3
----------------------------------------------------------------------
Traceback (most recent call last):
File "/Library/Frameworks/EPD64.framework/Versions/6.2/lib/python2.6/
doctest.py", line 2152, in runTest
raise self.failureException(self.format_failure(new.getvalue()))
AssertionError: Failed doctest test for ndims_fwrap_doctest.test_D3
File "/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/ndims_fwrap/
ndims_fwrap_doctest.py", line 22, in test_D3
----------------------------------------------------------------------
File "/Users/qchen/Downloads/fwrap-0.1.0/BUILD/run/ndims_fwrap/
ndims_fwrap_doctest.py", line 24, in ndims_fwrap_doctest.test_D3
Failed example:
test_D3()
Expected:
True
Got:
False
----------------------------------------------------------------------
Ran 41 tests in 99.151s
FAILED (failures=1, errors=12)