Results 1 to 8 of 8

Thread: Has any one succeeded in installing Code Aster on OpenSUSE11

  1. #1

    Default Has any one succeeded in installing Code Aster on OpenSUSE11

    I am trying to install code Aster 9.3 (redirection) on my computer running under openSuse 11.1, when starting the installation
    python setup.py install

    I got the following messages

    python setup.py install
    setup.py:40: DeprecationWarning: the sets module is deprecated
    from sets import Set
    /home/ahmed/Aster/aster-full-src-9.3.0/as_setup.py:41: DeprecationWarning: The popen2 module is deprecated. Use the subprocess module.
    import popen2

    --------------------------------------------------------------------------------
    Code_Aster Setup
    revision 3437 2008-07-03 16:50:52Z

    Copyright (c) 2001-2009 EDF R&D - redirection
    --------------------------------------------------------------------------------


    --------------------------------------------------------------------------------
    Command line :
    /usr/bin/python setup.py install
    --------------------------------------------------------------------------------


    --------------------------------------------------------------------------------
    Reading config file '/home/ahmed/Aster/aster-full-src-9.3.0/setup.cfg'...
    _install_pylotage (from cfg) : True
    PREFER_64BITS_LIBS (from cfg) : True
    PREFER_SHARED_LIBS (from cfg) : False
    _install_omniORB (from cfg) : True
    PREFER_COMPILER (from cfg) : 'Intel'
    ASTER_ROOT (from cfg) : '/home/ahmed/Aster'
    _install_tcl (from cfg) : False
    _install_omniORBpy (from cfg) : True
    _install_tk (from cfg) : False
    MAXDEPTH (from cfg) : 3
    SALOME_VERSION (from cfg) : 'DEFAULT'

    --------------------------------------------------------------------------------
    Deleting cache file '/home/ahmed/Aster/aster-full-src-9.3.0/setup.cache'...
    Checking for max command length... 32768
    Checking for file... /usr/bin/file
    Checking for ar... (locate)... no

    --------------------------------------------------------------------------------
    Checking for bash... (locate)... no
    Checking for ksh... (locate)... no
    Checking for zsh... (locate)... no
    Checking for Python multi-threading... yes
    Checking for mpirun... (locate)... no
    Checking for prun... no
    Checking for libpthread.so... (locate)... no
    Checking for libpthread.a... (locate)... no
    Checking for libg2c.so... (locate)... no
    Checking for libg2c.a... (locate)... no
    Checking for libz.so... (locate)... no
    Checking for libz.a... (locate)... no

    --------------------------------------------------------------------------------
    Checking for Intel compilers...
    Checking for icc... no
    ERROR #1: Unable to find file icc
    Checking for icpc... no
    ERROR #2: Unable to find file icpc
    Checking for ifort... no
    ERROR #3: Unable to find file ifort
    Checking for ifort... no
    WARNING : Unable to find file ifort
    Checking for Intel compilers... 3 error(s) (see previous ERROR)
    Checking for GNU compilers...
    Checking for gcc... (locate)... no
    ERROR #1: Unable to find file gcc
    Checking for g++... no
    ERROR #2: Unable to find file g++
    Checking for gfortran... (locate)... no
    ERROR #3: Unable to find file gfortran
    Checking for gfortran... (locate)... no
    WARNING : Unable to find file gfortran
    Checking for GNU compilers... 3 error(s) (see previous ERROR)
    Checking for Intel compilers without mathematical libraries....
    Checking for icc... no
    ERROR #1: Unable to find file icc
    Checking for icpc... no
    ERROR #2: Unable to find file icpc
    Checking for ifort... no
    ERROR #3: Unable to find file ifort
    Checking for ifort... no
    WARNING : Unable to find file ifort
    Checking for Intel compilers without mathematical libraries.... 3 error(s) (see previous ERROR)
    Checking for GNU compilers without mathematical libraries....
    Checking for gcc... (locate)... no
    ERROR #1: Unable to find file gcc
    Checking for g++... no
    ERROR #2: Unable to find file g++
    Checking for gfortran... (locate)... no
    ERROR #3: Unable to find file gfortran
    Checking for gfortran... (locate)... no
    WARNING : Unable to find file gfortran
    Checking for GNU compilers without mathematical libraries.... 3 error(s) (see previous ERROR)

    --------------------------------------------------------------------------------
    Compiler variables (set as environment variables):


    --------------------------------------------------------------------------------
    Checking for ps... (locate)... no
    Checking for xterm... (locate)... no
    Checking for nedit... no
    Checking for gedit... (locate)... no
    Checking for kwrite... (locate)... no
    Checking for xemacs... (locate)... no
    Checking for emacs... /usr/bin/emacs
    Checking for gdb... (locate)... no
    Checking for dbx... no
    Checking for ladebug... no
    Checking for flex... (locate)... no
    Checking for ranlib... (locate)... no
    Checking for bison... (locate)... no

    --------------------------------------------------------------------------------
    Checking for host name... linux-csfu
    Checking for network domain name... site
    Checking for full qualified network name... linux-csfu.site
    Checking for Numeric/arrayobject.h... /usr/include/python2.6/Numeric/arrayobject.h

    --------------------------------------------------------------------------------
    Checking for dependencies and required variables for '__main__'... [ OK ]

    --------------------------------------------------------------------------------
    Checking for dependencies and required variables for '__cfg__'... [ OK ]
    Filling cache... [ OK ]


    --------------------------------------------------------------------------------
    Check if found values seem correct. If not you can change them using 'setup.cfg'.
    Do you want to continue (y/n, default n) ?

    if I answer y, I got about 27 pages of warning and error messages

    Can any one help me pin pointing my mistakes

    Appreciate your help

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,249
    Blog Entries
    15

    Default Re: Has any one succeeded in installing Code Aster on OpenSUSE11

    Quote Originally Posted by rhoahmed
    I am trying to install code Aster 9.3 ('redirection'
    (http://www.code-aster.org)) on my computer running under openSuse 11.1,
    when starting the installation
    python setup.py install

    I got the following messages

    python setup.py install
    <snip>
    if I answer y, I got about 27 pages of warning and error messages

    Can any one help me pin pointing my mistakes

    Appreciate your help
    Hi
    It doesn't look like you have some of the relevant development programs
    installed?

    Run the following from the CLI, do you see python devel, tcl etc
    installed? There must be a list of prerequisites on the main website?
    Code:
    zypper se -i |grep devel
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 1 day 3:46, 1 user, load average: 4.43, 4.39, 4.30
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22


  3. #3

    Default Re: Has any one succeeded in installing Code Aster on OpenSU

    Quote Originally Posted by malcolmlewis View Post
    Hi
    It doesn't look like you have some of the relevant development programs
    installed?

    Run the following from the CLI, do you see python devel, tcl etc
    installed? There must be a list of prerequisites on the main website?
    Code:
    zypper se -i |grep devel
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 1 day 3:46, 1 user, load average: 4.43, 4.39, 4.30
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22



    Hello There

    The Code Aster programme is distributed as a source file with all the dependencies included.

    What is needed basically is a Compiler to compile the code on the machine.
    I have went through a process of eliminating all the no's appearing in the setup log file, by downloading the corresponding files from the repositories.
    I have downloaded gcc, nedit, gedit, blas, lapack and a lot of other files.

    but here is the results of the latest attemp:

    Unable to find file gcc

    I am positive I have downloaded, installed (Using Yast) this file two times, I do not understand why it is not located by the setup script



    here is the complete log file,

    --------------------------------------------------------------------------------
    Code_Aster Setup
    revision 3759 2009-01-15 17:47:55Z

    Copyright (c) 2001-2009 EDF R&D - redirection
    --------------------------------------------------------------------------------


    --------------------------------------------------------------------------------
    Command line :
    /usr/bin/python setup.py install
    --------------------------------------------------------------------------------


    --------------------------------------------------------------------------------
    Reading config file '/home/ahmed/Aster/aster-full-src-9.4.0/setup.cfg'...
    _install_pylotage (from cfg) : True
    PREFER_SHARED_LIBS (from cfg) : True
    _install_omniORB (from cfg) : True
    PREFER_COMPILER (from cfg) : 'GNU'
    ASTER_ROOT (from cfg) : '/home/ahmed/Aster'
    _install_omniORBpy (from cfg) : True
    MAXDEPTH (from cfg) : 5
    SALOME_VERSION (from cfg) : 'DEFAULT'

    --------------------------------------------------------------------------------
    No write access to /usr/lib/python2.6/site-packages
    Python modules will be eventually installed into /home/ahmed/Aster/public/lib/python2.6/site-packages

    --------------------------------------------------------------------------------
    Checking for max command length... 32768
    Checking for file... /usr/bin/file
    Checking for ar... (locate)... no
    Checking for architecture... Linux / posix / x86_64
    Checking for Code_Aster platform type... LINUX64
    Checking for bash... (locate)... no
    Checking for ksh... (locate)... no
    Checking for zsh... (locate)... no
    Checking for Python multi-threading... yes
    Checking for gcc... (locate)... no
    Traceback (most recent call last):
    File "setup.py", line 793, in <module>
    main()
    File "setup.py", line 425, in main
    ftools.find_and_set(cfg, 'gcc', cc)
    File "/home/ahmed/Aster/aster-full-src-9.4.0/as_setup.py", line 1666, in find_and_set
    % ' or '.join(filenames)
    SetupConfigureError: Unable to find file gcc

  4. #4
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,249
    Blog Entries
    15

    Default Re: Has any one succeeded in installing Code Aster on OpenSUSE11

    Quote Originally Posted by rhoahmed
    malcolmlewis;1932647 Wrote:
    > Hi
    > It doesn't look like you have some of the relevant development
    > programs
    > installed?
    >
    > Run the following from the CLI, do you see python devel, tcl etc
    > installed? There must be a list of prerequisites on the main website?
    > >

    Code:
    --------------------
    > >

    > zypper se -i |grep devel
    >

    --------------------
    > >

    >
    > --
    > Cheers Malcolm (Linux Counter #276890)
    > openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    > up 1 day 3:46, 1 user, load average: 4.43, 4.39, 4.30
    > GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22





    Hello There

    The Code Aster programme is distributed as a source file with all the
    dependencies included.

    What is needed basically is a Compiler to compile the code on the
    machine.
    I have went through a process of eliminating all the no's appearing in
    the setup log file, by downloading the corresponding files from the
    repositories.
    I have downloaded gcc, nedit, gedit, blas, lapack and a lot of other
    files.

    but here is the results of the latest attemp:

    Unable to find file gcc

    I am positive I have downloaded, installed (Using Yast) this file two
    times, I do not understand why it is not located by the setup script



    here is the complete log file,

    --------------------------------------------------------------------------------
    Code_Aster Setup
    revision 3759 2009-01-15 17:47:55Z

    Copyright (c) 2001-2009 EDF R&D - 'redirection'
    (http://www.code-aster.org)
    --------------------------------------------------------------------------------


    --------------------------------------------------------------------------------
    Command line :
    /usr/bin/python setup.py install
    --------------------------------------------------------------------------------


    --------------------------------------------------------------------------------
    Reading config file
    '/home/ahmed/Aster/aster-full-src-9.4.0/setup.cfg'...
    _install_pylotage (from cfg) : True
    PREFER_SHARED_LIBS (from cfg) : True
    _install_omniORB (from cfg) : True
    PREFER_COMPILER (from cfg) : 'GNU'
    ASTER_ROOT (from cfg) : '/home/ahmed/Aster'
    _install_omniORBpy (from cfg) : True
    MAXDEPTH (from cfg) : 5
    SALOME_VERSION (from cfg) : 'DEFAULT'

    --------------------------------------------------------------------------------
    No write access to /usr/lib/python2.6/site-packages
    Python modules will be eventually installed into
    /home/ahmed/Aster/public/lib/python2.6/site-packages

    --------------------------------------------------------------------------------
    Checking for max command length... 32768
    Checking for file... /usr/bin/file
    Checking for ar... (locate)... no
    Checking for architecture... Linux / posix / x86_64
    Checking for Code_Aster platform type... LINUX64
    Checking for bash... (locate)... no
    Checking for ksh... (locate)... no
    Checking for zsh... (locate)... no
    Checking for Python multi-threading... yes
    Checking for gcc... (locate)... no
    Traceback (most recent call last):
    File "setup.py", line 793, in <module>
    main()
    File "setup.py", line 425, in main
    ftools.find_and_set(cfg, 'gcc', cc)
    File "/home/ahmed/Aster/aster-full-src-9.4.0/as_setup.py", line 1666,
    in find_and_set
    % ' or '.join(filenames)
    SetupConfigureError: Unable to find file gcc

    Hi
    What is the output from;
    Code:
    zypper se -i gcc
    You should at least have gcc and gcc43, also came across this incase
    you missed it http://www.code-aster.org/V2/spip.php?article91

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 16:43, 1 user, load average: 0.34, 0.30, 0.20
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22


  5. #5

    Default Re: Has any one succeeded in installing Code Aster on OpenSU

    Hello there
    here is the output of the command zypper se -i gcc

    Loading repository data...
    Reading installed packages...
    [?1034h
    S | Name | Summary | Type
    --+-----------------------------------+-----------------------------------------------------+--------
    i | cross-spu-gcc | The GNU C Compiler for Cell SPU Processors (shared) | package
    i | cross-x86_64-gcc-icecream-backend | The GNU C Compiler and Support Files | package
    i | gcc | The system GNU C Compiler | package
    i | gcc-c++ | The system GNU C++ Compiler | package
    i | gcc-fortran | The system GNU Fortran Compiler | package
    i | gcc-gij | The system GNU Java bytecode interpreter | package
    i | gcc-info | The system GNU Compiler documentation | package
    i | gcc-java | The system GNU Java Compiler | package
    i | gcc-objc | The system GNU Objective C Compiler | package
    i | gcc33 | The GNU C Compiler Version 3.3(evaluation) | package
    i | gcc33-fortran | The GNU Fortran 77 Compiler and Support Files | package
    i | gcc43 | The GNU C Compiler and Support Files | package
    i | gcc43-c++ | The GNU C++ Compiler | package
    i | gcc43-fortran | The GNU Fortran Compiler and Support Files | package
    i | gcc43-gij | Java Bytecode Interpreter for gcc | package
    i | gcc43-info | Documentation for the GNU compiler collection | package
    i | gcc43-java | The GNU Java Compiler | package
    i | gcc43-objc | GNU Objective C Compiler | package
    i | libgcc43 | C compiler runtime library | package
    i | libgcc43-32bit | C compiler runtime library | package

    both gcc and gcc43 are there. Why, if I may ask, the libgcc43-32bit is there, should not it be 64bit, I am totally confused. I used the original dvd to update my computer operating system to OpenSuse 11.1
    Am I doing something wrong?
    I highly appreciate your assistance

  6. #6
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,249
    Blog Entries
    15

    Default Re: Has any one succeeded in installing Code Aster on OpenSUSE11

    Quote Originally Posted by rhoahmed
    Hello there
    here is the output of the command zypper se -i gcc

    Loading repository data...
    Reading installed packages...
    <snip>
    both gcc and gcc43 are there. Why, if I may ask, the libgcc43-32bit is
    there, should not it be 64bit, I am totally confused. I used the
    original dvd to update my computer operating system to OpenSuse 11.1
    Am I doing something wrong?
    I highly appreciate your assistance
    Hi
    I would get rid of any of the gcc stuff that is not 4.3 related as if
    you run the command 'which gcc' then do an ls -la on the command you
    may find it's softlinked to the incorrect version!

    Having the 32 bit libraries is fine, if you want to compile for 32 bit
    system you can.

    For the above commands my output is;
    Code:
    which gcc
    /usr/bin/gcc
    ls -la /usr/bin/gcc
    lrwxrwxrwx 1 root root 7 2009-01-24 21:31 /usr/bin/gcc -> gcc-4.3
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86_64 Kernel 2.6.27.7-9-default
    up 9:04, 1 user, load average: 0.15, 0.09, 0.08
    GPU GeForce 8600 GTS Silent - Driver Version: 180.22


  7. #7

    Default Re: Has any one succeeded in installing Code Aster on OpenSU

    Quote Originally Posted by malcolmlewis View Post
    Hi
    I would get rid of any of the gcc stuff that is not 4.3 related as if
    you run the command 'which gcc' then do an ls -la on the command you
    may find it's softlinked to the incorrect version!

    Having the 32 bit libraries is fine, if you want to compile for 32 bit
    system you can.

    For the above commands my output is;
    Code:
    which gcc
    /usr/bin/gcc
    ls -la /usr/bin/gcc
    lrwxrwxrwx 1 root root 7 2009-01-24 21:31 /usr/bin/gcc -> gcc-4.3
    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86_64 Kernel 2.6.27.7-9-default
    up 9:04, 1 user, load average: 0.15, 0.09, 0.08
    GPU GeForce 8600 GTS Silent - Driver Version: 180.22

    The output I get is similar to what you have posted.
    I went through the setup log file (created after the installer finishes) and have the following (Please read the last two lines)

    for gfortran... /usr/bin/gfortran
    Checking for compiler version... GNU Fortran (SUSE Linux) 4.3.2 [gcc-4_3-branch revision 141291]
    Checking for pthread... -L/usr/lib64 -lpthread (already found)
    Checking for z... -L/usr/lib64 -lz (already found)
    Checking for liblapack.a... /usr/lib64/liblapack.a
    Checking for libblas.a... /usr/lib64/libblas.a
    Checking for libstdc++.so... /usr/lib64/gcc/x86_64-suse-linux/4.3/libstdc++.so
    Checking for F77 (/usr/bin/gfortran) is gfortran... yes
    Checking for libg2c.a...(locate)... no
    Checking for libg2c.so... no


    the installer cannot locate libg2c.so and libg2c.a. I searched the repositories and located libg2c33. I ran the installer again, but it gave the same message.

    Could you please help me locate libg2c.so and libg2c.a
    that is the only "no" I get.

    Appreciate your help

  8. #8
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    27,249
    Blog Entries
    15

    Default Re: Has any one succeeded in installing Code Aster on OpenSUSE11

    Quote Originally Posted by rhoahmed
    malcolmlewis;1933718 Wrote:
    > Hi
    > I would get rid of any of the gcc stuff that is not 4.3 related as if
    > you run the command 'which gcc' then do an ls -la on the command you
    > may find it's softlinked to the incorrect version!
    >
    > Having the 32 bit libraries is fine, if you want to compile for 32 bit
    > system you can.
    >
    > For the above commands my output is;
    > >

    Code:
    --------------------
    > >

    > which gcc
    > /usr/bin/gcc
    > ls -la /usr/bin/gcc
    > lrwxrwxrwx 1 root root 7 2009-01-24 21:31 /usr/bin/gcc -> gcc-4.3
    >

    --------------------
    > >

    >
    > --
    > Cheers Malcolm (Linux Counter #276890)
    > openSUSE 11.1 x86_64 Kernel 2.6.27.7-9-default
    > up 9:04, 1 user, load average: 0.15, 0.09, 0.08
    > GPU GeForce 8600 GTS Silent - Driver Version: 180.22



    The output I get is similar to what you have posted.
    I went through the setup log file (created after the installer
    finishes) and have the following (Please read the last two lines)

    for gfortran... /usr/bin/gfortran

    Checking for compiler version... GNU Fortran (SUSE Linux) 4.3.2
    [gcc-4_3-branch revision 141291]
    Checking for pthread... -L/usr/lib64 -lpthread (already found)

    Checking for z... -L/usr/lib64 -lz (already found)

    Checking for liblapack.a... /usr/lib64/liblapack.a

    Checking for libblas.a... /usr/lib64/libblas.a

    Checking for libstdc++.so...
    /usr/lib64/gcc/x86_64-suse-linux/4.3/libstdc++.so
    Checking for F77 (/usr/bin/gfortran) is gfortran... yes

    Checking for libg2c.a...(locate)... no

    Checking for libg2c.so... no


    the installer cannot locate libg2c.so and libg2c.a. I searched the
    repositories and located libg2c33. I ran the installer again, but it
    gave the same message.

    Could you please help me locate libg2c.so and libg2c.a
    that is the only "no" I get.

    Appreciate your help
    Hi
    They are part of gcc33-fortran, so you may need to define the library
    path in your configure statement (see ./configure --help)

    In my case they are in this directory;
    /usr/lib/gcc-lib/i586-suse-linux/3.3.3-hammer/

    --
    Cheers Malcolm (Linux Counter #276890)
    openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
    up 4:44, 1 user, load average: 0.22, 0.34, 0.19
    GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22


Posting Permissions

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