[Scons-users] ompp and scons script

Bill Deegan bill at baddogconsulting.com
Sun May 22 22:56:11 EDT 2016


Mohammed,

Is the intent that all three would be built at the same time?
I'm wondering why you have 3 SConstructs? and not one SConstruct and 2 (or
3) SConscripts

Likely all you need to do is:
env['SHCXX"] = "kinst-ompp-papi"+env['SHCXX"]
env['CXX"] = "kinst-ompp-papi"+env['CXX"]

(Then same for CC if you have C files)

-Bill

On Sun, May 22, 2016 at 6:04 PM, mohammed shambakey <shambakey1 at gmail.com>
wrote:

> Hi Bill
>
> Thank you for quick response
>
> I have 3 files in 3 different subdirectories. They are all attached
>
> Regards
>
> On Sun, May 22, 2016 at 8:39 PM, Bill Deegan <bill at baddogconsulting.com>
> wrote:
>
>> Mohammad,
>>
>> Yes.
>> can you pastebin your SConscript/SConstruct?
>>
>> -Bill
>>
>> On Sun, May 22, 2016 at 5:34 PM, mohammed shambakey <shambakey1 at gmail.com
>> > wrote:
>>
>>> Hi
>>>
>>> I'm trying to use ompp (http://ompp-tool.com/) to profile openmp
>>> application with c++. To use ompp, compile/link command must be preceded
>>> with "kinst-ompp" or "kinst-ompp-papi" command (i.e., kinst-ompp-papi g++
>>> -fopenmp hello_world.cpp -o hello_world).
>>>
>>> I wonder if it is possible to modify sconscript file to use
>>> "kinst-ompp-papi g++" instead of just "g++"?
>>>
>>> Regards
>>>
>>> --
>>> Mohammed
>>>
>>> _______________________________________________
>>> Scons-users mailing list
>>> Scons-users at scons.org
>>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>>
>>>
>>
>> _______________________________________________
>> Scons-users mailing list
>> Scons-users at scons.org
>> https://pairlist4.pair.net/mailman/listinfo/scons-users
>>
>>
>
>
> --
> Mohammed
>
> _______________________________________________
> Scons-users mailing list
> Scons-users at scons.org
> https://pairlist4.pair.net/mailman/listinfo/scons-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist4.pair.net/pipermail/scons-users/attachments/20160522/48f85da6/attachment-0001.html>


More information about the Scons-users mailing list