|
From: Kashif Z. <ka...@pe...> - 2011-07-26 08:29:46
|
Hello John
I ran rumor model both in compiled form and when I compiled it using VS. It
running perfect. For zombie_model, even the compiled example (with given
props files) is giving the same access violation error.
So it can be concluded that there is some problem with parallelism in zombie
model when it is running on my system. I do not know what?
With Best Regards.
---
Kashif Zia
PhD Candidate
Institut für Pervasive Computing, Johannes Kepler Universität Linz,
Altenberger Straße 69, A-4040 Linz
Room: P105, Phone: +43-732-2468-9673, Fax: +43-732-2468-8426
E-Mail: ka...@pe...
-----Original Message-----
From: Murphy, John T. [mailto:jtm...@an...]
Sent: Tuesday, July 26, 2011 3:30 AM
To: rep...@li...
Subject: Re: [Repast-interest] Extending Patch class in Repast HPC
Kashif,
You should be able to run with the /np 4 switch even on a machine with only
two processors; the additional processes are run as separate threads. It
won't be as fast as on a machine with 4 independent processors, but it
should run.
That said, the proc.per.x and proc.per.y properties in the Zombies model
have to match the number of processes when they are multiplied, not added.
The properties indicate the number of processes in the 'x' and 'y'
directions in the model's space; 2 x 2 = 4, 2 x 4 = 8, etc., are valid, but
the last settings you say you used, proc.per.x = 1, proc.per.y = 1, /np 2
are not.
I'll have to check on the error tomorrow. There is no actual error shown in
the text you sent. Could you re-send? Or you can wait until your cluster is
installed and try again then.
Best,
John
John T. Murphy, PhD, M.A. Ed.
Computational Postdoctoral Fellow
Argonne National Laboratory
jtm...@an...
________________________________________
From: Kashif Zia [ka...@pe...]
Sent: Monday, July 25, 2011 7:49 AM
To: Murphy, John T.; rep...@li...
Subject: RE: [Repast-interest] Extending Patch class in Repast HPC
Hello John
My error remains there.
About number of processors, it seems to be reason. Unfortunately I only can
use my own system with 2 processors right now. With switch np = 4, the
following error is generated:
> simple_following_model.exe!std::vector<double,std::allocator<double>
>::size() Line 879 + 0x6 bytes C++
simple_following_model.exe!std::vector<double,std::allocator<double>
>::operator[](unsigned int _Pos=0) Line 914 + 0x8 bytes C++
simple_following_model.exe!repast::Point<double>::operator[](unsigned int
index=0) Line 206 C++
simple_following_model.exe!repast::relogo::RelogoAgent::xCor() Line
51 + 0xd bytes C++
simple_following_model.exe!InitializeTarget::operator()(AmI *
device=0x02544e00) Line 25 + 0x8 bytes C++
simple_following_model.exe!repast::relogo::AgentSet<AmI>::apply<InitializeTa
rget>(const InitializeTarget & func={...}) Line 412 + 0x13 bytes C++
simple_following_model.exe!FollowingObserver::initializeAmIDir()
Line 56 + 0x34 bytes C++
simple_following_model.exe!FollowingObserver::setup(repast::Properties
props={...}) Line 92 C++
simple_following_model.exe!repast::relogo::SimulationRunner::run<FollowingOb
server,patchExt>(repast::Properties & props={...}) Line 117 C++
simple_following_model.exe!runFollowing(std::basic_string<char,std::char_tra
its<char>,std::allocator<char> > propsFile="zombie.props") Line 35 C++
simple_following_model.exe!main(int argc=3, char * *
argv=0x009860b8) Line 55 + 0x1f bytes C++
simple_following_model.exe!__tmainCRTStartup() Line 555 + 0x19
bytes C
simple_following_model.exe!mainCRTStartup() Line 371 C
kernel32.dll!7c817077()
[Frames below may be incorrect and/or missing, no symbols loaded for
kernel32.dll]
simple_following_model.exe!std::_Vector_const_iterator<std::_Vector_val<AmI
*,std::allocator<AmI *> > >::_Compat(const
std::_Vector_const_iterator<std::_Vector_val<AmI *,std::allocator<AmI *> > >
& _Right=...) Line 241 + 0x2 bytes C++
I also tried it with /np 2 changing the 'proc.per.x = 1' and 'proc.per.y =
1'. But it does not work.
Our cluster facility is getting ready; installation etc. As soon as I get it
running on that facility, I will let you know.
Thanks for consistent support.
Best Regards.
---
Kashif Zia
PhD Candidate
Institut für Pervasive Computing, Johannes Kepler Universität Linz,
Altenberger Straße 69, A-4040 Linz
Room: P105, Phone: +43-732-2468-9673, Fax: +43-732-2468-8426
E-Mail: ka...@pe...
----------------------------------------------------------------------------
--
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Repast-interest mailing list
Rep...@li...
https://lists.sourceforge.net/lists/listinfo/repast-interest
|