I'm working on an MPI profiler. With version 7.x, I was able to get at command-line arguments in C routines by accessing xargc/xargv. I do not see these symbols available with v8 and have been using fortran routines with iargc/getarg to get at the command line. Are there xargc/xargv equivalents in v8?
thanks,
-Chris
連結已複製
4 回應
I suppose the question is:
How do you access the command-line arguments of a Fortran application (compiled with fortran compiler version 8) from a C routine?
For Intel Fortran Compiler version 7.x, it appears that C argc/argv values can be obtained from global fortran symbols xargc/xargv. I do not see xargc/xargv in fortran executables compiled with version 8, however, if there are similar symbols that point to the same data as xargc/xargv, I would appreciate if you would let me know, as this makes it easier for me to provide Intel Fortran v8 support in my profiling tool.
thanks,
-Chris
How do you access the command-line arguments of a Fortran application (compiled with fortran compiler version 8) from a C routine?
For Intel Fortran Compiler version 7.x, it appears that C argc/argv values can be obtained from global fortran symbols xargc/xargv. I do not see xargc/xargv in fortran executables compiled with version 8, however, if there are similar symbols that point to the same data as xargc/xargv, I would appreciate if you would let me know, as this makes it easier for me to provide Intel Fortran v8 support in my profiling tool.
thanks,
-Chris
