3488
Comment: gcc
|
4605
|
Deletions are marked like this. | Additions are marked like this. |
Line 14: | Line 14: |
=== About Scientific Linux 5 at DESY, Zeuthen === | |
Line 15: | Line 16: |
=== About Scientific Linux 5 at DESY, Zeuthen === |
|
Line 37: | Line 35: |
* Notice there is '''''no ''firewire support''' | |
Line 49: | Line 48: |
* The default compiler suite is GCC 4.1.1. It is much stricter than previous versions, some C and C++ code needs to be adapted. * gcc 4 hints for fixing the typical new compiler errors: http://dev.gentoo.org/~vanquirius/gcc4-porting-guide.html * GCC comes with gfortran, a new Fortran 95 compiler. It replaces the old g77, but it is not a 100% compatible replacement. That's why g77 from GCC 3.4.6 is included as well. |
==== GCC ==== * The default compiler suite is GCC 4.1.1. * The compatibility release 3.4.6 (default on SL4, available on SL3) is installed as well. * Invoke as `gcc34`, `g++34`, `g77` ||<style="background-color: #FF7777;"> <!> `g77` is the FORTRAN frontend from the ''old'' compiler. The new frontend is `gfortran` .|| * GCC4 is much stricter than previous versions, some C and C++ code may need to be adapted * GCC4 hints for fixing the typical new compiler errors: http://dev.gentoo.org/~vanquirius/gcc4-porting-guide.html ==== Intel ==== Version 9.1 of the C, C++, and FORTRAN compilers are available. The 32-bit runtime environment is installed on 64-bit Systems as well. * Invoke as `icc`, `icpc`, `ifort` ==== Portland Group ==== Version 7.0 of the PGI compiler is installed. The 32-bit runtime system is available on 64-bit hosts. * Invoke as `cc`, `CC`, `f77`, `f90` after `ini pgi` === Java === Version 1.5 is the default and installed locally. It's 32-bit even on 64-bit systems, to make the browser plugin work. Versions 1.4.2 and 1.6 are available in /opt/products, as well as a 64-bit Version of 1.5. === ROOT === We provide version 5.14.00 built with GCC4. Older versions for older compilers could be provided on request. As on SL3/4, the 64-bit build is installed in /opt/products/root64, the 32-bit one in /opt/products/root. |
Line 54: | Line 75: |
* no Atrans/afscp * no afs_admin * no matlab on 64-bit |
==== Software that will not be available on SL5 ==== * `Atrans/afscp` ==== Software is not yet available, but will be eventually ==== * `afs_admin` * ICA/Wincenter |
PRELIMINARY |
General Points
AFS Sysname List
The AFS sysname list (the output of the fs sysname command) in Zeuthen is:
Platform |
Sysname List |
|||||||
32bit (i686) |
|
|
|
i586_rhel50 |
i386_linux26 |
i586_rhel30 |
i586_linux24 |
i386_linux24 |
64bit (x86_64) |
amd64_rhel50 |
amd64_linux26 |
amd64_rhel30 |
i586_rhel50 |
i386_linux26 |
i586_rhel30 |
i586_linux24 |
i386_linux24 |
About Scientific Linux 5 at DESY, Zeuthen
Removable Media and Hotplug Storage Devices
Mount points are now in /media. They are created at mount time, not after plugging the device. No fstab entries are used, that's why you cannot use the usual mount and umount commands. The names of the mount points are taken from the file system's volume label if applicable. They are removed when the device is removed.
Manual Mounting If the automatic mounting of devices by GNOME/KDE is not used, gnome-mount can be called manually like this, using the appropriate device file:
gnome-mount -d /dev/sda1 gnome-umount -d /dev/sda1
Hotplug should work better than on SL3 or SL4, thanks to the more modern kernel and hotplug scripts. It is known to not work perfectly in all cases though.
- Multiple partitions on USB storage devices should work now, at least if all partitions have a supported filesystem, and the partition table format is legal.
The new hotplug system does not assign ownership of the device to the user. Hence you can't partition the device or create filesystems, unlike on SL3.
- The new hotplug system will clean up properly if a mounted device if removed, and it no longer causes problems to log out while a hotplug device is mounted. Notice the GNOME desktop will automount filesystems on hotplug devices when they are
It is still recommended to always umount all filesystems on a hotplug device before removing it physically, and before logging off from the console.
connected. This feature can be turned off under System->Preferences->Removable Storage:BRattachment:g-v-p.png
Notice there is no firewire support
Backward Compatibility
Binaries
SL5 should be binary backward compatible with SL4. This means that executables built on and for SL4 should work on SL5. It does not mean that any executable that works on SL4 will work on SL5 as well: If it worked only due to legacy support before, it may no longer work on SL5.
In particular, binaries that depend on setting the environment variable $LD_ASSUME_KERNEL to a value lower than 2.6.9 won't work on SL5.
Software
Compilers
GCC
- The default compiler suite is GCC 4.1.1.
- The compatibility release 3.4.6 (default on SL4, available on SL3) is installed as well.
Invoke as gcc34, g++34, g77
g77 is the FORTRAN frontend from the old compiler. The new frontend is gfortran .
- GCC4 is much stricter than previous versions, some C and C++ code may need to be adapted
GCC4 hints for fixing the typical new compiler errors: http://dev.gentoo.org/~vanquirius/gcc4-porting-guide.html
Intel
Version 9.1 of the C, C++, and FORTRAN compilers are available. The 32-bit runtime environment is installed on 64-bit Systems as well.
Invoke as icc, icpc, ifort
Portland Group
Version 7.0 of the PGI compiler is installed. The 32-bit runtime system is available on 64-bit hosts.
Invoke as cc, CC, f77, f90 after ini pgi
Java
Version 1.5 is the default and installed locally. It's 32-bit even on 64-bit systems, to make the browser plugin work.
Versions 1.4.2 and 1.6 are available in /opt/products, as well as a 64-bit Version of 1.5.
ROOT
We provide version 5.14.00 built with GCC4. Older versions for older compilers could be provided on request.
As on SL3/4, the 64-bit build is installed in /opt/products/root64, the 32-bit one in /opt/products/root.
Known Problems
Software that will not be available on SL5
Atrans/afscp
Software is not yet available, but will be eventually
afs_admin
- ICA/Wincenter