[ADOL-C] Installing ADOLC with sparse option enabled on 64 bit Ubuntu/Debian

Rishi Amrit rishiamrit at gmail.com
Tue Jun 15 19:51:49 EDT 2010


Hi,

 I am trying to compile ADOLC on a Ubuntu 64 bit OS. I configure with the
command:

./configure --with-sparse --with-docexa --with-addexa
--with-openmp-flag=-fopenmp --with-parexa

The configuration summary is :
-----------------------------------------------------------------------------
Configuration:

  C compiler:                       gcc
  C++ compiler:                     g++
  Linker:                           /usr/bin/X11/ld -m elf_x86_64
  Source code location:             /home/amrit/Desktop/ADOL-C-2.1.5
  Install path:                     /home/amrit/adolc_base

  CFLAGS:                           -O2 -fopenmp
  CXXFLAGS:                         -O2 -fopenmp

  Use ADOL-C debug mode:            no
  Use ADOL-C hard debug mode:       no
  Use ADOL-C adouble zeroing mode:  no
  Access thread number via errno:   no
  Use ADOL-C safe extern mode:      no

  Build sparse drivers:             yes

  Build documented examples:        yes
  Build additional examples:        yes

  See ADOL-C/src/config.h for further configuration information.
-----------------------------------------------------------------------------


When I run make, I get the following error:
sparsedrivers.cpp: In function 'int set_HP(short int, int, unsigned int**)':
sparsedrivers.cpp:556: error: 'ADOLC_threadNumber' was not declared in this
scope
make[4]: *** [sparsedrivers.lo] Error 1
make[4]: Leaving directory
`/home/amrit/Desktop/ADOL-C-2.1.5/ADOL-C/src/sparse'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/amrit/Desktop/ADOL-C-2.1.5/ADOL-C/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/amrit/Desktop/ADOL-C-2.1.5/ADOL-C/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/amrit/Desktop/ADOL-C-2.1.5/ADOL-C'
make: *** [all-recursive] Error 1

I cant locate the variable. Any ideas what I am doing wrong ?

Thanks,

Rishi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/adol-c/attachments/20100615/a2f31e24/attachment.html 


More information about the ADOL-C mailing list