RE: run time created geometry Fixed...

New Message Reply Date view Thread view Subject view Author view

From: Mark Ippolito (mippolito++at++paradigmsim.com)
Date: 01/13/2000 08:13:22


Stefano,

      If your code is working correctly in Single Threaded mode, then it is
most likely that when running in MP mode one of your threads does not have
visibility to the node in question. In order to assure that all threads
have visibility to structures you wish to share among them, the structures
should be instantiated after vgInitSys but before vgConfigSys (as vgInitSys
sets up the Shared Arenas and vgConfigSys spawns threads for app, cull,
draw, etc...). Assure that the memory allocated for the structure is being
malloc'd from the Shared arena.

In Code:

vgInitSys();

data = (MySharedData *)vgMalloc( sizeof( *data ), vgGetSharedArena() );
         
vgDefineSys( "Your.adf" );

Best Regards,

        Mark Ippolito
        Customer Advocacy Engineer
        Multigen-Paradigm Inc.
        (972) 960-2301 x252
        support++at++paradigmsim.com

You Wrote:
===============================================
> -----Original Message-----
> From: Stefano Mottura [SMTP:mottura++at++itia.mi.cnr.it]
> Sent: Thursday, January 13, 2000 5:25 AM
> To: info-vega++at++paradigmsim.com
> Cc: info-performer++at++sgi.com
> Subject: run time created geometry Fixed...
> Importance: High
>
> Hello all!
> Now, after some other experiment, I found that if I set the "Single
> Thread" mode in LynX the application runs properly, in others words the
> run-time created pfGeoSet (and linked to the underlying pfNode of the
> vgObject) appears in the vgScene! But I cannot understand why this
> beautiful thing happens only in Single Thread mode, I have an OnyX2
> 2CPU, and if use the "Default" MP Mode in LynX the pfGeoSet doesn't
> appears!
>
> howeverm any comments is appreciated!
>
> thank you
>
> Bye
>
> Stefano Mottura
>
>
> --
> Dr. Stefano Mottura
> VME (Virtual Manufacturing Environment) Group
> ITIA-CNR
> Institute of Industrial Technologies and Automation
> National Research Council of Italy
> V.le Lombardia, 20/A
> 20131 Milan
> Italy
>
> tel. +39 02 70643961
> fax. +39 02 70643915
>
> mottura++at++itia.mi.cnr.it
>


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Thu Jan 13 2000 - 08:19:13 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.