eugenia1780
Programmer
- Jan 27, 2015
- 2
Dear all,
I need to run a fortran program many times (I am a windows user, but I can change to linux!)
Suppose that the variable is called "N" and it varies from 0 to Nmax.
I would like to run a program over several points considering a different N each time. I don't want to make a DO withing the fortran because I need a file for each program output.
I was thinking in something like this:
FOR /L %%i IN (1 1 2160) DO program.exe %%i &© OUTPUT OUTPUT%%i
where Nmax is 2160
But... I don´t know how to declaire that variable in order that my fortran understands that.
Could you please hava a look?
Eugenia
I need to run a fortran program many times (I am a windows user, but I can change to linux!)
Suppose that the variable is called "N" and it varies from 0 to Nmax.
I would like to run a program over several points considering a different N each time. I don't want to make a DO withing the fortran because I need a file for each program output.
I was thinking in something like this:
FOR /L %%i IN (1 1 2160) DO program.exe %%i &© OUTPUT OUTPUT%%i
where Nmax is 2160
But... I don´t know how to declaire that variable in order that my fortran understands that.
Could you please hava a look?
Eugenia