Results 1 to 3 of 3

Thread: problem in installing cantera 2.0.0

  1. #1
    Join Date
    Oct 2012
    Location
    Chicago, Illinois
    Beans
    125

    problem in installing cantera 2.0.0

    Dear Buddiesme

    I am trying ot install cantera 2.0.0 . I have downloaded the code and put it in $HOME/flameletFOAM address.
    Then I came into src folder of cantera. there is a SConscript and Makefile.am files in this folder.
    I have already downloaded scons g++ libboost-all-dev libsundials-serial-dev subversion libblas-dev liblapack-dev

    In the src folder of cantera I ran:

    Code:
    scons build optimize=n blas_lapack_libs=blas,lapack prefix=/opt/cantera python_package=none

    I got this error:

    Code:
    babak@babak-VPCEA26FG:~/flameletFOAM/cantera-2.0.0/src$ scons build optimize=n blas_lapack_libs=blas,lapack prefix=/opt/cantera python_package=none
    
    scons: *** No SConstruct file found.
    File "/usr/lib/scons/SCons/Script/Main.py", line 834, in _main
    Would some body help me what is the problem?

    Regards
    Bobi
    Last edited by babakflame; February 27th, 2014 at 11:05 AM.

  2. #2
    Join Date
    Aug 2010
    Location
    Lancs, United Kingdom
    Beans
    1,588
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: problem in installing cantera 2.0.0

    Code:
    $ man scons
    
           By  default, scons searches for a file named SConstruct, Sconstruct, or
           sconstruct (in that order) in the current directory and reads its  con‐
           figuration  from  the  first file found.  An alternate file name may be
           specified via the -f option.
    So, find where that file is and run your command in that directory.
    Code:
    $ find ~/flameletFOAM/cantera-2.0.0 -iname sconstruct
    Where are you getting your instructions from about how to build and install this?

  3. #3
    Join Date
    Oct 2012
    Location
    Chicago, Illinois
    Beans
    125

    Re: problem in installing cantera 2.0.0

    Dear spjackson

    Many thanks. I found the location of Sconstruct file.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •