[brite-users] about running BRITE under windows

rick_whitner@agilent.com rick_whitner@agilent.com
Tue Jul 1 19:02:01 2003


This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------=_NextPartTM-000-98bb2b4c-ab03-4b5c-8e09-a5bec4590c03
Content-Type: multipart/alternative;
	boundary="----_=_NextPart_001_01C34024.B8ADBE4F"

------_=_NextPart_001_01C34024.B8ADBE4F
Content-Type: text/plain;
	charset="ISO-8859-1"

It was fairly straightforward to get a Java version running on Windows.  Primarily need to modify Makefiles and scipts to use the Windows path separators in classpath statements (replace ":" with "\;").  Need to make a similar change in the code for $BRITE/GUI/Brite.java, in runExecutable()  (where $BRITE is the folder in which you unpacked the BRITE sources).  $BRITE/Java/Makefile needs to have "Topology/*.java" added to the "all:" rule.  I think that captures the changes I made.  It seems to work fine, but I haven't verified it to any significant extent.  I encounter out of memory errors on large topologies (e.g., hierarchical topologies).
 
Building the C++ version on Windows is less straightforward.  The release code uses a random number generation scheme that is deprecated (based on erand48) and not supported by Microsoft VC++ (which I'm using--I guess you could try your hand with cygwin, I ran into other problems when I tried it), so an alternative random number generation implementation scheme is required.  You can follow the general scheme used by the Java implementation, which is based on the Random class.  See $BRITE/Java/Util/RandomGenManager.java and $BRITE/Java/Model/Distribution.java.
 
Rick Whitner
Communications Solutions Department
Agilent Laboratories
           
Agilent Technologies, Inc.
4380 Ziegler Rd, MS 16
Fort Collins, CO  80525  USA

Tele:   970-288-3821
Fax:    970-288-4234
E-Mail: rick_whitner@agilent.com      
http://www.agilent.com <http://www.agilent.com/> 

-----Original Message-----
From: Danyang Zhang [mailto:dzhang@cs.ua.edu]
Sent: Tuesday, July 01, 2003 3:59 PM
To: brite-users@cs.bu.edu
Subject: [brite-users] about running BRITE under windows



Hi, 

 

Has anybody successfully run BRITE under Windows? If so, 

would you please let me know how to generate topology under

windows and how to export the result topology as visible graph?

 

Thanks and have a nice day!

 

Sincerely,

Danyang Zhang

 

 

 


------_=_NextPart_001_01C34024.B8ADBE4F
Content-Type: text/html;
	charset="ISO-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1">


<META content="MSHTML 6.00.2800.1170" name=GENERATOR>
<STYLE>@font-face {
	font-family: SimSun;
}
@font-face {
	font-family: @SimSun;
}
@page Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; }
P.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
LI.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
DIV.MsoNormal {
	FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman"
}
A:link {
	COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
	COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
	COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
	COLOR: windowtext; FONT-FAMILY: Arial
}
DIV.Section1 {
	page: Section1
}
</STYLE>
</HEAD>
<BODY lang=EN-US vLink=purple link=blue>
<DIV><SPAN class=756063122-01072003><FONT face=Arial color=#0000ff size=2>It was 
fairly straightforward to get a Java version running on Windows.&nbsp; Primarily 
need to modify Makefiles and scipts to use the Windows path separators in 
classpath&nbsp;statements (replace ":" with "\;").&nbsp; Need to make a similar 
change in the code for $BRITE/GUI/Brite.java, in runExecutable()&nbsp; (where 
$BRITE is the folder in which you unpacked the BRITE sources).&nbsp; 
$BRITE/Java/Makefile needs to have "Topology/*.java" added to the "all:" 
rule.&nbsp; I think that captures the changes I made.&nbsp; It seems to work 
fine, but I haven't verified it to any significant extent.&nbsp; I encounter out 
of memory errors on large topologies (e.g., hierarchical 
topologies).</FONT></SPAN></DIV>
<DIV><SPAN class=756063122-01072003><FONT face=Arial color=#0000ff 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=756063122-01072003><FONT face=Arial color=#0000ff 
size=2>Building the C++ version on Windows is less straightforward.&nbsp; The 
release code uses a random number generation scheme that is deprecated (based on 
erand48) and not&nbsp;supported by Microsoft VC++ (which I'm using--I guess you 
could try your hand with&nbsp;cygwin, I ran into other problems when I tried 
it), so an alternative random number generation implementation scheme is 
required.&nbsp; You can follow the general scheme used by the Java 
implementation, which is based on the Random class.&nbsp; See 
$BRITE/Java/Util/RandomGenManager.java and 
$BRITE/Java/Model/Distribution.java.</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV><FONT size=2>Rick Whitner<BR>Communications Solutions Department<BR>Agilent 
Laboratories<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR>Agilent 
Technologies, Inc.<BR>4380 Ziegler Rd, MS 16<BR>Fort Collins, CO&nbsp; 
80525&nbsp; USA<BR><BR>Tele:&nbsp;&nbsp; 970-288-3821<BR>Fax:&nbsp;&nbsp;&nbsp; 
970-288-4234<BR>E-Mail: 
rick_whitner@agilent.com&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<BR><A 
href="http://www.agilent.com/" 
target=_blank>http://www.agilent.com</A><BR></DIV></FONT>
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
size=2>-----Original Message-----<BR><B>From:</B> Danyang Zhang 
[mailto:dzhang@cs.ua.edu]<BR><B>Sent:</B> Tuesday, July 01, 2003 3:59 
PM<BR><B>To:</B> brite-users@cs.bu.edu<BR><B>Subject:</B> [brite-users] about 
running BRITE under windows<BR><BR></FONT></DIV>
<DIV class=Section1>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi, </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Has anybody successfully run BRITE 
under Windows? If so, </SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">would you please let me know how to 
generate topology under</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">windows and how to export the result 
topology as visible graph?</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Thanks and have a nice 
day!</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Sincerely,</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Danyang Zhang</SPAN></FONT></P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P>
<P class=MsoNormal><FONT face=Arial size=2><SPAN 
style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></SPAN></FONT>&nbsp;</P></DIV></BODY></HTML>

------_=_NextPart_001_01C34024.B8ADBE4F--

------=_NextPartTM-000-98bb2b4c-ab03-4b5c-8e09-a5bec4590c03--