Analyzers
Talk to fellow users of Intel Analyzer tools (Intel VTune™ Profiler, Intel Advisor)
4995 Discussions

GUI OS X, Application Parameters with dash dash syntax

Ron_Green
Moderator
310 Views

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
310 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

 

0 Kudos
Ron_Green
Moderator
310 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.

 

0 Kudos
Reply