Do you provide a work around for the lack of support of execute_command_line in pgfortran?
This is supported in GCC, Intel and Cray Fortran compilers, here is a simple example:
program test use iso_fortran_env implicit none integer(kind=int32) :: st character(len=20) :: msg call execute_command_line("echo 'hi there!1'") call execute_command_line("echo 'hi there!2'",cmdstat=st,cmdmsg=msg) end program test
Here is the output of pgfortran:
% pgfortran test.f90 PGF90-S-0079-Keyword form of argument illegal in this context for cmdstat (test.f90: 7) PGF90-S-0079-Keyword form of argument illegal in this context for cmdmsg (test.f90: 7) 0 inform, 0 warnings, 2 severes, 0 fatal for test
Are you planning to add support for it?
For reference, here is a related (old) question:
Thanks for your help!