Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations KootK on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

HELP ME! 1

Status
Not open for further replies.

jbcb

Computer
Oct 14, 2003
5
I am using compaq visual fortran, and i have two f90 files, which are being constantly being updated.... so basically each time, i have to rebuild these two files before generating an exe file before running...

Is it possible that I can write a method or an exe file that automatically rebuild the 2 f90 files, without having me to manually go into the compaq visual fortran each time to do it? if so, how do i write that code?

Please reply... thanks!

Jonathan
 
Replies continue below

Recommended for you

In DOS it would be easy but I don't do WINDOWS

<nbucska@pcperipherals.com>
 
When you modify the files in Developers studio environment before running the program you will be asked to rebuild modified files.

What is the problem with your fortran files and you have to change them every time before the new run?
 
I am not a fortran programmer, but I have been given a task to write a front-end of the GUI for the Fortran, and the Gui is written in Matlab....

So each time, when the user enters some variables information in Matlab, then I have use perl script to change the Fortran code with the new set of variables....

So, resulting me having to rebuild the two fortran files each time....

But I want to make the whole thing looks smooth, and doesnt have to go bak to the visual fortran studio each time....

the other guy suggested to do in in Dos, how can I do that in Dos? and are there any free compilers for dos?

thanks!

Jb
 
What does &quot;rebuild&quot; mean ? If you can define it you can do it, too.

<nbucska@pcperipherals.com>
 
You really need a fortran programmer to modify the source code for you so that it can cope with different variable sets. Re-compiling each time is crazy and self defeating!
 
I agree with johnhors. Recompiling everytime is nuts! Unfortunately, I don't know the first thing about Matlab. This sounds like too big of a project to be succintly answered on a forum.

Sorry I can't be more encouraging.
 
jbcb:

If you can describe what has to be done and send me a
pair of files( b4.f90 and after.f90 ) I can try to write
you an .exe.


<nbucska@pcperipherals.com>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor