<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>Many be it's the classes with same names in CGM/MOAB/Lasso/MK causing problems in shared builds.<br></span></div><div><span><br></span></div><div><span>CGM's GeometryQueryTool.cpp:1356 create an object </span>CpuTimer timer; and the debugger goes to a CpuTimer class in WriteHDF5.cpp in MOAB. <br></div><div>At this point since_birth() function is called in CpuTimer class and assygen fails with an error: Attempting to use an MPI routine before initializing MPICH<br><span></span></div><div><br><span></span></div><div><span><br></span></div><div><span>#0 CpuTimer (this=0x7fffffffc7f0) at WriteHDF5.cpp:66<br>#1 0x00007ffff5954e9d in GeometryQueryTool::make_Body (this=0x7d16e0, bodysm_ptr=0x7d9110) at GeometryQueryTool.cpp:1356<br>#2 0x00007ffff59060dc in GeometryModifyTool::cylinder (this=0x7d1cc0, hi=40,
r1=1.6000000000000001, r2=1.6000000000000001, r3=1.6000000000000001) at GeometryModifyTool.cpp:637<br>#3 0x00007ffff5e4160e in igeom_createcylinder_ (instance=0x7ffff605ce20, height=40, major_rad=1.6000000000000001, minor_rad=1.6000000000000001, geom_entity=0x7fffffffcc98, err=0x7fffffffde4c) at iGeom_CGMA.cc:5695<br>#4 0x000000000041a347 in CNrgen::CreatePinCell (this=0x7fffffffd6d0, i=1, dX=0, dY=-0, dZ=0) at io.cpp:2480<br>#5 0x00000000004160e0 in CNrgen::Create_CartAssm (this=0x7fffffffd6d0, szInputString=...) at io.cpp:1927<br>#6 0x000000000040c037 in CNrgen::ReadAndCreate (this=0x7fffffffd6d0) at io.cpp:674<br>#7 0x0000000000404c24 in main (argc=1, argv=0x7fffffffdfe8) at assygen.cpp:38</span></div><div> </div><div><font style="font-family: arial,helvetica,sans-serif;" size="2">Rajeev</font><br><br><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; padding-left: 5px;"><div
style="font-family: arial,helvetica,sans-serif; font-size: 10pt;"><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Arial" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Tim Tautges <tautges@mcs.anl.gov><br><b><span style="font-weight: bold;">To:</span></b> Iulian Grindeanu <iulian@mcs.anl.gov><br><b><span style="font-weight: bold;">Cc:</span></b> moab-dev@mcs.anl.gov<br><b><span style="font-weight: bold;">Sent:</span></b> Tuesday, May 24, 2011 11:14 AM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [MOAB-dev] build question<br></font><br>
<br><br>On 05/24/2011 11:08 AM, Iulian Grindeanu wrote:<br>> It is now a static build; I will set the PATH and LD_LIBRARY_PATH to point to the same mpich, and I will let you know<br>> On my laptop (32 bit) works fine too, I am using default mpich from synaptic<br>><br><br>On one of your earlier messages you were specifying --with-mpi=/home/fathom/..., I think for MOAB.<br><br>> I am wondering why the error appears only for cubit-based cgm<br>><br><br>For cubit-based cgm, you'll have at least some shared libs, since that's the only way cubit libs are distributed. Maybe <br>in your non-cubit cgm you have true static libs.<br><br>- tim<br><br>> ----- Original Message -----<br>>> If this is a shared build, then the test file is actually a shell<br>>> script, the actual executable is in the .libs<br>>> directory under that.<br>>><br>>> - tim<br>>><br>>> On 05/24/2011 10:50 AM, Jason Kraftcheck
wrote:<br>>>> On 05/24/2011 10:44 AM, Iulian Grindeanu wrote:<br>>>>><br>>>>><br>>>>> FAIL: partest (exit: 1)<br>>>>> =======================<br>>>>><br>>>>> Attempting to use an MPI routine before initializing MPICH<br>>>>> ...<br>>>>><br>>>>><br>>>>> The debugger will not start, and I don't know which one is called<br>>>>> before MPI_Init<br>>>>><br>>>><br>>>> The debugger will not start? Assuming you figure out what is going<br>>>> on with<br>>>> that, try setting break points in MPI_Comm_rank and MPI_Comm_size.<br>>>> Most<br>>>> codes using MPI call at least one of those before anything else.<br>>>><br>>>> - jason<br>>>><br>>>><br>>><br>>> --<br>>>
================================================================<br>>> "You will keep in perfect peace him whose mind is<br>>> steadfast, because he trusts in you." Isaiah 26:3<br>>><br>>> Tim Tautges Argonne National Laboratory<br>>> (<a ymailto="mailto:tautges@mcs.anl.gov" href="mailto:tautges@mcs.anl.gov">tautges@mcs.anl.gov</a>) (telecommuting from UW-Madison)<br>>> phone: (608) 263-8485 1500 Engineering Dr.<br>>> fax: (608) 263-4499 Madison, WI 53706<br>><br><br>-- <br>================================================================<br>"You will keep in perfect peace him whose mind is<br> steadfast, because he trusts in you." Isaiah 26:3<br><br> Tim Tautges Argonne National Laboratory<br> (<a ymailto="mailto:tautges@mcs.anl.gov"
href="mailto:tautges@mcs.anl.gov">tautges@mcs.anl.gov</a>) (telecommuting from UW-Madison)<br> phone: (608) 263-8485 1500 Engineering Dr.<br> fax: (608) 263-4499 Madison, WI 53706<br><br><br><br></div></div></blockquote></div></div></body></html>