[Couenne] Couenne compiling error

ehsan ullah ehsanmath at yahoo.com
Thu May 19 08:05:16 EDT 2011


Dear Prof. Dr. Pietro
I have solved the problem due to your guidance. The problem was the same as you mentioned. At the end I removed the compiler F77 etc. The only compiler left on my system was gfortran. I compiled it again from beginning at it is done now.
thanks a lot for help
Best Regards
Ehsan Ullah

Lehrstuhl für Symbolic Computation

Passau Universität

Germany

Ph# 0049-851-2016296

Mobile: 0049-176-45196854

Email: ehsanmath at yahoo.com

--- On Thu, 19/5/11, Pietro Belotti <pbelott at clemson.edu> wrote:

From: Pietro Belotti <pbelott at clemson.edu>
Subject: Re: [Couenne] Couenne compiling error
To: "ehsan ullah" <ehsanmath at yahoo.com>
Date: Thursday, 19 May, 2011, 4:22 PM

Dear Ehsan,

my version of libCoinUtils does not make any reference to d_sign, and I 
wonder if that depends on your previous use of fort77. I'd suggest you to 
do a fresh build by running

make distclean
../configure
make

If you still cannot compile, please reply to me but also send the same 
email to the Couenne mailing list (this is what I was referring to in my 
previous email). I cannot give you very precise indications, and there are 
COIN contributors who may have already coped with (and solved) this 
issues.

Regards,
Pietro

--
Pietro Belotti
Dept. of Mathematical Sciences
Clemson University
email: pbelott at clemson.edu
phone: 864-656-6765
web:   myweb.clemson.edu/~pbelott

On Thu, 19 May 2011, ehsan ullah wrote:

> Dear Prof. Dr. Pietro
> I tried as you said. The previous error is resolved but now I have a new error as given in the following. can you please help. I checked couenne mailing list. could not find some
> thing like this.
> 
> make[2]: Entering directory `/home/ehsan/Couenne/build/Clp/src'
> /bin/bash ../../libtool --tag=CXX --mode=link g++  -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall
> -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas     -o clp -rpath /home/ehsan/Couenne/build/lib ClpMain.o CbcOrClpParam.o MyEventHandler.o MyMessageHandler.o
> unitTest.o libClp.la /home/ehsan/Couenne/build/Clp/../CoinUtils/src/libCoinUtils.la -lm  `cat /home/ehsan/Couenne/build/Clp/../CoinUtils/coinutils_addlibs.txt`
> g++ -O3 -fomit-frame-pointer -pipe -DNDEBUG -pedantic-errors -Wimplicit -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion
> -Wno-unknown-pragmas -o .libs/clp ClpMain.o CbcOrClpParam.o MyEventHandler.o MyMessageHandler.o unitTest.o  ./.libs/libClp.so
> /home/ehsan/Couenne/build/Clp/../CoinUtils/src/.libs/libCoinUtils.so -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2
> -L/usr/lib/x86_64-linux-gnu/gcc/x86_64-linux-gnu/4.5.2/../../.. -L/usr/lib/x86_64-linux-gnu -lgfortran -lm -lgcc_s -Wl,--rpath -Wl,/home/ehsan/Couenne/build/lib
> /home/ehsan/Couenne/build/Clp/../CoinUtils/src/.libs/libCoinUtils.so: undefined reference to `d_sign'
> collect2: ld returned 1 exit status
> make[2]: *** [clp] Error 1
> make[2]: Leaving directory `/home/ehsan/Couenne/build/Clp/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/ehsan/Couenne/build/Clp'
> make: *** [all-recursive] Error 1
> root at ullah:~/Couenne/build#
> 
> Thanks
> Ehsan Ullah
> Lehrstuhl für Symbolic Computation
> Passau Universität
> Germany
> Ph# 0049-851-2016296
> Mobile: 0049-176-45196854
> Email: ehsanmath at yahoo.com
> 
> --- On Thu, 19/5/11, Pietro Belotti <pbelott at clemson.edu> wrote:
>
>       From: Pietro Belotti <pbelott at clemson.edu>
>       Subject: Re: [Couenne] Couenne compiling error
>       To: "ehsan ullah" <ehsanmath at yahoo.com>
>       Date: Thursday, 19 May, 2011, 1:15 PM
>
>       Dear Ehsan,
>
>       the commands you give are correct, and I also have an ubuntu 64bit system.
>       The only difference is that I'm using gfortran as Fortran compiler,
>       instead of fort77. I have never used fort77, but gfortran is a standard
>       compiler used for most coin-or project. If you are willing to give it a
>       try, configure again with the environment variable F77=gfortran (I believe
>       you should simply give the command "F77=gfortran ../configure").
>
>       If you still get errors, please let me know, and copy the Couenne mailing
>       list -- there are much more knowledgeable compilation experts over there
>       :-)
>
>       Regards,
>       Pietro
>
>       --
>       Pietro Belotti
>       Dept. of Mathematical Sciences
>       Clemson University
>       email: pbelott at clemson.edu
>       phone: 864-656-6765
>       web:   myweb.clemson.edu/~pbelott
>
>       On Thu, 19 May 2011, ehsan ullah wrote:
>
>       > Dear Prof. Dr. Pietro
>       > I checked the compilation of Blas once again. It compiles without any errors. But still there is some problem. I am getting the following error. I shall be thankful
>       for help.
>       >
>       > ------------------------------
>       > Making all in ThirdParty/Blas
>       > make[1]: Entering directory `/home/ehsan/Couenne/build/ThirdParty/Blas'
>       > /bin/bash ./../../libtool --tag=F77 --mode=compile fort77  -O3 -fomit-frame-pointer -pipe   -c -o xerbla.lo ../../../ThirdParty/Blas/xerbla.f
>       >  fort77 -O3 -fomit-frame-pointer -pipe -c ../../../ThirdParty/Blas/xerbla.f  -fPIC -o .libs/xerbla.o
>       >    xerbla:
>       > Error on line 35: Declaration error for len_trim: unknown intrinsic function
>       > /usr/bin/fort77: aborting compilation
>       > make[1]: *** [xerbla.lo] Error 1
>       > make[1]: Leaving directory `/home/ehsan/Couenne/build/ThirdParty/Blas'
>       > make: *** [all-recursive] Error 1
>       > ---------------------------------------------------------------------------
>       > All what I did is the following. Every thing compiles without any error. I am using  64 bit ubuntu with 2.13 GHz Intel Pentium P6200 Dual Core processor.
>       >
>       > root at ullah:.~# svn co https://projects.coin-or.org/svn/Couenne/stable/0.3 Couenne
>       > root at ullah:~# ls
>       > Couenne  Documents  examples.desktop  Pictures  Templates
>       > Desktop  Downloads  Music             Public    Videos
>       > root at ullah:~# cd Couenne/
>       > root at ullah:~/Couenne# cd ThirdParty/
>       > root at ullah:~/Couenne/ThirdParty# svn update
>       > root at ullah:~/Couenne/ThirdParty# cd ASL
>       > root at ullah:~/Couenne/ThirdParty/ASL# ./get.ASL
>       > root at ullah:~/Couenne/ThirdParty/ASL# cd ..
>       > root at ullah:~/Couenne/ThirdParty# cd Blas/
>       > root at ullah:~/Couenne/ThirdParty/Blas# ./get.Blas
>       > root at ullah:~/Couenne/ThirdParty/Blas# cd ..
>       > root at ullah:~/Couenne/ThirdParty# cd Lapack
>       > root at ullah:~/Couenne/ThirdParty/Lapack# ./get.Lapack
>       > root at ullah:~/Couenne/ThirdParty/Lapack# cd ..
>       > root at ullah:~/Couenne/ThirdParty# cd Mumps
>       > root at ullah:~/Couenne/ThirdParty/Mumps# ./get.Mumps
>       > root at ullah:~/Couenne/ThirdParty/Mumps# cd ..
>       > root at ullah:~/Couenne/ThirdParty# cd ..
>       > root at ullah:~/Couenne#
>       > root at ullah:~/Couenne# mkdir build
>       > root at ullah:~/Couenne# cd build
>       > root at ullah:~/Couenne/build# ../configure -C
>       > root at ullah:~/Couenne/build# make
>       > One last question. Do I need to obtain HSL and Mumps both. What is the difference between both.
>       > thanks
>       >
>       > Ehsan Ullah
>       > Lehrstuhl für Symbolic Computation
>       > Passau Universität
>       > Germany
>       > Ph# 0049-851-2016296
>       > Mobile: 0049-176-45196854
>       > Email: ehsanmath at yahoo.com
>       >
>       > --- On Wed, 18/5/11, Pietro Belotti <pbelott at clemson.edu> wrote:
>       >
>       >       From: Pietro Belotti <pbelott at clemson.edu>
>       >       Subject: Re: [Couenne] Couenne compiling error
>       >       To: "ehsan ullah" <ehsanmath at yahoo.com>
>       >       Cc: "Couenne mailing list" <couenne at list.coin-or.org>
>       >       Date: Wednesday, 18 May, 2011, 4:46 PM
>       >
>       >       Dear Ehsan,
>       >
>       >       dasum.f seems to be a necessary component of Blas. Did you download the Blas library properly? You may need to run "svn update" in the ThirdParty directory
>       and then
>       >       run the script "./get.Blas" in the ThirdParty/Blas directory.
>       >
>       >       Pietro
>       >
>       >       --
>       >       Pietro Belotti
>       >       Dept. of Mathematical Sciences
>       >       Clemson University
>       >       email: pbelott at clemson.edu
>       >       phone: 864-656-6765
>       >       web:   myweb.clemson.edu/~pbelott
>       >
>       >       On Wed, 18 May 2011, ehsan ullah wrote:
>       >
>       >       > Hallo
>       >       > I am getting the following error while compiling couenne after installing thirdparty sofwares. Can you please help to detect whats going wrong
>       >       >
>       >       > root at ullah:~/Couenne/build# make
>       >       > Making all in ThirdParty/Blas
>       >       > make[1]: Entering directory `/home/ehsan/Couenne/build/ThirdParty/Blas'
>       >       > /bin/bash ./../../libtool --tag=F77 --mode=compile fort77  -O3 -fomit-frame-pointer -pipe   -c -o dasum.lo ../../../ThirdParty/Blas/dasum.f
>       >       >  fort77 -O3 -fomit-frame-pointer -pipe -c ../../../ThirdParty/Blas/dasum.f  -fPIC
>       >       >    dasum:
>       >       > mv -f dasum.o .libs/dasum.o
>       >       > mv: cannot stat `dasum.o': No such file or directory
>       >       > make[1]: *** [dasum.lo] Error 1
>       >       > make[1]: Leaving directory `/home/ehsan/Couenne/build/ThirdParty/Blas'
>       >       > make: *** [all-recursive] Error 1
>       >       >
>       >       > thanks in advance
>       >       > Ehsan 
>       >       > ???
>       >
>       >
>       >
> 
> 
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://list.coin-or.org/pipermail/couenne/attachments/20110519/072f6e4a/attachment.html 


More information about the Couenne mailing list