Building SAGE 9.0 on openSUSE (Leap 15.1) fails at scipy

48 views
Skip to first unread message

Mikhail Malakhaltsev

unread,
Jan 4, 2020, 10:24:40 AM1/4/20
to sage-devel
Dear colleagues, 
I have the following problem.

The compilation of SAGE 9.0 from source is terminated by
*********************************************************************
[scipy-1.2.0]     Fatal Error: error writing to /tmp/ccIBG4L0.s: No space left on device
[scipy-1.2.0]     compilation terminated.
[scipy-1.2.0]     gfortran:f77: scipy/fftpack/src/dfftpack/zffti1.f
[scipy-1.2.0]     scipy/fftpack/src/dfftpack/dfftf1.f:62:0:
[scipy-1.2.0] 
[scipy-1.2.0]            END
[scipy-1.2.0] 
[scipy-1.2.0]     Fatal Error: error writing to /tmp/ccfIV1qY.s: No space left on device
[scipy-1.2.0]     compilation terminated.
[scipy-1.2.0]     scipy/fftpack/src/dfftpack/zfftb1.f:64:0:
[scipy-1.2.0] 
[scipy-1.2.0]            END
[scipy-1.2.0] 
[scipy-1.2.0]     Fatal Error: error writing to /tmp/cc7a1xUc.s: No space left on device
[scipy-1.2.0]     compilation terminated.
[scipy-1.2.0]     scipy/fftpack/src/dfftpack/zfftf1.f:64:0:
[scipy-1.2.0] 
[scipy-1.2.0]            END
[scipy-1.2.0] 
[scipy-1.2.0]     Fatal Error: error writing to /tmp/cc9ZGXMf.s: No space left on device
[scipy-1.2.0]     compilation terminated.
[scipy-1.2.0]     error: Command "gfortran -Wall -g -ffixed-form -fno-second-underscore -fPIC -O3 -funroll-loops -I/home/prince_add/sage-9.0/local/lib/python3.7/site-packages/numpy/core/include -c -c scipy/fftpack/src/dfftpack/dfftb1.f -o build/temp.linux-x86_64-3.7/scipy/fftpack/src/dfftpack/dfftb1.o" failed with exit status 1
[scipy-1.2.0]     Running setup.py install for scipy: finished with status 'error'
********************************************************************************************
I do not understand what is the problem because /dev/root with subdirectory /tmp has 23G free, and the device where I am building SAGE has 212 G free.
Can you help me?

Dima Pasechnik

unread,
Jan 4, 2020, 11:17:03 AM1/4/20
to sage-devel
Probably your /tmp is not where you think it is.
Could you post the output of the shell command

df -h
> --
> You received this message because you are subscribed to the Google Groups "sage-devel" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/ff5fe4b3-d3a5-449a-b70f-44191bdb5e9b%40googlegroups.com.

Mikhail Malakhaltsev

unread,
Jan 4, 2020, 11:56:12 AM1/4/20
to sage-devel
>Probably your /tmp is not where you think it is.
>Could you post the output of the shell command

>df -h
You are right, Dima.
The output is
**************************************
Filesystem      Size  Used Avail Use% Mounted on
devtmpfs        9.8G     0  9.8G   0% /dev
tmpfs           9.8G   98M  9.7G   1% /dev/shm
tmpfs           9.8G  9.8M  9.8G   1% /run
tmpfs           9.8G     0  9.8G   0% /sys/fs/cgroup
/dev/sda7        40G   15G   23G  39% /
/dev/sda1       360M  5.0M  355M   2% /boot/efi
/dev/sda2       124M  1.7M  116M   2% /tmp
/dev/sda8       538G  410G  128G  77% /home
/dev/sda3       322G   95G  212G  31% /home/prince_add
tmpfs           2.0G   20K  2.0G   1% /run/user/461
tmpfs           2.0G   36K  2.0G   1% /run/user/1000
********************************************
So /tmp is mounted to /dev/sda2 with only 124M :(
However, up to now I had no problem with it.
So can I leave /tmp as is but change some variable for the compilation process use another space?
Thank you very much.
> To unsubscribe from this group and stop receiving emails from it, send an email to sage-...@googlegroups.com.

Mikhail Malakhaltsev

unread,
Jan 4, 2020, 12:59:49 PM1/4/20
to sage-devel
I have set the variable TMPDIR  to a directory with sufficient space, and the compilation of scipy was successfull.
Thank you very much, Dima!
Reply all
Reply to author
Forward
0 new messages