[overture] Re: make error

  • From: Carter Cheng <carter_cheng@xxxxxxxxx>
  • To: overture@xxxxxxxxxxxxx
  • Date: Tue, 22 Jan 2008 22:39:51 -0800 (PST)

Thanks this seems to have solved the problem. One
followup question I ran check.p and seem to be getting
a few errors. Two of them seem related to IO and in
one case the counts are a bit off (attached). Should I
be concerned?

Thanks in advance,

Carter.
--- Bill Henshaw <henshaw@xxxxxxxx> wrote:

> Dear Carter:
> 
>  > undefined reference to `_mesa_copy_context'
> 
> My guess is that you get this undefined variable
> (from Mesa)
> because you are using a newer version of Mesa than I
> have
> tried. You could try Mesa-6.4.2.
> 
> Regards, Bill.
> 
> Carter Cheng wrote:
> > I have been recently attempting to build overture
> for
> > a project I am working on and ran into a few
> problems
> > towards the end of the make process which I could
> not
> > resolve. I suspect that I am missing something
> > relatively simple. If someone could help me
> resolve it
> > I would appreciate it. 
> > 
> > Thanks in advance,
> > 
> > Carter 
> > 
> > (error follows)
> > 
> > The error I received was as follows-
> > 
> > g++ -fPIC  -fpermissive
> > -I/home/cwcheng/Overture.v22/bin/../include -I.  
> > -DUSE_MESA
> > -I/home/cwcheng/A++P++-0.7.9d/A++/install/include
> > -I/home/cwcheng/Mesa-7.0.2//include
> -I/usr//include 
> > -DBL_USE_DOUBLE -DBL_Solaris -Wno-deprecated
> >
> -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE 
> > -DHAS_MODFL_PROTO -g  -o plotStuff
> plotStuffDriver.o
> > plotStuff.o 
> > -Wl,-rpath,/home/cwcheng/Overture.v22/bin/../lib
> > -L/home/cwcheng/Overture.v22/bin/../lib -lOverture
> > -lOverture_static -Wl,-rpath,/usr//lib -L/usr//lib
> > -lhdf5 -ljpeg -lz 
> >
>
-Wl,-rpath,/home/cwcheng/A++P++-0.7.9d/A++/install/lib
> > -L/home/cwcheng/A++P++-0.7.9d/A++/install/lib
> -lApp
> > -lApp_static  -lgfortran
> >
>
-Wl,-rpath,/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
> >
> -L/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE
> > -lperl -lresolv -lnsl -ldl -lm -lcrypt -lutil
> > -lpthread -lc
> -Wl,-rpath,/home/cwcheng/Mesa-7.0.2//lib
> > -L/home/cwcheng/Mesa-7.0.2//lib -lGL -lGLU
> -lOSMesa 
> > -Wl,-rpath,/usr//lib -L/usr//lib -lXm  -L/usr//lib
> > -lXpm -lXp -lXt -lXmu -lXi -lXext -lX11 -lm
> > 
> >
>
/home/cwcheng/Overture.v22/bin/../lib/libOverture.so:
> > undefined reference to `_mesa_copy_context'
> > collect2: ld returned 1 exit status
> > make[1]: *** [plotStuff] Error 1
> > make: *** [all] Error 2
> > 
> > 
> > 
> > 
> >      
>
____________________________________________________________________________________
> > Be a better friend, newshound, and 
> > know-it-all with Yahoo! Mobile.  Try it now. 
>
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ
> 
> > 
> 
> 



      
____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
====================================================================================
  check.p : This perl script will run the Overture regression tests 
 
    Usage: check.p 
[debug=true/false][grids=false][cadGrids=false][op=false][rap=false] 
        debug=true/false : see more detailed results printed to the screen if 
true. 
        grids=false    : turn off the test for grid generation.
        cadGrids=false : turn off the test for grid generation from CAD.
        op=false       : turn off the test for operators.
        rap=false      : turn off the test for rapsodi (CAD fixup tests)
 
==================================================================================

   
************************************************************************************************
   *** Test: build grids : build a collection of overlapping grids in the 
sampleGrids directory ***
   
************************************************************************************************
>>>cd /home/cwcheng/Overture.v22/sampleGrids...
>>>make the sample grids: generate.p  

================================================================================
This perl script will run ogen and create many different grids
It will check to see if the grids seem to be correctly generated.
  Usage: 
    generate.p [options] 
 Options 
   <gridName> : the name of a single grid to check. By default check all grids. 
  
   check=<checkFileDirectory> : directory in which to look for the check files, 
default=. 
   ogen=<name> : specify where the ogen executable is.   
   cmdFileDirectory=<dir> : directory where to find the command files.   
   replace (replace check files with those currently generated)   
   replaceAll (replace .dp and .sp check files with those currently generated)  
 
==============================================================================

*** machine=linux, precision=double
Using the grid generator ../bin/ogen
checking square5.cmd...
      ..../square5.cmd appears to be correct (compared to 
./check.dp/square5.check)
checking square5CC.cmd...
      ..../square5CC.cmd appears to be correct (compared to 
./check.dp/square5CC.check)
checking square10.cmd...
      ..../square10.cmd appears to be correct (compared to 
./check.dp/square10.check)
checking square20.cmd...
      ..../square20.cmd appears to be correct (compared to 
./check.dp/square20.check)
checking square40.cmd...
      ..../square40.cmd appears to be correct (compared to 
./check.dp/square40.check)
checking channelShort.cmd...
      ..../channelShort.cmd appears to be correct (compared to 
./check.dp/channelShort.check)
checking sis.cmd...
      ..../sis.cmd appears to be correct (compared to ./check.dp/sis.check)
checking cic.cmd...
      ..../cic.cmd appears to be correct (compared to ./check.dp/cic.check)
checking cic2.cmd...
      ..../cic2.cmd appears to be correct (compared to ./check.dp/cic2.check)
checking cicCC.cmd...
      ..../cicCC.cmd appears to be correct (compared to ./check.dp/cicCC.check)
checking cic.4.cmd...
      ..../cic.4.cmd appears to be correct (compared to ./check.dp/cic.4.check)
checking cicmg.cmd...
      ..../cicmg.cmd appears to be correct (compared to ./check.dp/cicmg.check)
checking cicAdd.cmd...
      ..../cicAdd.cmd appears to be correct (compared to 
./check.dp/cicAdd.check)
checking cilc.cmd...
      ..../cilc.cmd appears to be correct (compared to ./check.dp/cilc.check)
checking qcic.cmd...
      ..../qcic.cmd appears to be correct (compared to ./check.dp/qcic.check)
checking valve.cmd...
      ..../valve.cmd appears to be correct (compared to ./check.dp/valve.check)
checking valveCC.cmd...
      ..../valveCC.cmd appears to be correct (compared to 
./check.dp/valveCC.check)
checking oneValve.cmd...
      ..../oneValve.cmd appears to be correct (compared to 
./check.dp/oneValve.check)
checking obstacle.cmd...
      ..../obstacle.cmd appears to be correct (compared to 
./check.dp/obstacle.check)
checking inletOutlet.cmd...
      ..../inletOutlet.cmd appears to be correct (compared to 
./check.dp/inletOutlet.check)
checking inletOutletCC.cmd...
      ..../inletOutletCC.cmd appears to be correct (compared to 
./check.dp/inletOutletCC.check)
checking edgeRefinement.cmd...
      ..../edgeRefinement.cmd appears to be correct (compared to 
./check.dp/edgeRefinement.check)
checking naca0012.cmd...
      ..../naca0012.cmd appears to be correct (compared to 
./check.dp/naca0012.check)
checking naca.hype.cmd...
      ..../naca.hype.cmd appears to be correct (compared to 
./check.dp/naca.hype.check)
checking mismatch.cmd...
      ..../mismatch.cmd appears to be correct (compared to 
./check.dp/mismatch.check)
checking mismatchAnnulus.cmd...
      ..../mismatchAnnulus.cmd appears to be correct (compared to 
./check.dp/mismatchAnnulus.check)
checking end.cmd...
      ..../end.cmd appears to be correct (compared to ./check.dp/end.check)
checking filletThree.cmd...
      ..../filletThree.cmd appears to be correct (compared to 
./check.dp/filletThree.check)
checking mastSail2d.cmd...
      ..../mastSail2d.cmd appears to be correct (compared to 
./check.dp/mastSail2d.check)
checking stir.cmd...
      ..../stir.cmd appears to be correct (compared to ./check.dp/stir.check)
checking stirSplit.cmd...
      ..../stirSplit.cmd appears to be correct (compared to 
./check.dp/stirSplit.check)
checking hgrid.cmd...
      ..../hgrid.cmd appears to be correct (compared to ./check.dp/hgrid.check)
checking cgrid.cmd...
      ..../cgrid.cmd appears to be correct (compared to ./check.dp/cgrid.check)
checking twoBump.cmd...
      ..../twoBump.cmd appears to be correct (compared to 
./check.dp/twoBump.check)
checking innerOuterTest.cmd...
      ..../innerOuterTest.cmd appears to be correct (compared to 
./check.dp/innerOuterTest.check)
checking sinfoil.cmd...
      ..../sinfoil.cmd appears to be correct (compared to 
./check.dp/sinfoil.check)
checking twoSquaresInterface.cmd -factor=1 -name="twoSquaresInterface1.hdf"...
      ..../twoSquaresInterface.cmd -factor=1 -name="twoSquaresInterface1.hdf" 
appears to be correct (compared to ./check.dp/twoSquaresInterface.check)
checking box5.cmd...
      ..../box5.cmd appears to be correct (compared to ./check.dp/box5.check)
checking box10.cmd...
      ..../box10.cmd appears to be correct (compared to ./check.dp/box10.check)
checking box20.cmd...
      ..../box20.cmd appears to be correct (compared to ./check.dp/box20.check)
checking box40.cmd...
      ..../box40.cmd appears to be correct (compared to ./check.dp/box40.check)
checking bib.cmd...
      ..../bib.cmd appears to be correct (compared to ./check.dp/bib.check)
checking sib.cmd...
      ..../sib.cmd appears to be correct (compared to ./check.dp/sib.check)
checking twoBoxesInterface.cmd...
      ..../twoBoxesInterface.cmd appears to be correct (compared to 
./check.dp/twoBoxesInterface.check)
checking sibCC.cmd...
      ..../sibCC.cmd appears to be correct (compared to ./check.dp/sibCC.check)
checking pipes.cmd...
sh: line 1: 24176 Aborted                 ../bin/ogen noplot nopause abortOnEnd 
./pipes.cmd ogen.out > !
 *** There was an error generating pipes.cmd ****
checking pipesCC.cmd...
      ..../pipesCC.cmd appears to be correct (compared to 
./check.dp/pipesCC.check)
checking ellipsoid.cmd...
      ..../ellipsoid.cmd appears to be correct (compared to 
./check.dp/ellipsoid.check)
checking revolve.cmd...
      ..../revolve.cmd appears to be correct (compared to 
./check.dp/revolve.check)
checking revolveCC.cmd...
      ..../revolveCC.cmd appears to be correct (compared to 
./check.dp/revolveCC.check)
checking valve3d.cmd...
      ..../valve3d.cmd appears to be correct (compared to 
./check.dp/valve3d.check)
checking sphereInATube.cmd...
      ..../sphereInATube.cmd appears to be correct (compared to 
./check.dp/sphereInATube.check)
checking tse.cmd...
      ..../tse.cmd appears to be correct (compared to ./check.dp/tse.check)
checking valvePort.cmd...
      ..../valvePort.cmd appears to be correct (compared to 
./check.dp/valvePort.check)
checking filletTwoCyl.cmd...
      ..../filletTwoCyl.cmd appears to be correct (compared to 
./check.dp/filletTwoCyl.check)
checking joinTwoCyl.cmd...
      ..../joinTwoCyl.cmd appears to be correct (compared to 
./check.dp/joinTwoCyl.check)
checking sub.cmd...
      ..../sub.cmd appears to be correct (compared to ./check.dp/sub.check)
checking building3.cmd...
      ..../building3.cmd appears to be correct (compared to 
./check.dp/building3.check)
checking valve.hyb.cmd...
      ..../valve.hyb.cmd appears to be correct (compared to 
./check.dp/valve.hyb.check)
checking inletOutlet.hyb.cmd...
      ..../inletOutlet.hyb.cmd appears to be correct (compared to 
./check.dp/inletOutlet.hyb.check)
checking obstacle.hyb.cmd...
      ..../obstacle.hyb.cmd appears to be correct (compared to 
./check.dp/obstacle.hyb.check)
checking mastSail2d.hyb.cmd...
      ..../mastSail2d.hyb.cmd appears to be correct (compared to 
./check.dp/mastSail2d.hyb.check)
checking twoBump.hyb.cmd...
      ..../twoBump.hyb.cmd appears to be correct (compared to 
./check.dp/twoBump.hyb.check)
checking sib.hyb.cmd...
25,28c25,28
< number of Vertexs : 993
< number of Edges : 3543
< number of Faces : 4194
< number of Regions : 1635
---
> number of Vertexs : 992
> number of Edges : 3542
> number of Faces : 4192
> number of Regions : 1634
++++ The check file for sib.hyb.cmd (top) is not the same as the old file 
./check.dp/sib.hyb.check (bottom)++++
********************************************************************
********************* There were 2  ERRORS *************************
**** NOTE: some errors may occur due to differences in         *****
**** machine precision. If the numbers are similiar then there *****
**** is probably no reason for concern. (try plotting the grid)*****
********************************************************************
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ERROR return rt=512

 An ERROR occured for the test=buildGrids
 You may want to check the appropriate log file=.
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   
************************************************************************************************
   *** Test: grids from cad : build grids from CAD geometries (in the 
sampleGrids directory)    ***
   
************************************************************************************************
>>>cd /home/cwcheng/Overture.v22/sampleGrids...
Run /home/cwcheng/Overture.v22/sampleGrids/gridsFromCad.p

================================================================================
This perl script will build some grids from CAD 
It will check to see if the grids seem to be correctly generated.
  Usage: 
    gridsFromCad.p [options] 
 Options 
   no options yet   
==============================================================================

*** precision=double
Using the grid generator /home/cwcheng/Overture.v22//bin/ogen
Using rap version: /home/cwcheng/Overture.v22//bin/rap
Using mbuilder version: /home/cwcheng/Overture.v22//bin/mbuilder
Running: /home/cwcheng/Overture.v22//bin/rap noplot nopause abortOnEnd 
asmoNoWheels.cmd > gridsFromCad.out...
...success
Running: /home/cwcheng/Overture.v22//bin/mbuilder noplot nopause abortOnEnd 
asmoBody.cmd > gridsFromCad.out...
HDF5-DIAG: Error detected in HDF5 library version: 1.6.6 thread 3086161696.  
Back trace follows.
  #000: H5F.c line 1327 in H5Fis_hdf5(): unable to open file
    major(05): Low-level I/O layer
    minor(29): Unable to initialize object
  #001: H5FD.c line 1045 in H5FD_open(): open failed
    major(22): Virtual File Layer
    minor(29): Unable to initialize object
  #002: H5FDsec2.c line 367 in H5FD_sec2_open(): unable to open file
    major(04): File interface
    minor(17): Unable to open file
  #003: H5FDsec2.c line 367 in H5FD_sec2_open(): No such file or directory
    major(03): Internal HDF5 error
    minor(87): System error message
HDF5-DIAG: Error detected in HDF5 library version: 1.6.6 thread 3086161696.  
Back trace follows.
  #000: H5F.c line 2049 in H5Fopen(): unable to open file
    major(04): File interface
    minor(17): Unable to open file
  #001: H5F.c line 1726 in H5F_open(): unable to open file
    major(04): File interface
    minor(17): Unable to open file
  #002: H5FD.c line 1045 in H5FD_open(): open failed
    major(22): Virtual File Layer
    minor(29): Unable to initialize object
  #003: H5FDsec2.c line 367 in H5FD_sec2_open(): unable to open file
    major(04): File interface
    minor(17): Unable to open file
  #004: H5FDsec2.c line 367 in H5FD_sec2_open(): No such file or directory
    major(03): Internal HDF5 error
    minor(87): System error message
sh: line 1: 24237 Aborted                 
/home/cwcheng/Overture.v22//bin/mbuilder noplot nopause abortOnEnd asmoBody.cmd 
> gridsFromCad.out
ERROR running /home/cwcheng/Overture.v22//bin/mbuilder noplot nopause 
abortOnEnd asmoBody.cmd > gridsFromCad.out. Check the logfile gridsFromCad.out
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ERROR return rt=256

 An ERROR occured for the test=grids from cad
 You may want to check the appropriate log file=.
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
   
************************************************************************************************
   *** Test: test operators and grid functions (in the tests directory)         
                ***
     
************************************************************************************************
>>>cd /home/cwcheng/Overture.v22/tests...
>>>run checkop.p 

================================================================================
This perl script will run some regression tests on grid functions and operators.

  Usage: 
    checkop.p [<application>]  (or `perl checkop.p') 
  Notes: 
 Applications:                                                                
     tderivatives    : tests derivatives in the operators.          
     tbcc            : tests boundary conditions for coefficient matrices.   
     tbc             : tests explicit boundary conditions.                    
     tcm3            : tests coefficient matrix solver on a CompositeGrid    
==============================================================================

*** precision=double, parallel= ****
running tderivatives...
Running: ./tderivatives  > tderivatives.out
 compare files tderivatives.dp.check.new and tderivatives.dp.check 
smartDiff: files tderivatives.dp.check.new and tderivatives.dp.check agree.
      ...tderivatives appears to be correct
running tbcc...
Running: ./tbcc  > tbcc.out
 compare files tbcc.dp.check.new and tbcc.dp.check 
smartDiff: files tbcc.dp.check.new and tbcc.dp.check agree.
      ...tbcc appears to be correct
running tbc...
Running: ./tbc  > tbc.out
 compare files tbc.dp.check.new and tbc.dp.check 
smartDiff: files tbc.dp.check.new and tbc.dp.check agree.
      ...tbc appears to be correct
running tcm3...
Running: ./tcm3 -check > tcm3.out
 compare files tcm3.dp.check.new and tcm3.dp.check 
smartDiff: files tcm3.dp.check.new and tcm3.dp.check agree.
      ...tcm3 appears to be correct
==================================================
============ Test apparently successful ==========
==================================================
>>>tests of operators and grid functions successful!
   
************************************************************************************************
   *** Run the rapsodi tests (CAD fixup etc.) (in the sampleMappings directory) 
                ***
   
************************************************************************************************
>>>cd /home/cwcheng/Overture.v22/sampleMappings...
>>>run the rap tests: check.p and heal.p  

================================================================================
This perl script will run rap and create many different geometries
It will check to see if the geometry seem to be correctly generated.
  Usage: 
    check.p [<geoName>] [noplot] [check=<checkFileDirectory>][special=<dir>}  
(or `perl check.p') 
 <checkFileDirectory> = directory in which to look for the check files, 
default=. 
 <geoName> = the name of a single geometry to check. By default check all 
geometries. 
 noplot = do not plot results. 
 special = location of special files that are not distributed. 
==============================================================================

Using the geometry generator ../bin/rap
checking ship-5415...
      ...ship-5415 could be read in and displayed
checking ship-kcs...
      ...ship-kcs could be read in and displayed
checking ship-kvlcc...
      ...ship-kvlcc could be read in and displayed
checking ship-5-parts...
      ...ship-5-parts could be read in and displayed
checking asmo...
      ...asmo could be read in and displayed
==================================================
============ Test apparently successful ==========
==================================================
rap test check.p successful

================================================================================
This perl script will run rap and heal a few different geometries
It will check to see if the healing commands seem to work.
  Usage: 
    heal.p [<geoName>] [noplot][check=<checkFileDirectory>][special=<dir>}  (or 
`perl heal.p') 
 <checkFileDirectory> = directory in which to look for the check files, 
default=. 
 <geoName> = the name of a single geometry to check. By default check all 
geometries. 
 noplot = do not plot results. 
 special = location of special files that are not distributed. 
==============================================================================

Using the geometry generator ../bin/rap
checking ship-5415-fix...
      ...ship-5415-fix could be read in and healed
==================================================
============ Test apparently successful ==========
============ with 0 broken surfaces     ==========
==================================================
>>>rap tests successful!
   
************************************************************************************************
   ****************** Tests: passed = 2, failed=2 
***************************************** 
   
************************************************************************************************

Other related posts: