<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><span>I see line 788 as blank on the current version in the repo: <a target="_blank" href="http://trac.mcs.anl.gov/projects/fathom/browser/MeshKit/trunk/rgg/io.cpp">http://trac.mcs.anl.gov/projects/fathom/browser/MeshKit/trunk/rgg/io.cpp</a></span><br>Are you upto-date or do you have local modifications?<br>Try deleting io.cpp and restoring it.<br><div> </div><font style="font-family: arial,helvetica,sans-serif;" size="2">Rajeev</font><br><div><br></div><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Jiangtao Hu <jiangtao_ma@yahoo.com><br><b><span style="font-weight: bold;">To:</span></b> Hong-Jun
Kim <hongjun@mcs.anl.gov><br><b><span style="font-weight: bold;">Cc:</span></b> cgma-dev@mcs.anl.gov<br><b><span style="font-weight: bold;">Sent:</span></b> Monday, February 28, 2011 11:35:13<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [cgma-dev] Large OCC subtraction time<br></font><br><table border="0" cellpadding="0" cellspacing="0"><tbody><tr><td style="font: inherit;" valign="top">Errors are:<br><br>make[3]: Entering directory `/mnt/disk2b/jhu/meshkit/rgg'<br> CXX io.lo<br>io.cpp: In member function ‘int CNrgen::ReadInputPhase1()’:<br>io.cpp:165: warning: suggest parentheses around ‘&&’ within ‘||’<br>io.cpp:172: warning: suggest parentheses around ‘&&’ within ‘||’<br>io.cpp: In member function ‘int CNrgen::ReadAndCreate()’:<br>io.cpp:528: warning: suggest parentheses around ‘&&’ within ‘||’<br>io.cpp:788: error: expected primary-expression
before ‘<<’ token<br>io.cpp:788: error: expected primary-expression before ‘<<’ token<br>io.cpp:788: error: expected primary-expression before ‘<<’ token<br>io.cpp:788: error: expected primary-expression before ‘<’ token<br>io.cpp:788: error: expected primary-expression before ‘.’
token<br>io.cpp:791: error: expected primary-expression before ‘==’ token<br>io.cpp:791: error: expected primary-expression before ‘==’ token<br>io.cpp:791: error: expected primary-expression before ‘=’ token<br>io.cpp:793: error: expected primary-expression before ‘if’<br>io.cpp:793: error: expected ‘;’ before ‘if’<br>io.cpp: In member function ‘int CNrgen::CreateCubitJournal()’:<br>io.cpp:833: warning: unused variable ‘i’<br>io.cpp:833: warning: unused variable ‘j’<br>io.cpp: In member function ‘int CNrgen::CreateOuterCovering()’:<br>io.cpp:2017: warning: unused variable ‘p’<br>io.cpp: In member function ‘int CNrgen::Subtract_Pins()’:<br>io.cpp:2088: error: expected primary-expression before ‘<<’ token<br>io.cpp:2088: error: expected primary-expression before ‘<<’ token<br>io.cpp:2088: error: expected primary-expression before ‘<<’ token<br>io.cpp:2088: error: expected
primary-expression before ‘<’ token<br>io.cpp:2088: error: expected primary-expression before ‘.’ token<br>io.cpp:2090: error: expected ‘;’ before ‘if’<br>io.cpp:2873: error: expected ‘}’ at end of input<br>io.cpp:2873: error: expected ‘}’ at end of input<br>io.cpp:2873: warning: no return statement in function returning non-void<br><br>Thanks.<br><br>Jane<br>--- On <b>Mon, 2/28/11, Hong-Jun Kim <i><hongjun@mcs.anl.gov></i></b> wrote:<br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><br>From: Hong-Jun Kim <hongjun@mcs.anl.gov><br>Subject: Re: [cgma-dev] Large OCC subtraction time<br>To: "Jiangtao Hu" <jiangtao_ma@yahoo.com><br>Cc: cgma-dev@mcs.anl.gov<br>Date: Monday, February 28, 2011, 12:31 PM<br><br><div class="plainMail">What is your error?<br><br>Hong-Jun<br><br>----- Original Message -----<br>> From: "Jiangtao Hu" <<a
rel="nofollow">jiangtao_ma@yahoo.com</a>><br>> To: "Hong-Jun Kim" <<a rel="nofollow">hongjun@mcs.anl.gov</a>><br>> Cc: <a rel="nofollow">cgma-dev@mcs.anl.gov</a><br>> Sent: Monday, February 28, 2011 11:15:51 AM<br>> Subject: Re: [cgma-dev] Large OCC subtraction time<br>> Ok, now I also updated and make installed Lasso, but meshkit still<br>> fails to build. Any suggestions.<br>> <br>> Jane<br>> <br>> --- On Mon, 2/28/11, Jiangtao Hu <<a rel="nofollow">jiangtao_ma@yahoo.com</a>> wrote:<br>> <br>> <br>> <br>> From: Jiangtao Hu <<a rel="nofollow">jiangtao_ma@yahoo.com</a>><br>> Subject: Re: [cgma-dev] Large OCC subtraction time<br>> To: "Hong-Jun Kim" <<a rel="nofollow">hongjun@mcs.anl.gov</a>><br>> Cc: <a rel="nofollow">cgma-dev@mcs.anl.gov</a><br>> Date: Monday, February 28, 2011, 12:08 PM<br>> <br>> <br>> Hi,<br>> <br>> I just tried to build meshkit, with the
following configure:<br>> <br>> ./configure --enable-debug --with-itaps=/mnt/disk2b/jhu/ddriv<br>> <br>> it failed on compiling EdgeMesher<br>> make[3]: Entering directory `/mnt/disk2b/jhu/meshkit/algs'<br>> CXX EdgeMesher.lo<br>> In file included from EdgeMesher.cpp:1:<br>> EdgeMesher.hpp:16:18: error: iRel.h: No such file or directory<br>> In file included from EdgeMesher.cpp:1:<br>>
EdgeMesher.hpp:40: error: ‘iRel_Instance’ has not been declared<br>> EdgeMesher.hpp:40: error: ‘iRel_PairHandle’ has not been declared<br>> In file included from EdgeMesher.cpp:1:<br>> EdgeMesher.hpp:57: error: ‘iRel_Instance’ does not name a type<br>> EdgeMesher.hpp:58: error: ‘iRel_PairHandle’ does not name a type<br>> EdgeMesher.cpp:5: error: ‘iRel_Instance’ has not been declared<br>> EdgeMesher.cpp:5: error: ‘iRel_PairHandle’ has not been declared<br>> EdgeMesher.cpp: In constructor<br>> ‘EdgeMesher::EdgeMesher(iGeom_Instance_Private*&,<br>> iBase_EntityHandle_Private**, iMesh_Instance_Private*&, int&, int*)’:<br>> EdgeMesher.cpp:31: error: ‘assoc’ was not declared in this scope<br>> EdgeMesher.cpp:32: error: ‘rel’ was not declared in this scope<br>> EdgeMesher.cpp: In member function ‘void EdgeMesher::EdgeMesh()’:<br>> EdgeMesher.cpp:120: warning: unused
variable ‘NumEntitySet’<br>> EdgeMesher.cpp: In member function ‘std::vector<double,<br>> std::allocator<double> > EdgeMesher::BiasMeshing()’:<br>> EdgeMesher.cpp:203: warning: unused variable ‘err’<br>> EdgeMesher.cpp:204: warning: unused variable ‘x’<br>> EdgeMesher.cpp:204: warning: unused variable ‘y’<br>> EdgeMesher.cpp:204: warning: unused variable ‘z’<br>> EdgeMesher.cpp:204: warning: unused variable ‘du’<br>> EdgeMesher.cpp: In member function ‘std::vector<double,<br>> std::allocator<double> > EdgeMesher::DualBiasMeshing()’:<br>> EdgeMesher.cpp:250: warning: unused variable ‘err’<br>> EdgeMesher.cpp:251: warning: unused variable ‘x’<br>> EdgeMesher.cpp:251: warning: unused variable ‘y’<br>> EdgeMesher.cpp:251: warning: unused variable ‘z’<br>> EdgeMesher.cpp:251: warning: unused variable ‘ustart’<br>> EdgeMesher.cpp:251:
warning: unused variable ‘du’<br>> EdgeMesher.cpp: In member function ‘void<br>> EdgeMesher::RapidSorting(std::vector<double, std::allocator<double><br>> >&, std::vector<double, std::allocator<double> >&, int, int)’:<br>> EdgeMesher.cpp:433: warning: unused variable ‘x’<br>> EdgeMesher.cpp:433: warning: unused variable ‘y’<br>> EdgeMesher.cpp:433: warning: unused variable ‘z’<br>> EdgeMesher.cpp: In member function ‘void<br>> EdgeMesher::get_related_entityset(iBase_EntitySetHandle_Private*&)’:<br>> EdgeMesher.cpp:591: error: ‘assoc’ was not declared in this scope<br>> EdgeMesher.cpp:591: error: ‘rel’ was not declared in this scope<br>> EdgeMesher.cpp:591: error: ‘iRel_getEntSetRelation’ was not declared<br>> in this scope<br>> EdgeMesher.cpp:607: error: ‘iRel_setEntSetRelation’ was not declared<br>> in this scope<br>> EdgeMesher.cpp:
In member function ‘void EdgeMesher::ShowCoorData()’:<br>> EdgeMesher.cpp:619: error: ‘assoc’ was not declared in this scope<br>> EdgeMesher.cpp:619: error: ‘rel’ was not declared in this scope<br>> EdgeMesher.cpp:619: error: ‘iRel_getEntSetRelation’ was not declared<br>> in this scope<br>> <br>> I've updated cgm, moab and meshkit, and built, installed cgm and moab,<br>> did I left something out?<br>> <br>> Thanks.<br>> <br>> Jane<br>> --- On Sat, 2/26/11, Hong-Jun Kim <<a rel="nofollow">hongjun@mcs.anl.gov</a>> wrote:<br>> <br>> <br>> <br>> From: Hong-Jun Kim <<a rel="nofollow">hongjun@mcs.anl.gov</a>><br>> Subject: Re: [cgma-dev] Large OCC subtraction time<br>> To: "Jiangtao Hu" <<a rel="nofollow">jiangtao_ma@yahoo.com</a>><br>> Cc: <a rel="nofollow">cgma-dev@mcs.anl.gov</a>, "Rajeev Jain" <<a rel="nofollow">jain@mcs.anl.gov</a>><br>> Date: Saturday,
February 26, 2011, 12:22 PM<br>> <br>> <br>> In my case of using OCC geometry, attribute updating and removing time<br>> take too long.<br>> It takes more than import/exporting time of the geometry.<br>> <br>> Hong-Jun<br>> <br>> ----- Original Message -----<br>> > From: "Jiangtao Hu" < <a rel="nofollow">jiangtao_ma@yahoo.com</a> ><br>> > To: <a rel="nofollow">cgma-dev@mcs.anl.gov</a> , "Rajeev Jain" < <a rel="nofollow">jain@mcs.anl.gov</a> ><br>> > Sent: Saturday, February 26, 2011 11:08:37 AM<br>> > Subject: Re: [cgma-dev] Large OCC subtraction time<br>> > Hi, Rajeev:<br>> ><br>> > Thank you for providing the testcase. OCC did have a reputation of<br>> > getting much slower with larger models and more operations. I'll<br>> > have<br>> > a look on Monday to see if there's anything I can do on cgm side<br>> > that<br>> > can speed it
up.<br>> ><br>> > Have a nice weekend!<br>> ><br>> > Jane<br>> ><br>> > --- On Fri, 2/25/11, Rajeev Jain < <a rel="nofollow">jain@mcs.anl.gov</a> > wrote:<br>> ><br>> ><br>> ><br>> > From: Rajeev Jain < <a rel="nofollow">jain@mcs.anl.gov</a> ><br>>
> Subject: [cgma-dev] Large OCC subtraction time<br>> > To: <a rel="nofollow">cgma-dev@mcs.anl.gov</a><br>> > Date: Friday, February 25, 2011, 4:21 PM<br>> ><br>> ><br>> ><br>> > When subtracting 325 pins from a block, OCC takes a lot more time<br>> > than<br>> > the corresponding ACIS model. I'm attaching the assygen .inp that<br>> > can<br>> > be run as MeshKit/rgg>assygen 7. This file is for OCC version of<br>> > MeshKit. For ACIS change the geometry engine to ACIS in the .inp<br>> > file<br>> > and run ACIS version.<br>> ><br>> > RGG o/p:<br>> ><br>> > ACIS:<br>> ><br>> > Normal Termination.<br>> > Geometry file: 7.sat saved.<br>> > Schemes file created: 7.template.jou<br>> > Cubit journal file created: 7.jou<br>> > Ending at : Fri Feb 25
15:10:31 2011<br>> > Elapsed wall clock time: 8 seconds or 0.133333 mins<br>> ><br>> ><br>> > OCC:<br>> ><br>> > Exported: 327 OCC Bodies to 7.stp<br>> ><br>> > Normal Termination.<br>> > Geometry file: 7.stp saved.<br>> > Schemes file created: 7.template.jou<br>> > Cubit journal file created: 7.jou<br>> > Ending at : Fri Feb 25 14:59:51 2011<br>> > Elapsed wall clock time: 3173 seconds or 52.8833 mins<br>> ><br>> > The geometry files can be found at<br>> > /homes/jain/MeshKit-all/trunk/rgg/test/geometry_parallel_meshing/7.stp<br>> > and 7.sat<br>> ><br>> > Rajeev<br></div></blockquote></td></tr></tbody></table><br>
</div></div>
</div><br></body></html>