Search the web
Sign In
New User? Sign Up
cantera · Cantera User's Group
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Installation problems on a 64 bit ubuntu machine   Message List  
Reply | Forward Message #1959 of 1972 |
Re: [cantera] Re: Installation problems on a 64 bit ubuntu machine

Hey,

Thanks a lot for your response!

Unforturnately, I still haven't been able to resolve my problem
completely. I did manage to get the python minimal installation
through and my Cantera test programs seem to be working. When I
manually try to run the python setup in Cantera/python, I still
see the same error I've been getting.

bsingh@bsingh-desktop:~/BHUPI/software/cantera-1.7/cantera-1.7.0/Cantera/python$
sudo python2.5 setup.py build
running build
running build_py
copying notused_setup.py -> build/lib.linux-x86_64-2.5
running build_ext
building 'Cantera._cantera' extension
g++ -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions
build/temp.linux-x86_64-2.5/src/pycantera.o
-L/home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0/build/lib/x86_64-unknown\
-linux-gnu
-L/home/bsingh/BHUPI/software/cantera-1.7/cantera-1.7.0/build/lib/x86_64-unknown\
-linux-gnu
-L/usr/local/lib -lclib -lzeroD -loneD -ltransport -lcantera
-lconverters -lctlapack -lctblas -lsundials_cvodes
-lsundials_nvecserial -lctmath -ltpx -lctf2c -lctf2c -lm -l-fPIC
-o build/lib.linux-x86_64-2.5/Cantera/_cantera.so
/usr/bin/ld: /usr/local/lib/libsundials_cvodes.a(cvodes.o):
relocation R_X86_64_32 against `a local symbol' can not be used
when making a shared object; recompile with -fPIC
/usr/local/lib/libsundials_cvodes.a: could not read symbols: Bad
value
collect2: ld returned 1 exit status
running build
running build_py

Any ideas/suggestions on how to get the full installation
working?

Regards,

Bhupinder

On Fri May 29 14:39:21 EDT 2009, graham_goldin
<graham.goldin@...> wrote:

> Hi! Bhupinder,
>
> I was able to build on ubuntu 64 with the latest sources,
> starting from scratch. This is what I did:
>
> 1) cvs -z3
> -d:pserver:anonymous@...:/cvsroot/cantera
> co cantera
>
> 2) edit preconfig and
> a) set CANTERA_CONFIG_PREFIX to my install dir
> b) set USE_SUNDIALS to 'y' and SUNDIALS_HOME to the same install
> dir as 1)
>
> 3) donwload sundials2.3 and in the sundials2.3.0 dir
> ./configure --prefix=same install dir as 2a)
> make
> make install
>
> 4) in the cantera dir,
> preconfig
> make
> make install
>
> Everything builds fine.
>
> Please note that Cantera user group has moved to google.
>
> --- In cantera@yahoogroups.com, Bhupinder Singh <bsingh@...>
> wrote:
>>
>> Hi everyone,
>>
>> I'm having trouble installing Cantera on a 64 bit ubuntu
>> machine. I understand that the error might have to do with
>> adding the -fPIC option in the make files. I added that option
>> in preconfig file, and that took care of quite a few errors I
>> was getting. I feel that the current message might have to do
>> with similar changes to the make files for the sundials package.
>> But, I'm not sure and in any case, I'm not sure where to make
>> the changes.
>>
>> I'd appreciate your help.
>>
>> Regards,
>>
>> Bhupinder
>
>
>
>



--
Bhupinder Singh
Department of Mechanical and Aerospace Engineering
University of Florida
Gainesville

Ph: 352-392-4442 (O)
352-328-4486 (Cell)





Sat May 30, 2009 9:49 am

bhupindersin...
Offline Offline
Send Email Send Email

Forward
Message #1959 of 1972 |
Expand Messages Author Sort by Date

Hi everyone, I'm having trouble installing Cantera on a 64 bit ubuntu machine. I understand that the error might have to do with adding the -fPIC option in the...
Bhupinder Singh
bhupindersin...
Offline Send Email
May 29, 2009
7:56 am

Hi! Bhupinder, I was able to build on ubuntu 64 with the latest sources, starting from scratch. This is what I did: 1) cvs -z3...
graham_goldin
Offline Send Email
May 29, 2009
6:40 pm

Hey, Thanks a lot for your response! Unforturnately, I still haven't been able to resolve my problem completely. I did manage to get the python minimal...
Bhupinder Singh
bhupindersin...
Offline Send Email
May 30, 2009
9:49 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help