Personal tools
You are here: Home Forum Install & build run error import salome_test

run error import salome_test

Up to Install & build
  • run error import salome_test

    Posted by ArnoldH at January 25. 2006
    Hi,

    I managed to install salome 2.2.2 on fedora  core 4  without error messages from the installer .

    Running the test gives the following error message:
    >>> import salome_test
    Test the application loading  GEOM, SMESH, VISU, MED, components and doing some
    operation within the components.
    ======================================================================
               Get Catalog
    ======================================================================
    ======================================================================
               Create Study
    ======================================================================
    - Trace   :
    component GEOM not found on machine localhost , trying to load

    - Trace   :
    component GEOM_inst_1 launched !

    =================================
           create AttributeReal     
    =================================

     ===========  Test Geometry  ==========================

    ===================================
         define a box
    ===================================

    =============  Test SMESH  =============================

    - Trace   :
    component SMESH not found on machine localhost , trying to load

    - Trace   :
    component SMESH_inst_2 launched !

    Plane_1
    Shell_1
    Edge_1
    -------------------------- create Hypothesis
    -------------------------- LocalLength
    LocalLength
    0
    100.0
    -------------------------- NumberOfSegments
    NumberOfSegments
    1
    7
    -------------------------- MaxElementArea
    MaxElementArea
    2
    2500.0
    -------------------------- MaxElementArea
    MaxElementArea
    3
    500.0
    -------------------------- Regular_1D
    LocalLength
    NumberOfSegments
    StartEndLength
    Deflection1D
    Arithmetic1D
    Regular_1D
    4
    -------------------------- MEFISTO_2D
    MaxElementArea
    LengthFromEdges
    MEFISTO_2D
    5
    -------------------------- add hypothesis to box
    HYP_OK
    HYP_OK
    HYP_OK
    HYP_OK
    -------------------------- add hypothesis to edge
    HYP_OK
    HYP_OK
    -------------------------- add hypothesis to face
    HYP_OK

    =============  Test  Supervisor  =============================

    - Trace   :
    component SUPERV not found on machine localhost , trying to load

    - Trace   :
    component SUPERV_inst_1 launched !

    Load dataflow from the file :
    /opt/salome/SUPERV_2.2.2/examples/GraphGeomEssai.xml

    myGraph.IsValid() =  1
     
    Name           SetStudyID
    ComponentName  GEOM_Superv
    InterfaceName  GEOM_Superv
    Service Name   SetStudyID
        1  input argument(s) :
           0 .  theStudyID   long
        0  output argument(s) :
    KindOfNode FactoryNode
    Creation Date  25 - 1 - 2006   20 : 18 : 23
    Update Date    25 - 1 - 2006   20 : 18 : 23
    Version        2.0
    Author        
    Container      localhost/FactoryServer
    Comment        SetStudyID from GEOM_Superv
    Coords         13   109
     
    Name           MakeSphere
    ComponentName  GEOM_Superv
    InterfaceName  GEOM_Superv
    Service Name   MakeSphere
        4  input argument(s) :
           0 .  theX   double
           1 .  theY   double
           2 .  theZ   double
           3 .  theRadius   double
        1  output argument(s) :
           0 .  return   GEOM_Object
    KindOfNode FactoryNode
    Creation Date  25 - 1 - 2006   20 : 18 : 23
    Update Date    25 - 1 - 2006   20 : 18 : 23
    Version        2.0
    Author        
    Container      localhost/FactoryServer
    Comment        MakeSphere from GEOM_Superv
    Coords         210   49
     
    Name           MakeCopy
    ComponentName  GEOM_Superv
    InterfaceName  GEOM_Superv
    Service Name   MakeCopy
        1  input argument(s) :
           0 .  theOriginal   GEOM_Object
        1  output argument(s) :
           0 .  return   GEOM_Object
    KindOfNode FactoryNode
    Creation Date  25 - 1 - 2006   20 : 18 : 23
    Update Date    25 - 1 - 2006   20 : 18 : 23
    Version        2.0
    Author        
    Container      localhost/FactoryServer
    Comment        MakeCopy from GEOM_Superv
    Coords         412   12
     
    Name           MakeCopy_1
    ComponentName  GEOM_Superv
    InterfaceName  GEOM_Superv
    Service Name   MakeCopy
        1  input argument(s) :
           0 .  theOriginal   GEOM_Object
        1  output argument(s) :
           0 .  return   GEOM_Object
    KindOfNode FactoryNode
    Creation Date  25 - 1 - 2006   20 : 18 : 23
    Update Date    25 - 1 - 2006   20 : 18 : 23
    Version        2.0
    Author        
    Container      localhost/FactoryServer
    Comment        MakeCopy from GEOM_Superv
    Coords         414   183
     
    Name           TranslateDXDYDZ
    ComponentName  GEOM_Superv
    InterfaceName  GEOM_Superv
    Service Name   TranslateDXDYDZ
        4  input argument(s) :
           0 .  theObject   GEOM_Object
           1 .  theDX   double
           2 .  theDY   double
           3 .  theDZ   double
        1  output argument(s) :
           0 .  return   GEOM_Object
    KindOfNode FactoryNode
    Creation Date  25 - 1 - 2006   20 : 18 : 23
    Update Date    25 - 1 - 2006   20 : 18 : 23
    Version        2.0
    Author        
    Container      localhost/FactoryServer
    Comment        TranslateDXDYDZ from GEOM_Superv
    Coords         606   12
     
    Name           MakeFuse
    ComponentName  GEOM_Superv
    InterfaceName  GEOM_Superv
    Service Name   MakeFuse
        2  input argument(s) :
           0 .  theShape1   GEOM_Object
           1 .  theShape2   GEOM_Object
        1  output argument(s) :
           0 .  return   GEOM_Object
    KindOfNode FactoryNode
    Creation Date  25 - 1 - 2006   20 : 18 : 23
    Update Date    25 - 1 - 2006   20 : 18 : 23
    Version        2.0
    Author        
    Container      localhost/FactoryServer
    Comment        MakeFuse from GEOM_Superv
    Coords         801   163
    1
    1
    0
    -1298334800 1 SetStudyID ReadyEvent ReadyState
    0 1 MakeSphere WaitingEvent WaitingState
    0 1 MakeCopy WaitingEvent WaitingState
    0 1 MakeCopy_1 WaitingEvent WaitingState
    0 1 TranslateDXDYDZ WaitingEvent WaitingState
    0 1 MakeFuse WaitingEvent WaitingState
    -1264088144 0 aNewDataFlow ReadyEvent ReadyState
    -1298334800 1 SetStudyID RunningEvent RunningState
    -1264088144 0 aNewDataFlow RunningEvent RunningState
    -1298334800 1 SetStudyID RunningEvent RunningState
    0 1 SetStudyID DoneEvent DoneState
    -1298334800 1 MakeSphere ReadyEvent ReadyState
    -1298334800 1 MakeSphere RunningEvent RunningState
    -1298334800 1 MakeSphere RunningEvent RunningState
    -1298334800 1 MakeSphere DoneEvent DoneState
    0 1 MakeCopy_1 ReadyEvent ReadyState
    -1308824656 1 MakeCopy_1 RunningEvent RunningState
    -1298334800 1 MakeCopy ReadyEvent ReadyState
    -1298334800 1 MakeCopy RunningEvent RunningState
    -1308824656 1 MakeCopy_1 RunningEvent RunningState
    -1298334800 1 MakeCopy RunningEvent RunningState
    0 1 MakeCopy DoneEvent DoneState
    -1298334800 1 TranslateDXDYDZ ReadyEvent ReadyState
    -1298334800 1 TranslateDXDYDZ RunningEvent RunningState
    -1298334800 1 TranslateDXDYDZ RunningEvent RunningState
    0 1 TranslateDXDYDZ DoneEvent DoneState
    Traceback (most recent call last):
      File "", line 1, in ?
      File "/opt/salome/KERNEL_2.2.2/bin/salome/import_hook.py", line 83, in import_hook
        module= original_import(name, globals, locals, fromlist)
      File "/opt/salome/KERNEL_2.2.2/bin/salome/salome_test.py", line 304, in ?
        aStatus,aNode,anEvent,aState = myGraph.Event()
      File "/opt/salome/SUPERV_2.2.2/bin/salome/SuperV.py", line 916, in Event
        sts,aNode,anEvent,aState = self.G.Event()
      File "/opt/salome/SUPERV_2.2.2/lib/python2.2/site-packages/salome/SUPERV_idl.py", line 1394, in Event
        return _omnipy.invoke(self, "Event", _0_SUPERV.Graph._d_Event, args)
    omniORB.CORBA.COMM_FAILURE: Minor: 111, Completed: COMPLETED_NO.

    Can anybody help?

    regards,

    Arnold
    • Re: run error import salome_test

      Posted by Christophe Bourcier at January 26. 2006
      Hi

      It seems that Salome crashed during the test of the SUPERV module.

      You can try to run this test in the GUI:

      - launch SUPERV
      - click on the icon "modify dataflow"
      - select the file " /opt/salome/SUPERV_2.2.2/examples/GraphGeomEssai.xml"
      - click on the icon "run dataflow"

      If it doesn't work, try to install SALOME 2.2.8. SUPERV_2.2.8 is more stable.

      Cheers,

      Christophe
      • Re: run error import salome_test

        Posted by ArnoldH at January 26. 2006

        Hi Christophe,

        thanks for the swift response. I already installed salome 2.2.8 but the same problem occurs. I will now try your proposal.

        regards,

        arnold

      • Re: run error import salome_test

        Posted by Sergey Mozokhin at January 27. 2006
        Christophe Bourcier wrote:
        Hi

        It seems that Salome crashed during the test of the SUPERV module.

        You can try to run this test in the GUI:

        - launch SUPERV
        - click on the icon "modify dataflow"
        - select the file " /opt/salome/SUPERV_2.2.2/examples/GraphGeomEssai.xml"
        - click on the icon "run dataflow"

        If it doesn't work, try to install SALOME 2.2.8. SUPERV_2.2.8 is more stable.

        Cheers,

        Christophe


        Hello Christone,

        At the current moment we found that GEOM module funcitonality is not thread safe, and can not be used in parrallel from different thread.

        salome_test script use SUPERVISOR schema which call geom funcitonality in parallel nodes. On quite new hardware this leads to concurent access to some data in GEOM and leads to abort of execution. It is the described case here.

        Currently we made workarround for this case and use in salome_test script only consecutive GEOM nodes. This has already in development branch.

        There is plan to improve GEOM to be thread safe.

        Regards,

        Sergey.

        • Re: run error import salome_test

          Posted by ArnoldH at January 27. 2006

          Dear both,

          thanks for the info. Please keep me informed!

          Regards,

          Arnold

Powered by Ploneboard
Document Actions