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

Fortran Linux - command-line arquments

bulcao
Beginner
760 Views
Any one could help me.
I try to get the arguments on the command-line with fortran. My code work right under GNU fortran, but don't work under intel fortran compiler.
Any one could send me the lines of source code how make this?

thanks
bulcao
0 Kudos
2 Replies
Steven_L_Intel1
Employee
760 Views
Let me recommend to you F2KCLI, a package that works with Intel Fortran to provide command line functions compatible with the proposed "Fortran 2000" standard.

Otherwise, see the documentation of IARGC and GETARG in the Intel Fortran Libraries manual.

Steve
0 Kudos
huilin0916
Beginner
760 Views
Hi,

I have the same problem, did you get the answer?
If yes, could you sen me at: huilin0916@hotmail.com

Thanks,

Huilin
0 Kudos
Reply