CCA Wiki
CCA Software Resources
Menu [hide]

Gentoo ebuilds

Ebuilds for the entire CCA tool chain ...
print PDF
This is not part of the standard Portage distribution yet and so you have to get them from download as a tar ball.

Requirements: Have a Gentoo Linux distribution

Installing the ebuilds:

  1. Edit /etc/make.conf and set
    PORTDIR_OVERLAY=/usr/local/portage

  1. Type:
    cd /usr/local; tar xvzf cca-tools-ebuilds.tar.gz

Emerging the CCA tool chain:

ACCEPT_KEYWORDS="~x86" emerge ccafe-gui


Options and Details
It is worth examining some of the optional use variables that the packages pay attention to:
glass-slipper local # emerge -pv ccafe-gui

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild  N    ] dev-lang/babel-0.9.8  +fortran -fortran90 +python 0 kB [1]
[ebuild  N    ] sys-cluster/cca-spec-babel-0.7.5  535 kB [1]
[ebuild  N    ] sys-cluster/ccaffeine-0.5.6  -debug +doc -mpi 5,424 kB [1]
[ebuild  N    ] sys-cluster/ccafe-gui-0.5.5  382 kB [1]

Total size of downloads: 6,343 kB
Portage overlays:
 [1] /usr/local/portage


If USE="mpi" is flagged then MPICH will be emerged unless it is already present, see the information below on MPICH shared libraries. If USE=fortran90 is flagged then chasm will be emerged and more information on your f90 compiler must be given in the form of environment variables: F90VENDOR and F90 (see below).



Special considerations apply to Fortran90 and MPICH.

MPICH

Shared libraries for mpich may be required by some components and Ccaffeine will build with shared libraries if they are available. In Gentoo, MPICH is not built with shared libaries (for some reason). To enable shared libraries in MPICH type:

MPICH_CONFIGURE_OPTS="--enable-sharedlib" emerge mpich


Fortran 90/95
Note that two environment variables must be set to give this ebuild a
fighting chance at installing.

1) F90VENDOR must be set to the vendor of the Fortran compiler below:

F90VENDORVendor Name
Absoft Absoft (Mac OS X, linux)
Intel Intel (linux)
Intelv7 Intel (linux, v7)
LaheyLahey (linux)
NAG NAG (Mac OS X, linux)


2) Make sure that the Fortran compiler itself is in environment variable: F90,
such that:

$F90 -c some_fortran.f90


compiles.

Example:
ACCEPT_KEYWORDS="~x86" USE="fortran90 mpi debug" F90VENDOR=Intel F90="/opt/intel_fc_80/bin/ifort" emerge ccafe-gui


Here mpi and debug are requested and we wish to sue the Intel F90 compiler.

Created by: system last modification: Saturday 05 of March, 2005 [00:23:53 UTC] by admin


Online users
3 online users