Execute_command_line
Szabó László
szabola@met.hu
Mon Oct 7 18:13:00 GMT 2013
Thanks Steve!
I tried SYSTEM subroutine earlier, but this method doesn't wait for the executed program has been finished. I would like to copy some big size files in a fortran program, and after copy I would like to open these files. Since SYSTEM doesn't wait for the end of copying when I try to open files, I get "No such file" errors....
thanks again
szabola
----- Original Message -----
Feladó: "Steve Kargl" <sgk@troutmask.apl.washington.edu>
Címzett: "Szabó László" <szabola@met.hu>
Másolat: fortran@gcc.gnu.org
Elküldve: Hétfő, Október 7, 2013 5:14:56 DU
Tárgy: Re: Execute_command_line
On Mon, Oct 07, 2013 at 02:03:02PM +0000, Szabó László wrote:
> gfortran44 -v
(delete)
> What is the cause of this error? Did I miss some linking options?
execute_command_line was added to gfortran at version 4.6.x.
You need to update from 4.4 to have access to this intrinsic.
If you're stuck on 4.4, then you'll need to use the nonstandard
system subroutine.
-- Steve
More information about the Fortran
mailing list