mathemagix

Ceci est une ancienne révision du document !


Installation

  • voir /local/apps/src
  • bug avec compilo gcc 4.1:
devel1@octopus egg]$ make
g++ -DHAVE_CONFIG_H   -I../include  -I/local/apps/src/mmx/basix/include -I/usr/local/include -I/local/apps/src/mmx/basix/include -I/usr/local/include  -ggdb -ansi -Wall -O3 -fexpensive-optimizations -ftemplate-depth-100 -mssse3 -Wno-all -MT mma-mma.o -MD -MP -MF .deps/mma-mma.Tpo -c -o mma-mma.o `test -f 'mma.cpp' || echo './'`mma.cpp
cc1plus: error: unrecognized command line option "-Wno-all"
make: *** [mma-mma.o] Error 1

mais configure n'honore pas la variable CXX :!: on met en dur dans le Makefile correspondant g++44 et ça passe

  • autre bug:
/usr/bin/ld: /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libmpfr.a(exceptions.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libmpfr.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [libnumerix.la] Error 1
make[2]: Leaving directory `/local/apps/src/mmx/numerix/build'
  • installé une version plus récente de cmake /local/apps/cmake-2.8.1
  • échec à l'exécution
[henry@octopus ~]$ /local/apps/minimix-0.1.2/bin/mmx-light
--------------------------------------------------------------
|:*)          Welcome to Mathemagix-light 0.1             (*:|
|  This software falls under the GNU General Public License  |
|          It comes without any warranty whatsoever          |
|------------------------------------------------------------|
|                    (c) 2001--2010 by                       |
|           Joris van der Hoeven, Gregoire Lecerf,           |
|        Bernard Mourrain, Olivier Ruatta and others         |
--------------------------------------------------------------
terminate called after throwing an instance of 'mmx::exception'
Abort
  • dans /local/apps/Mathemagix-0.4-linux32
  • voir /usr/bin/mmx-light
  • mathemagix.1274862370.txt.gz
  • Dernière modification : 2017/08/25 09:55
  • (modification externe)