[fUnit-support] fUnit problem with Intel Visual Fortran 9.1 (Windows)
Stuart Mentzer
Stuart_Mentzer at objexx.com
Tue Aug 14 16:51:20 EDT 2007
Hello,
My small company does Fortran reengineering projects
regularly and I was keen to add fUnit to our arsenal
of tools.
I didn't try it on Linux yet with gfortran but on
Windows XP with IVF 9.1 it seems to be doing some non-
Windows friendly stuff like using \ to continue command
lines and ./file for paths (see errors below).
I installed the Ruby Windows binary and did
gem install funit
which gives funit 0.9.0 (not sure how that relates to
the 0.1.3 on sourceforge). I set FC to ifort before
running.
If I build it manually with:
ifort -o TestRunner gas_physics.f90 gas_physics_fun.f90 TestRunner.f90
the tests build and run fine.
Do you (or could you?) support Windows? Yes, I have
Cygwin but they haven't released GCC 4.x or gfortran
yet (and I don't think they have gem either).
Thanks for what looks like a much needed tool,
Stuart
____________________________________________________________
Stuart G. Mentzer Stuart_Mentzer at objexx.com
Objexx Engineering, Inc. http://objexx.com
220 Reservoir Street, Suite 25 Office: 1.781.455.1150 x11
Needham MA 02494-3133 Mobile: 1.781.956.0777
USA Fax: 1.781.207.9183
funit gas_physics
expanding gas_physics.fun...done.
computing dependencies
locating associated source files and sorting for compilation
ifort -o TestRunner \
./gas_physics.f90 \
./gas_physics_fun.f90 \
TestRunner.f90
Intel(R) Fortran Compiler for 32-bit applications, Version 9.1 Build 20070322Z Package ID: W_FC_C_9.1.037
Copyright (C) 1985-2007 Intel Corporation. All rights reserved.
ifort: Command line warning: unrecognized source type '\
'; object file assumed
ifort: Command line warning: unrecognized source type '\
'; object file assumed
ifort: Command line warning: unrecognized source type '\
'; object file assumed
Microsoft (R) Incremental Linker Version 8.00.50727.762
Copyright (C) Microsoft Corporation. All rights reserved.
-out:TestRunner.exe
-subsystem:console
\
gas_physics.obj
\
gas_physics_fun.obj
\
TestRunner.obj
LINK : fatal error LNK1181: cannot open input file '\.obj'
C:/ruby/lib/ruby/gems/1.8/gems/funit-0.9.0/lib/funit/functions.rb:87:in `compile_tests': Compile failed. (RuntimeError)
from C:/ruby/lib/ruby/gems/1.8/gems/funit-0.9.0/lib/funit.rb:21:in `run_tests'
from C:/ruby/lib/ruby/gems/1.8/gems/funit-0.9.0/bin/funit:12
from C:/ruby/bin/funit:16:in `load'
from C:/ruby/bin/funit:16
More information about the fUnit-support
mailing list