You can subscribe to this list here.
| 2008 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
|---|
|
From: Peter S. <psc...@gm...> - 2008-02-19 20:05:39
|
Hi,
I'm trying to build fruit according to the documentation in
I set the following in rake_base.rb:
$compiler = 'f95'
run "rake" and get the following error:
----------------------------------------------------------------------------------------
$ rake
(in /home/schmitt/examples/fortran_unit_test/fruit_2.4.4)
cd src;rake
(in /home/schmitt/examples/fortran_unit_test/fruit_2.4.4/src)
cd test;rake;
(in /home/schmitt/examples/fortran_unit_test/fruit_2.4.4/test)
f95 -c -o fruit_data_test.o fruit_data_test.f90 -module
/home/schmitt/examples/fortran_unit_test/fruit_2.4.4/build
f951: error: unrecognized command line option "-module"
rake aborted!
Command failed with status (1): [f95 -c -o fruit_data_test.o
fruit_data_tes...]
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [cd test;rake;...]
/home/schmitt/examples/fortran_unit_test/fruit_2.4.4/rakefile:18
(See full trace by running task with --trace)
----------------------------------------------------------------------------------------
So, I remove "-module" from line 45 of rake_base.rb, run "rake" again and
get this error:
----------------------------------------------------------------------------------------
$ rake
(in /home/schmitt/examples/fortran_unit_test/fruit_2.4.4)
cd src;rake
(in /home/schmitt/examples/fortran_unit_test/fruit_2.4.4/src)
cd test;rake;
(in /home/schmitt/examples/fortran_unit_test/fruit_2.4.4/test)
f95 -c -o fruit_data_test.o fruit_data_test.f90
/home/schmitt/examples/fortran_unit_test/fruit_2.4.4/build
In file fruit_data_test.f90:2
use fruit
1
Fatal Error: Can't open module file 'fruit.mod' for reading at (1): No such
file or directory
rake aborted!
Command failed with status (1): [f95 -c -o fruit_data_test.o
fruit_data_tes...]
(See full trace by running task with --trace)
rake aborted!
Command failed with status (1): [cd test;rake;...]
/home/schmitt/examples/fortran_unit_test/fruit_2.4.4/rakefile:18
(See full trace by running task with --trace)
----------------------------------------------------------------------------------------
I can make a soft link to "fruit_2.4.4/src/fruit.mod" inside
"fruit_2.4.4/test/" and get a little further, but I get more errors like
"Fatal Error: Can't open module file 'XXXX.mod' for reading at (1): No such
file or directory".
I tried setting LD_LIBRARY_PATH and LIBPATH to point to
"/path/to/fruit_2.4.4/src", but I get the same problem.
How do I properly compile fruit using the gfortran compiler?
Thanks,
Pete
|