Problem 700 - Running example 3 in interactive mode
Summary: Running example 3 in interactive mode
Status: RESOLVED FIXED
Alias: None
Product: Examples/Basic and Novice
Classification: Unclassified
Component: N03 (show other problems)
Version: 6.2
Hardware: PC Linux
: P2 normal
Assignee: barrand
URL:
Depends on:
Blocks:
 
Reported: 2004-12-03 02:11 CET by w.stiller
Modified: 2007-04-08 18:48 CEST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this problem.
Description w.stiller 2004-12-03 02:11:11 CET
When executing novice example 3 (compiles/links ok, 1 linker warning (compare
bug report no. 699)) in interactive mode, the following output is produced:

...

 Material:     Beam     density:  0.010 mg/cm3  temperature: 273.15 K  pressure:
  0.02 atm  RadLength:  36.786 km
   --->  Element: Nitrogen  N   Z =  7.0   N =  14.0   A =  14.01 g/mole
fractionMass:  70.00 %  Abundance  72.71 %
   --->  Element:   Oxygen  O   Z =  8.0   N =  16.0   A =  16.00 g/mole
fractionMass:  30.00 %  Abundance  27.29 %


Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
Warning: Cannot find callback list in XtAddCallback
...

The idle prompt is never reached and the program has to be terminated via
ctrl-c. What causes this error (all other examples using visualization work
fine)? I must admit that I haven't looked into the code yet, maybe there is a
simple fix. Is the problem related to bug report no. 699?

Thank you for your help.

Wolfram Stiller
Comment 1 w.stiller 2004-12-06 06:34:59 CET
The problem is due to linking two different versions of Motif libraries (in this
case LessTif and OpenMotif 2.2). Getting rid of one (in my case LessTif) Motif
installation and recompiling allows to run the example without warnings and
without having to focibly terminate it.

Thanks to Guy Barrand for all his help in locating the source of the problem!