Difference: CompilerFlorianUhlig (1 vs. 6)

Revision 6
14 Sep 2016 - Main.FlorianUhlig
Line: 1 to 1
 
META TOPICPARENT name="HomepageFlorianUhlig"

Installation of the Intel compiler suite

Line: 21 to 21
 
  • Inside both directories create the file USE_SERVER.lic with the following content
SERVER licenseserver.gsi.de ANY 27000
Changed:
<
<
USE_SERVER
>
>
USE_SERVER
 
  • Set all access rights correctla
    • find . -type d -exec chmod o+rx {} \;
    • find . -type f -exec chmod o+r {} \;
Added:
>
>
  • Copy and update the module files inside /cvmfs/it.gsi.de/modulefiles/compiler/intel
  • Syncronize the local cvmfs directory with the cvmfs server
    • sudo cvmfs-remote publish it.gsi.de
  • Check on one of the kronos nodes if the compilation of some c++ and fortran test programs work
 

Installation of open 64

Line: 81 to 83
 
    • cd
    • make install
Changed:
<
<
-- FlorianUhlig - 31 Jan 2012
>
>
-- FlorianUhlig - 31 Jan 2012</verbatim>
 

META FILEATTACHMENT attr="" comment="Set of packages installed on the machine used to build the open64 compiler." date="1328008183" name="packaged_lxb100.txt" path="packaged_lxb100.txt" size="130533" user="FlorianUhlig" version="1.1"
META FILEATTACHMENT attr="" comment="Tar file with debian directory to build an deb package for the open64 compiler." date="1328008422" name="debian_open64.tar.gz" path="debian_open64.tar.gz" size="2726" user="FlorianUhlig" version="1.1"
Revision 5
12 Sep 2016 - Main.FlorianUhlig
Line: 1 to 1
 
META TOPICPARENT name="HomepageFlorianUhlig"

Installation of the Intel compiler suite

Line: 12 to 12
 
    • Accept the license terms.
    • Choose two times the option 3 to check the license using a license server.
    • If asked for the license server enter 27000@licenseserver.gsi.de.
Changed:
<
<
    • If asked for the installation directory choose cvmfs/it.gsi.de/compiler/intel//
>
>
    • If asked for the installation directory choose cvmfs/it.gsi.de/compiler/intel//
 
    • If the installtion process complains about some missing libraries please install them.
Added:
>
>
  • Create in the following directories of the installation directory the subdirectories licenses * compilers_and_libraries_2017.0.098/linux * compilers_and_libraries_2017/linux
  • Inside both directories create the file USE_SERVER.lic with the following content
SERVER licenseserver.gsi.de ANY 27000
USE_SERVER
  • Set all access rights correctla
    • find . -type d -exec chmod o+rx {} \;
    • find . -type f -exec chmod o+r {} \;
 

Installation of open 64

  • Install the needed packages via apt. A text file with the packages installed on the build machine is attached. I don't know if really all of them are needed.
Line: 42 to 53
 
MULTILIB_OPTIONS = m64/m32
MULTILIB_DIRNAMES = 64 32 
Changed:
<
<
MULTILIB_OSDIRNAMES = ../lib64 ../lib
>
>
MULTILIB_OSDIRNAMES = ../lib64 ../lib
 

has to be changed to

MULTILIB_OPTIONS = m64/m32
MULTILIB_DIRNAMES = 64 32 
Changed:
<
<
MULTILIB_OSDIRNAMES = ../lib ../lib32
>
>
MULTILIB_OSDIRNAMES = ../lib ../lib32
 

  • There is a problem with a yacc file in the build directory (gcc/c-parse.y) which can not be processed with the version of bison available on squeeze, so this file has to be patched. The patch is attached to this page. I don't know exactly if the file is already existing after the configure step or if it is created later. So if the file is not there after configure start the make procedure and wait until the compiler complains about a problem with parse-c.y. Copy the file in the gcc directory in side the build directory, patch the file and rerun make. Information can be found here
    • cd /gcc
    • cp /c-parse.y .
Changed:
<
<
    • patch -p0 < c-parse.y
>
>
    • patch -p0 < c-parse.y
 
    • cd ..
    • make
Line: 73 to 81
 
    • cd
    • make install
Changed:
<
<

-- FlorianUhlig - 31 Jan 2012
>
>
-- FlorianUhlig - 31 Jan 2012
 

META FILEATTACHMENT attr="" comment="Set of packages installed on the machine used to build the open64 compiler." date="1328008183" name="packaged_lxb100.txt" path="packaged_lxb100.txt" size="130533" user="FlorianUhlig" version="1.1"
META FILEATTACHMENT attr="" comment="Tar file with debian directory to build an deb package for the open64 compiler." date="1328008422" name="debian_open64.tar.gz" path="debian_open64.tar.gz" size="2726" user="FlorianUhlig" version="1.1"
Revision 4
29 Jan 2014 - Main.FlorianUhlig
Line: 1 to 1
 
META TOPICPARENT name="HomepageFlorianUhlig"

Installation of the Intel compiler suite

Line: 83 to 83
 
META FILEATTACHMENT attr="" comment="Set of packages installed on the machine used to build the open64 compiler." date="1328008183" name="packaged_lxb100.txt" path="packaged_lxb100.txt" size="130533" user="FlorianUhlig" version="1.1"
META FILEATTACHMENT attr="" comment="Tar file with debian directory to build an deb package for the open64 compiler." date="1328008422" name="debian_open64.tar.gz" path="debian_open64.tar.gz" size="2726" user="FlorianUhlig" version="1.1"
META FILEATTACHMENT attr="" comment="Patch file for c-parse.y" date="1328777240" name="c-parse.patch" path="c-parse.patch" size="1217" user="FlorianUhlig" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="" comment="Skript for automatic build of gcc" date="1390984708" name="build_gcc.sh" path="build_gcc.sh" size="2911" user="FlorianUhlig" version="1.1"
META FILEATTACHMENT attr="" comment="Script for automatic build of clang and libc++" date="1390984737" name="build_clang.sh" path="build_clang.sh" size="3581" user="FlorianUhlig" version="1.1"
Revision 3
22 Jan 2014 - Main.FlorianUhlig
Line: 1 to 1
 
META TOPICPARENT name="HomepageFlorianUhlig"
Added:
>
>

Installation of the Intel compiler suite

  • Get the installation packages from Intel (This is normally done by Helmut Kresier)
  • Get the license files and install them on the FlexLM server (licenseserver.gsi.de). The licences normally are available from Helmut Kreiser. The installation of the files has do be done by one of the Sysadmins. The last time this was done and documented in the Wiki by Stefan Haller.

  • Copy the installation files to the correct build server. Unpack the tar files, enter the directory and run the install.sh script.
  • Follow the instructions given on the screen.
    • Installation option 3 (Install as current user) is the correct option.
    • If the warning that the OS isn't supported is importatnt I can't judge in the moment, so kkip the missing optional pre-requisites and go on with the installation.
    • Accept the license terms.
    • Choose two times the option 3 to check the license using a license server.
    • If asked for the license server enter 27000@licenseserver.gsi.de.
    • If asked for the installation directory choose cvmfs/it.gsi.de/compiler/intel//
    • If the installtion process complains about some missing libraries please install them.
 

Installation of open 64

  • Install the needed packages via apt. A text file with the packages installed on the build machine is attached. I don't know if really all of them are needed.
Revision 2
09 Feb 2012 - Main.FlorianUhlig
Line: 1 to 1
 
META TOPICPARENT name="HomepageFlorianUhlig"
Changed:
<
<
Installation of open 64
>
>

Installation of open 64

 

  • Install the needed packages via apt. A text file with the packages installed on the build machine is attached. I don't know if really all of them are needed.

Line: 13 to 13
 
  • Run make and make install
  • Copy everything to lxbuild02 and publish it on CVMFS.
Added:
>
>

Installation of gcc 3.4.6

  • Download the source code from the gcc web page
    • svn co svn://gcc.gnu.org/svn/gcc/tags/gcc_3_4_6_release

  • Create a separate build directory and run configure in this newly build directory
    • mkdir build-gcc-3.4.6 && cd build-gcc-3.4.6
    • ../gcc-3.4.6/configure --prefix=/cvmfs/it.gsi.de/compiler/gcc/3.4.6 --enable-languages=c,c++,f77

  • Since with Debian Squeeze there was a chnage of the lib directories one has to edit one definition file used during the make process that during linking the correct libraries are found. I older linux version lib contains the 32bit libraries and there was an lib64 directory for the 64bit libraries. With Squeeze there was a change. Now lib contains the 64bit libraries and there is an extra directory lib32 for the 32bit libraries. One has to change the file gcc/config/i386/t-linux64 in the source code of gcc-3.4.6. the rows

MULTILIB_OPTIONS = m64/m32
MULTILIB_DIRNAMES = 64 32 
MULTILIB_OSDIRNAMES = ../lib64 ../lib

has to be changed to

MULTILIB_OPTIONS = m64/m32
MULTILIB_DIRNAMES = 64 32 
MULTILIB_OSDIRNAMES = ../lib ../lib32

  • There is a problem with a yacc file in the build directory (gcc/c-parse.y) which can not be processed with the version of bison available on squeeze, so this file has to be patched. The patch is attached to this page. I don't know exactly if the file is already existing after the configure step or if it is created later. So if the file is not there after configure start the make procedure and wait until the compiler complains about a problem with parse-c.y. Copy the file in the gcc directory in side the build directory, patch the file and rerun make. Information can be found here
    • cd /gcc
    • cp /c-parse.y .
    • patch -p0 < c-parse.y
    • cd ..
    • make

  • Create gcc by running make in the build directory
    • cd
    • make

  • If required run the test suite
    • cd
    • make -k check

  • Install gcc
    • cd
    • make install

  -- FlorianUhlig - 31 Jan 2012

META FILEATTACHMENT attr="" comment="Set of packages installed on the machine used to build the open64 compiler." date="1328008183" name="packaged_lxb100.txt" path="packaged_lxb100.txt" size="130533" user="FlorianUhlig" version="1.1"
META FILEATTACHMENT attr="" comment="Tar file with debian directory to build an deb package for the open64 compiler." date="1328008422" name="debian_open64.tar.gz" path="debian_open64.tar.gz" size="2726" user="FlorianUhlig" version="1.1"
Added:
>
>
META FILEATTACHMENT attr="" comment="Patch file for c-parse.y" date="1328777240" name="c-parse.patch" path="c-parse.patch" size="1217" user="FlorianUhlig" version="1.1"
 
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding CBM Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)