Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
28499 Discussions

Linking shell script and fortran code

jagmohan_S_
Beginner
344 Views

Hi everyone,

I am looking for a way which allow me to do some stuff using shell script and return the results from shell scripts to my fortran code and rest of things I would like to know in Fortran90.

Can anyone suggest me that if Fortran allow to do these kind of things?

Thank you,

Jags

0 Kudos
1 Reply
TimP
Honored Contributor III
344 Views

Fortran 2008 defines the execute_command_line intrinsic which would be capable of executing a script.  ifort supports the most common usages by the legacy system() and systemqq intrinsic functions.  The script could produce results in a file for a Fortran program to read.

0 Kudos
Reply