confi999
Junior Member level 3
fortran program to run command on shell
I was told it is possible to use unix commands in fortran code. Can anyone guide me how shall I do that.
My work requires (a) running fortran code which will produce a data file .. (b) then some unix commands will select certain portions of the data and do some processing .... (c) finally fortran will do further processing on the processed data obtained from unix commands
Is it possible to do all 3 steps in fortran program - particularly step (b) in fortran? I donot want to write a shell script etc. (it will cost me some time/ effort to learn and do it properly) but feel more comfortable/ confident working in fortran.
any advice will be highly appreciated . thank you
I was told it is possible to use unix commands in fortran code. Can anyone guide me how shall I do that.
My work requires (a) running fortran code which will produce a data file .. (b) then some unix commands will select certain portions of the data and do some processing .... (c) finally fortran will do further processing on the processed data obtained from unix commands
Is it possible to do all 3 steps in fortran program - particularly step (b) in fortran? I donot want to write a shell script etc. (it will cost me some time/ effort to learn and do it properly) but feel more comfortable/ confident working in fortran.
any advice will be highly appreciated . thank you