[Scons-users] ompp and scons script
Bill Deegan
bill at baddogconsulting.com
Tue May 24 00:06:43 EDT 2016
Not very efficient.
If they all need to build, you can have SConstruct run them all.
SCons will figure out a correct ordering based on dependencies..
-Bill
On Mon, May 23, 2016 at 9:03 PM, mohammed shambakey <shambakey1 at gmail.com>
wrote:
> Dear Bill
>
> Thank you very much. Actually, I had the software from someone else, and
> these sconstruct files run one after the other.
>
> Regards
>
> On Sun, May 22, 2016 at 10:56 PM, Bill Deegan <bill at baddogconsulting.com>
> wrote:
>
>> 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
>>>
>>>
>>
>> _______________________________________________
>> 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/20160523/61c727f5/attachment-0001.html>
More information about the Scons-users
mailing list