Discussion:
multiple projects (Fortran & C)
(too old to reply)
E. Inazaki
2013-06-14 21:09:55 UTC
Permalink
I'm doing this thing where I'm to taking an existing FORTRAN program and
redoing it in C. I would like to run both programs under the debugger at
the same time.

I find that I cannot open two projects under the same IDE instance but I
can fire up two IDE's and run one project under each (and then start a
debugging session for each project). Is this basically the way to do it?
Any pitfalls or gotchas I should be aware of?

TIA,
eric
Lynn McGuire
2013-06-14 22:36:46 UTC
Permalink
Post by E. Inazaki
I'm doing this thing where I'm to taking an existing FORTRAN program and
redoing it in C. I would like to run both programs under the debugger at
the same time.
I find that I cannot open two projects under the same IDE instance but I
can fire up two IDE's and run one project under each (and then start a
debugging session for each project). Is this basically the way to do it?
Any pitfalls or gotchas I should be aware of?
TIA,
eric
How are you translating from Fortran to C?

Lynn
E. Inazaki
2013-06-15 01:25:22 UTC
Permalink
Post by Lynn McGuire
Post by E. Inazaki
I'm doing this thing where I'm to taking an existing FORTRAN program and
redoing it in C. I would like to run both programs under the debugger at
the same time.
I find that I cannot open two projects under the same IDE instance but I
can fire up two IDE's and run one project under each (and then start a
debugging session for each project). Is this basically the way to do it?
Any pitfalls or gotchas I should be aware of?
TIA,
eric
How are you translating from Fortran to C?
Lynn
The hard way. I don't want to use f2c, tried it once couldn't make
heads or tails out of the C. Fortunately, the FORTRAN's not that long.
Lynn McGuire
2013-06-17 17:16:27 UTC
Permalink
Post by E. Inazaki
Post by Lynn McGuire
Post by E. Inazaki
I'm doing this thing where I'm to taking an existing FORTRAN program and
redoing it in C. I would like to run both programs under the debugger at
the same time.
I find that I cannot open two projects under the same IDE instance but I
can fire up two IDE's and run one project under each (and then start a
debugging session for each project). Is this basically the way to do it?
Any pitfalls or gotchas I should be aware of?
TIA,
eric
How are you translating from Fortran to C?
Lynn
The hard way. I don't want to use f2c, tried it once couldn't make
heads or tails out of the C. Fortunately, the FORTRAN's not that long.
We are using FOR_C
http://www.cobalt-blue.com/fc/fcmain.htm
on our 800,000 lines of F77 code. The project
is taking forever due to our usage of fortran
extensions all over the place. The most
problematic problem that we are are having is
that our code assumes automatic zero
initialization and save for all global and local
variables.

Lynn

Loading...