From: Eli Osherovich on
I am playing with Fortran which is new for me.
Slowly, my collection of files becomes large enough to abandon manual
(re) compilation each time I change a bit here and there. This is the
time chose a build system to work with. I could go with makefile,
however, rumors say there are much better alternatives these days.
Most mention SCons and CMake. Which one would be the best choice for
Fortran?

Thank you.
From: aerogeek on
On Mar 10, 9:06 pm, Eli Osherovich <eli.osherov...(a)gmail.com> wrote:
> I am playing with Fortran which is new for me.
> Slowly, my collection of files becomes large enough to abandon manual
> (re) compilation each time I change a bit here and there. This is the
> time chose a build system to work with. I could go with makefile,
> however, rumors say there are much better alternatives these days.
> Most mention SCons and CMake. Which one would be the best choice for
> Fortran?
>
> Thank you.

Please do let us know your system, compiler and other stuff so we can
give any intelligent reply.. without it its like shooting in the
air... :)
From: Eli Osherovich on
On Mar 10, 8:00 pm, aerogeek <sukhbinder.si...(a)gmail.com> wrote:
> On Mar 10, 9:06 pm, Eli Osherovich <eli.osherov...(a)gmail.com> wrote:
>
> > I am playing with Fortran which is new for me.
> > Slowly, my collection of files becomes large enough to abandon manual
> > (re) compilation each time I change a bit here and there. This is the
> > time chose a build system to work with. I could go with makefile,
> > however, rumors say there are much better alternatives these days.
> > Most mention SCons and CMake. Which one would be the best choice for
> > Fortran?
>
> > Thank you.
>
> Please do let us know your system, compiler and other stuff so we can
> give any intelligent reply.. without it its like shooting in the
> air... :)

Oooops, I thought everyone has switched to Linux :)

It is linux with gfortran and ifort.

Thank you.
From: Paul van Delst on
Eli Osherovich wrote:
> On Mar 10, 8:00 pm, aerogeek <sukhbinder.si...(a)gmail.com> wrote:
>> On Mar 10, 9:06 pm, Eli Osherovich <eli.osherov...(a)gmail.com> wrote:
>>
>>> I am playing with Fortran which is new for me.
>>> Slowly, my collection of files becomes large enough to abandon manual
>>> (re) compilation each time I change a bit here and there. This is the
>>> time chose a build system to work with. I could go with makefile,
>>> however, rumors say there are much better alternatives these days.
>>> Most mention SCons and CMake. Which one would be the best choice for
>>> Fortran?
>>> Thank you.
>> Please do let us know your system, compiler and other stuff so we can
>> give any intelligent reply.. without it its like shooting in the
>> air... :)
>
> Oooops, I thought everyone has switched to Linux :)
>
> It is linux with gfortran and ifort.

You might want to take a look at "ruby make", or rake.
http://rake.rubyforge.org/

You'll need to learn a bit of ruby to write rakefiles, but (in my opinion) that's a
feature. :o)

The documentation at http://docs.rubyrake.org/ show how to use rakefiles for building
external programs via compilation (the example is for a C "hello world" program, but same
dog, different leg for Fortran)

If you're a gui/java fan, the Fortran plugin for Eclipse, Photran,
http://www.eclipse.org/photran
might be something you'd find useful (I'm a command line guy myself.)


cheers,

paulv
From: Craig Powers on
Eli Osherovich wrote:
> I am playing with Fortran which is new for me.
> Slowly, my collection of files becomes large enough to abandon manual
> (re) compilation each time I change a bit here and there. This is the
> time chose a build system to work with. I could go with makefile,
> however, rumors say there are much better alternatives these days.
> Most mention SCons and CMake. Which one would be the best choice for
> Fortran?

I haven't used it myself, but another option might be TCBuild:
http://www.macresearch.org/tcbuild-new-build-tool-fortran

I had dependency issues that precluded being able to give it a test run.