« Return to Thread: Repast 2.0 with terracotta?

Re: Re past 2.0 with terracotta?

by Altaweel, Mark R. :: Rate this Message:

| View in Thread

Terracotta has in its DSO a way to monitor remote nodes. Can you activate this to see if the remote nodes are in fact connected to your process?

Mark


On Mar 24, 2011, at 4:43 PM, charlie1kimo wrote:

>
> Hi Mark,
> I believed I went through this documentation already, and I indeed launch
> terracotta DSO client (the repast simulation with terracotta) from eclipse
> editor.
> I somehow got it to run with the single JVM thread, with a weird setup of
> contextWrapper including all my subContexts. Then I share the overall
> context. The hierarchy is like this...
> context -> contextWrapper -> subContext1, subContext2, subContext3 -> agents
> under 1,2,or 3
>
> The question is I cannot tell whether the simulation is really parallelized
> or not.
> I create a StartRWorkers class that simply copy the source code from
> repast.simphony.terracotta.datagrid.StartWorkers, but with one static main
> function so I can launch this work JVM thread separately.
> I then configured the master (which is the JVM thread that launch the
> simulation), and workers to read the different routing IDs that I ran from
> StartRWorkers. I can see that all my JVM threads are connected to the
> terracotta server.
>
> But the simulation performance doesn't have any significant improvement...
>
> To test it, I've turned off all files I/O, so it really should be CPU
> only...
> Is there a way, or functions that I can verify the communications between
> workers and master really work? I doubted that there is something weird in
> the implementations...
>
> Thanks all the replies that people had given...I really appreciated them...
>
> -Charlie-
>
>
> Altaweel, Mark R. wrote:
>>
>> Hi,
>>
>> Yes, these documents should be in the main repast site.
>>
>> Here is the link:
>> http://repast.sourceforge.net/docs/reference/SIM/Running%20Terracotta%20on%20a%20Repast%20Simphony%20Project.html
>>
>> Mark
>> ________________________________________
>> From: charlie1kimo [ChenYiChen@...]
>> Sent: Tuesday, March 22, 2011 1:04 PM
>> To: repast-interest@...
>> Subject: Re: [Repast-interest] Re         past 2.0 with terracotta?
>>
>> Hi Mark,
>> Did you mean launching terracotta within Repast?
>> I am not sure how to do that, and I also don't know how to run Repast
>> simulation without a Repast GUI interface.
>> Is there any documentations or tips?
>>
>> Thanks
>>
>> -Charlie-
>>
>>
>> Altaweel, Mark R. wrote:
>>>
>>> Did you try launching terracotta using a ts-config terracotta launch
>>> within Repast rather than the GUI? I believe this is discussed in the
>>> documentation. The terracotta launch has the benefit of launching a
>>> terracotta process and then the repast application.
>>>
>>> Mark
>>> On Mar 2, 2011, at 7:23 PM, charlie1kimo wrote:
>>>
>>>>
>>>> I decided to approach this multi-threading idea in Repast in a different
>>>> way.
>>>> Now instead of using agents as workItems, I would like to make different
>>>> subContexts as workItems.
>>>> So my ideal setup would be like this:
>>>>
>>>> Main Context ->   SubContext1  -> agents...
>>>> (thread manager,  (thread #2)
>>>> thread #1)      ->   SubContext2  -> agents...
>>>>                         (thread #3)
>>>>
>>>> Is there a easier way than setting up terracotta to achieve this
>>>> organization?
>>>> or terracotta should be simple enough?
>>>>
>>>> Lastly, I am still having problem with terracotta.
>>>> I setuped my tc-config.xml so that I shared my workItems List along with
>>>> everything under different subContexts.
>>>> but then when I started the program with terracotta under eclipse:
>>>> I got:
>>>> WARN  [main] 2011-03-02 16:35:40,849 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: player_play, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,858 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: player_pause, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,859 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: player_stop, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,860 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: player_step, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,860 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: project_open, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,861 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: filesave, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,872 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: reload, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,873 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: configure, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,873 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: exec, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,874 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: folder, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,875 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: folder_open, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,875 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: camera, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,876 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: movie, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,876 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: chart, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,877 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: database, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,878 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: display, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,878 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: info_viz, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,879 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: kudesigner, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,880 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: lockstart_session, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,880 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: leaf, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,881 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: edit, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,882 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: home, it will not be used.
>>>> WARN  [main] 2011-03-02 16:35:40,883 repast.simphony.ui.RSGUIConstants -
>>>> Error loading: info, it will not be used.
>>>>
>>>> I am thinking these errors make the GUI button useless, so I pressed
>>>> "step,"
>>>> the simulation doesn't change. However, the time tickle count does
>>>> increment. Weird.
>>>>
>>>> Anyone knows what's going on here???
>>>>
>>>> Thanks
>>>>
>>>> -Charlie-
>>>> --
>>>> View this message in context:
>>>> http://old.nabble.com/Repast-2.0-with-terracotta--tp30592413p31055477.html
>>>> Sent from the repast-interest mailing list archive at Nabble.com.
>>>>
>>>>
>>>> ------------------------------------------------------------------------------
>>>> Free Software Download: Index, Search & Analyze Logs and other IT data
>>>> in
>>>> Real-Time with Splunk. Collect, index and harness all the fast moving IT
>>>> data
>>>> generated by your applications, servers and devices whether physical,
>>>> virtual
>>>> or in the cloud. Deliver compliance at lower cost and gain new business
>>>> insights. http://p.sf.net/sfu/splunk-dev2dev
>>>> _______________________________________________
>>>> Repast-interest mailing list
>>>> Repast-interest@...
>>>> https://lists.sourceforge.net/lists/listinfo/repast-interest
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> Free Software Download: Index, Search & Analyze Logs and other IT data in
>>> Real-Time with Splunk. Collect, index and harness all the fast moving IT
>>> data
>>> generated by your applications, servers and devices whether physical,
>>> virtual
>>> or in the cloud. Deliver compliance at lower cost and gain new business
>>> insights. http://p.sf.net/sfu/splunk-dev2dev
>>> _______________________________________________
>>> Repast-interest mailing list
>>> Repast-interest@...
>>> https://lists.sourceforge.net/lists/listinfo/repast-interest
>>>
>>>
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Repast-2.0-with-terracotta--tp30592413p31212484.html
>> Sent from the repast-interest mailing list archive at Nabble.com.
>>
>>
>> ------------------------------------------------------------------------------
>> Enable your software for Intel(R) Active Management Technology to meet the
>> growing manageability and security demands of your customers. Businesses
>> are taking advantage of Intel(R) vPro (TM) technology - will your software
>> be a part of the solution? Download the Intel(R) Manageability Checker
>> today! http://p.sf.net/sfu/intel-dev2devmar
>> _______________________________________________
>> Repast-interest mailing list
>> Repast-interest@...
>> https://lists.sourceforge.net/lists/listinfo/repast-interest
>>
>> ------------------------------------------------------------------------------
>> Enable your software for Intel(R) Active Management Technology to meet the
>> growing manageability and security demands of your customers. Businesses
>> are taking advantage of Intel(R) vPro (TM) technology - will your software
>> be a part of the solution? Download the Intel(R) Manageability Checker
>> today! http://p.sf.net/sfu/intel-dev2devmar
>> _______________________________________________
>> Repast-interest mailing list
>> Repast-interest@...
>> https://lists.sourceforge.net/lists/listinfo/repast-interest
>>
>>
>
> --
> View this message in context: http://old.nabble.com/Repast-2.0-with-terracotta--tp30592413p31234278.html
> Sent from the repast-interest mailing list archive at Nabble.com.
>
>
> ------------------------------------------------------------------------------
> Enable your software for Intel(R) Active Management Technology to meet the
> growing manageability and security demands of your customers. Businesses
> are taking advantage of Intel(R) vPro (TM) technology - will your software
> be a part of the solution? Download the Intel(R) Manageability Checker
> today! http://p.sf.net/sfu/intel-dev2devmar
> _______________________________________________
> Repast-interest mailing list
> Repast-interest@...
> https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------
Enable your software for Intel(R) Active Management Technology to meet the
growing manageability and security demands of your customers. Businesses
are taking advantage of Intel(R) vPro (TM) technology - will your software
be a part of the solution? Download the Intel(R) Manageability Checker
today! http://p.sf.net/sfu/intel-dev2devmar
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

 « Return to Thread: Repast 2.0 with terracotta?