Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ronald_G_Intel
Moderator
58 Views

GUI OS X, Application Parameters with dash dash syntax

My application, on the command line uses these arguments:

./a.out --zones 32,32,32 --gset 1 --groups 32 --quad 96 --nest DGZ --niter 10

For the OS X gui, the Application parameters input does not accept dash-dash syntax.  It appears to try to format the double dashes into a single long dash, much like Word would do.  

How do I pass double-dash arguments to my application?

On a related question, in the GUI where do you set ENV variables, like OMP_NUM_THREADS=16 ?

Thanks

Ron

0 Kudos
2 Replies
Dmitry_P_Intel1
Employee
58 Views

Hello,

Is this about remote collection from OS X GUI to Linux target?

One quick thought is to create a script on the target side that will set proper environment and invoke the binary with the parameters. And give the script as application to launch for VTune.

Thanks & Regards, Dmitry

 

Ronald_G_Intel
Moderator
58 Views

Yes, this is a Mac GUI launching a remote collection. 

A script on the remote linux system is an excellent idea!  That is brilliant, thank you.