Page 1 of 1

script "tarballs" not working

Posted: 14 Apr 2011, 15:46
by maudi
Hello,

this must be an easy question, but I am a polymake newbie. I use polymake 2.9.9 on openSUSE 11.4. and have unfortunately a little trouble in using it.

A problem appeared with the “How to: Saving and Restoring an Array of Polytopes“ (http://polymake.org/doku.php/howto/tarballs) on my older version of polymake using openSUSE 11.4.

I followed the steps as described and got the following error:

polytope > pack_tarball("simple_polytopes.tgz",@a);
polymake: ERROR: Object Polytope<Rational> does not have a property or method file_suffix at input line 1

I tried the same with the workshop version on the Ubuntu live CD (USB Stick) and it worked.
Installing the workshop version 2.9.10 on openSUSE 11.4 failed.
Did anybody get the version 2.9.10 installed on openSUSE 11.4?

What cold be wrong or did I forget to install some necessary software?

Thanks for your help!
Mandy

Re: script "tarballs" not working

Posted: 14 Apr 2011, 16:03
by herr
Could you specify the problem with the installation of polymake 2.9.10? Is there an error message? Maybe, the correct version of GMP or MPFR is missing...

Re: script "tarballs" not working

Posted: 14 Apr 2011, 16:39
by blorenz
I can confirm that polymake 2.9.10 runs on opensuse 11.4 (x86_64) as this is one of our testsystems.
The configure script should tell you if there is anything missing. If in doubt, just post any error message you get.

One thing I would recommend for openSUSE 11.4 is to pass

Code: Select all

CXXOPT=-O1
to configure.
(The only available gcc is version 4.5 which has some strange optimizations which might break parts of polymake with the default -O3 level).

Re: script "tarballs" not working

Posted: 14 Apr 2011, 16:42
by joswig
Actually, -O1 is quite harsh (in terms of performance). Another option (if performance does matter) build a vanilla gcc 4.3 or 4.4 from scratch and use that one.

Re: script "tarballs" not working

Posted: 14 Apr 2011, 16:52
by paffenholz
The failure of the tarball script is a known error in 2.9.9. You will need version 2.9.10 if you want to use it.

Re: script "tarballs" not working

Posted: 14 Apr 2011, 18:34
by maudi
Many thanks to all for the quick answers!
It was very helpful!

With the hint using CXX0PT=-1 the new version could be installed.

I am sure, this was not my last question ;-)