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

Redirect output inside Xcode IDE

ronailsb
Beginner
637 Views
Dear user,
I have a fortran source where the data input is: xxxx.in and I would like the output was yyy.out.
Using line command I make:
ifort -o name name.f
nohup ./name < xxxx.in > yyy.out
How can I do this redirect output inside Xcode IDE?
Thank you
R. Lisboa
0 Kudos
1 Reply
Kevin_D_Intel
Employee
637 Views
You can set up the argumentsused on the command line for the executable itself under Xcode.

Under Xcode, right click the executable and select Get Info. Select the Arguments tab and then setup the arguments to pass the executable from within Xcode.

You may also have to set the Working Directory (on the Info tab) if input file does not reside in the current directory.
0 Kudos
Reply