SageMath 6.8 compiling on Fedora 22 atlas and iml build errors

99 views
Skip to first unread message

Brenton Horne

unread,
Aug 3, 2015, 4:42:59 AM8/3/15
to sage-devel
Hi,

I attempted to compile SageMath 6.8 from source on 32-bit Fedora 22 and I received this error message:

Error building Sage.

The following package(s) may have failed to build (not necessarily
during
this run of 'make all'):

* package: atlas-3.10.2
  log file
: /home/fusion809/Programs/sage-6.8/logs/pkgs/atlas-3.10.2.log
  build directory
: /home/fusion809/Programs/sage-6.8/local/var/tmp/sage/build/atlas-3.10.2

* package: iml-1.0.4p1
  log file
: /home/fusion809/Programs/sage-6.8/logs/pkgs/iml-1.0.4p1.log
  build directory
: /home/fusion809/Programs/sage-6.8/local/var/tmp/sage/build/iml-1.0.4p1

The build directory may contain configuration files and other potentially
helpful information
. WARNING: if you now run 'make' again, the build
directory will
, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to
'yes' to prevent this.

Makefile:16: recipe for target 'all' failed
make
: *** [all] Error 1


My log files are attached.

Thanks for your time,
Brenton
atlas-3.10.2.log
iml-1.0.4p1.log

Volker Braun

unread,
Aug 3, 2015, 8:05:49 AM8/3/15
to sage-devel
Fails with rm: cannot remove 'atlas-3.10.2/src/ATLAS-build/tune/blas/gemm/res': Directory not empty

Are you building on a local file system? Building on network file systems tends to not work.

Brenton Horne

unread,
Aug 3, 2015, 11:16:26 PM8/3/15
to sage-devel
Local file system. This is being done on a virtual machine running 32-bit Fedora 22. I managed to overcome these atlas/iml errors by running:
sudo dnf install atlas iml*

But now I have a scipy error, namely:
Error building Sage.

The following package(s) may have failed to build (not necessarily
during
this run of 'make all'):

* package: scipy-0.14.0
  log file
: /home/fusion809/Programs/sage-6.8/logs/pkgs/scipy-0.14.0.log
  build directory
: /home/fusion809/Programs/sage-6.8/local/var/tmp/sage/build/scipy-0.14.0


The build directory may contain configuration files and other potentially
helpful information
. WARNING: if you now run 'make' again, the build
directory will
, by default, be deleted. Set the environment variable
SAGE_KEEP_BUILT_SPKGS to
'yes' to prevent this.

Makefile:16: recipe for target 'all' failed
make
: *** [all] Error 1

I have attached my scipy log file. Running
sudo dnf install scipy
does not appear to solve this problem.
scipy-0.14.0.log

Volker Braun

unread,
Aug 4, 2015, 3:34:52 AM8/4/15
to sage-devel
Sage can't use the ATLAS version that F22 ships with. Your compilation might have failed because its difficult to tune ATLAS; You should try again:

make distclean
export SAGE_ATLAS_ARCH=base      # less ATLAS tuning, or "fast", or see manual
make

Brenton Horne

unread,
Aug 4, 2015, 5:07:26 AM8/4/15
to sage-...@googlegroups.com
Ah I'm a programming noob, "base" is what needs to be on the RHS or is that your shorthand for the full path of where I'm building sage? 

--
You received this message because you are subscribed to a topic in the Google Groups "sage-devel" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/sage-devel/zLgLUJ91gNE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to sage-devel+...@googlegroups.com.
To post to this group, send email to sage-...@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.



--

Volker Braun

unread,
Aug 4, 2015, 6:14:26 AM8/4/15
to sage-devel
Just "base" as string:

export SAGE_ATLAS_ARCH=base
Reply all
Reply to author
Forward
0 new messages