1 Reply Latest reply on Nov 15, 2010 12:04 PM by Rasale

    Compiling open64 from sources on Ubuntu 10.04 32 bits

    courtois

       

      Hello,

      I'm coming back to compile Code_Aster using open64 compilers. But...

      - I didn't find binaries for 32 bits hosts. Am I wrong ?

      - my first attempt to compile open64 from sources failed. So I post here how I made it work :

      [code]

      cd /opt    # should work (and be better) with /tmp

      tar xjf x86_open64-4.2.4-1.src.tar.bz2

      export TOOLROOT=/opt/x86_open64-4.2.4

      cd $TOOLROOT

      make all MACHINE_TYPE=i386 SHELL=/bin/bash

       

      export TOOLROOT=/opt/open64-4.2.4

      ./install_compiler.sh i386

      make lib MACHINE_TYPE=i386 SHELL=/bin/bash BUILD_COMPILER=OSP

       

      ./install_compiler.sh i386

      [/code]
      It seems work. I compiled and linked Code_Aster always with the same error : see old post.
      But there are broken symbolic links in /opt/open64-4.2.4/lib/gcc-lib/x86_64-open64-linux/4.2.4 :
      libacml_mv.so
      libhugetlbfs_open64.so
      libmv.so
      libopenmp.so : their ".so.1" do not exist in this directory. They are in the "32" subdirectory.
      MC


        • Compiling open64 from sources on Ubuntu 10.04 32 bits
          Rasale

          Hi Courtois,

           

          Can you try building Open64 sources on 64 bit Ubuntu?

           

          Building on 64 bit OS should  resolve all the symbols under “/opt/open64-4.2.4/lib/gcc-lib/x86_64-open64-linux/4.2.4”  . Building on  the 32-bit OS, the required files to build the 64-bit libraries, don’t exist and so you do not see the above mentioned “.so” in the 64-bit libraries path but you see them in the 32-bit libraries path. So would recommend building Open64 sources on 64 bit OS which then fully  enable you to build 32 /64 bit application.

           

           

          Thanks,

          Anupama