Concerning running Fortran prog from Octave
Ben Abbott
bpabbott at mac.com
Sun Mar 30 18:17:23 CDT 2008
On Mar 30, 2008, at 5:53 PM, george brida wrote:
> Dear Ben, thank you for your help but the problem I can't obtain
> the same output since I can't undrestand where I save the program
> triplestest.txt: must I save it in a directory of Octave as
> extension .for or .m? or I must run simultaneously Octave and Fortran?
> I have Octave 2.9.13 for Windows and I have not installed Fortran in
> my PC.
> Sorry for my basic questions and best regards.
George,
The file "triples_test.txt" is the fortran source code.
You'll need to rename it to "triples_test.F" and then compile it with
a fortran compiler.
The other option is to implement the algorithm in octave.
There have been a few recent questions regarding an Octave
implementation of the "triples test". Is there any reason for the
sudden interest?
Ben
More information about the Help-octave
mailing list