Sabayon / Gentoo platform

Asked by Alexander Jarosch

Dear dorsal development team,

I just installed Dolfin with help from dorsal and so I created a
platform file which works for Sabayon Linux and should also work for
Gentoo. I did not test the Gentoo version, since I do not have a pure
Gentoo running, but the Sabayon Linux platform works. So I thought I
share the platform with you. I am not sure if I should open a blueprint for
this, so I attach the platform file here.

# Sabayon Linux 5.x
#
# If you are unfamiliar with mixing portage and equo under Sabayon,
please read:
#
#
http://wiki.sabayon.org/index.php?title=HOWTO:_Safely_mix_Entropy_and_Portage
#
# This build script assumes that you have the following packages
# already installed via Sabayon's equo:
#
# equo install --ask scons bzr libxml2 numpy vtk swig boost \
# gmp cln lapack mpfr
#
# you will also need to emerge these packages on top of the equo command
#
# USE='supernodal mpi metis cxx fortran threads' emerge -av suitesparse \
# scientificpython openmpi
#
# should you get a problem with the UFC when you have python enabled,
export those two paths:
#
# export
PYTHONPATH=${PYTHONPATH}:${HOME}/Work/FEniCS/lib64/python2.6/site-packages
# export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${HOME}/Work/FEniCS/lib
#
# for Gentoo this script should work also, because Sabayon is based on
Gentoo, so one
# should simply emerge all needed packages like:
#
# USE='supernodal mpi metis cxx fortran threads' emerge -av suitesparse \
# scientificpython openmpi scons bzr libxml2 numpy vtk swig boost scons \
# bzr libxml2 numpy vtk swig boost
#
# I did not test the pure gentoo installation yet!

# Platform specific variables
default PETSC_ARCH=linux-gnu-c-opt
default SCOTCH_ARCH=i686_pc_linux2
default UMFPACK_DIR=/usr
default BOOST_DIR=/usr
default GMP_DIR=/usr

# Define the packages this platform needs
PACKAGES=(
parmetis
petscwithmumps
slepc
# ginac
# swiginac
mtl
trilinos
scotch
cgal
fiat
ferari
ufc
ufl
ffc
# syfi
viper
instant
dolfin
)

Take Care,
Alexice

Question information

Language:
English Edit question
Status:
Answered
For:
Dorsal Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Harish Narayanan (hnarayanan) said :
#1

Thank you!

If you create a bug ("Dorsal doesn't work wth Sabayon/Gentoo," or something) and attach this .platform file, I will add it to Dorsal.

Can you help with this problem?

Provide an answer of your own, or ask Alexander Jarosch for more information if necessary.

To post a message you must log in.