error on installation

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
safoura tanbakouei
Posts: 6
Joined: April 25 2016
Affiliation: UAB

error on installation

Post by safoura tanbakouei » April 25 2016

I tried to install camb on python. but I get error 127. and it suid the compilation error.

I need help in asap.
Thanks

Antony Lewis
Posts: 1369
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: error on installation

Post by Antony Lewis » April 26 2016

Please give full error message and strack trace, plus python distribution version and gfortran version details etc.

safoura tanbakouei
Posts: 6
Joined: April 25 2016
Affiliation: UAB

error on installation

Post by safoura tanbakouei » April 26 2016

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running install
Compiling source...
mkdir -p Releaselib
IReleaselib/ -c constants.f90 -o Releaselib/constants.o
make: IReleaselib/: Command not found
make: [Releaselib/constants.o] Error 127 (ignored)
IReleaselib/ -c utils.F90 -o Releaselib/utils.o
make: IReleaselib/: Command not found
make: [Releaselib/utils.o] Error 127 (ignored)
IReleaselib/ -c subroutines.f90 -o Releaselib/subroutines.o
make: IReleaselib/: Command not found
make: [Releaselib/subroutines.o] Error 127 (ignored)
IReleaselib/ -c inifile.f90 -o Releaselib/inifile.o
make: IReleaselib/: Command not found
make: [Releaselib/inifile.o] Error 127 (ignored)
IReleaselib/ -c power_tilt.f90 -o Releaselib/power_tilt.o
make: IReleaselib/: Command not found
make: [Releaselib/power_tilt.o] Error 127 (ignored)
IReleaselib/ -c recfast.f90 -o Releaselib/recfast.o
make: IReleaselib/: Command not found
make: [Releaselib/recfast.o] Error 127 (ignored)
IReleaselib/ -c reionization.f90 -o Releaselib/reionization.o
make: IReleaselib/: Command not found
make: [Releaselib/reionization.o] Error 127 (ignored)
IReleaselib/ -c modules.f90 -o Releaselib/modules.o
make: IReleaselib/: Command not found
make: [Releaselib/modules.o] Error 127 (ignored)
IReleaselib/ -c bessels.f90 -o Releaselib/bessels.o
make: IReleaselib/: Command not found
make: [Releaselib/bessels.o] Error 127 (ignored)
IReleaselib/ -c equations.f90 -o Releaselib/equations.o
make: IReleaselib/: Command not found
make: [Releaselib/equations.o] Error 127 (ignored)
IReleaselib/ -c halofit_ppf.f90 -o Releaselib/halofit_ppf.o
make: IReleaselib/: Command not found
make: [Releaselib/halofit_ppf.o] Error 127 (ignored)
IReleaselib/ -c lensing.f90 -o Releaselib/lensing.o
make: IReleaselib/: Command not found
make: [Releaselib/lensing.o] Error 127 (ignored)
IReleaselib/ -c SeparableBispectrum.F90 -o Releaselib/SeparableBispectrum.o
make: IReleaselib/: Command not found
make: [Releaselib/SeparableBispectrum.o] Error 127 (ignored)
IReleaselib/ -c cmbmain.f90 -o Releaselib/cmbmain.o
make: IReleaselib/: Command not found
make: [Releaselib/cmbmain.o] Error 127 (ignored)
IReleaselib/ -c camb.f90 -o Releaselib/camb.o
make: IReleaselib/: Command not found
make: [Releaselib/camb.o] Error 127 (ignored)
IReleaselib/ -c camb_python.f90 -o Releaselib/camb_python.o
make: IReleaselib/: Command not found
make: [Releaselib/camb_python.o] Error 127 (ignored)
IReleaselib/ Releaselib/constants.o Releaselib/utils.o Releaselib/subroutines.o Releaselib/inifile.o Releaselib/power_tilt.o Releaselib/recfast.o Releaselib/reionization.o Releaselib/modules.o Releaselib/bessels.o Releaselib/equations.o Releaselib/halofit_ppf.o Releaselib/lensing.o Releaselib/SeparableBispectrum.o Releaselib/cmbmain.o Releaselib/camb.o Releaselib/camb_python.o -o pycamb/camb/camblib.so
make: IReleaselib/: Command not found
make: [camblib.so] Error 127 (ignored)
Compilation failed




I use python 2.7.3 in Linux.

safoura tanbakouei
Posts: 6
Joined: April 25 2016
Affiliation: UAB

error on installation

Post by safoura tanbakouei » April 26 2016

I installed the gfortran 4.9 , but the new error that I've got is:

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running install
Compiling source...
mkdir -p Releaselib
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c constants.f90 -o Releaselib/constants.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c utils.F90 -o Releaselib/utils.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c subroutines.f90 -o Releaselib/subroutines.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c inifile.f90 -o Releaselib/inifile.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c power_tilt.f90 -o Releaselib/power_tilt.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c recfast.f90 -o Releaselib/recfast.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c reionization.f90 -o Releaselib/reionization.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c modules.f90 -o Releaselib/modules.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c bessels.f90 -o Releaselib/bessels.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c equations.f90 -o Releaselib/equations.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c halofit_ppf.f90 -o Releaselib/halofit_ppf.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c lensing.f90 -o Releaselib/lensing.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c SeparableBispectrum.F90 -o Releaselib/SeparableBispectrum.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c cmbmain.f90 -o Releaselib/cmbmain.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c camb.f90 -o Releaselib/camb.o
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c camb_python.f90 -o Releaselib/camb_python.o
camb_python.f90: In function ‘convert_cltransferdata’:
camb_python.f90:153:0: internal compiler error: Segmentation fault
cData%q = c_loc(data%q%points)
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make: *** [Releaselib/camb_python.o] Error 1
Compilation failed

Antony Lewis
Posts: 1369
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: error on installation

Post by Antony Lewis » April 26 2016

The message refers to "gcc−4.8", check gfortran --version?

safoura tanbakouei
Posts: 6
Joined: April 25 2016
Affiliation: UAB

error on installation

Post by safoura tanbakouei » April 27 2016

It's gfortran 95.

What it should be ?

safoura tanbakouei
Posts: 6
Joined: April 25 2016
Affiliation: UAB

error on installation

Post by safoura tanbakouei » April 27 2016

I downloaded gcc4.9.

But still I have error:

/usr/lib/python2.7/distutils/dist.py:267: UserWarning: Unknown distribution option: 'test_suite'
warnings.warn(msg)
running install
Compiling source...
mkdir -p Releaselib
gfortran -shared -fPIC -O3 -fopenmp -ffast-math -fmax-errors=4 -march=native -JReleaselib -IReleaselib/ -c camb_python.f90 -o Releaselib/camb_python.o
camb_python.f90: In function ‘convert_cltransferdata’:
camb_python.f90:153:0: internal compiler error: Segmentation fault
cData%q = c_loc(data%q%points)
^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make: *** [Releaselib/camb_python.o] Error 1
Compilation failed

Antony Lewis
Posts: 1369
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: error on installation

Post by Antony Lewis » April 27 2016

gfortran --version

?

safoura tanbakouei
Posts: 6
Joined: April 25 2016
Affiliation: UAB

error on installation

Post by safoura tanbakouei » April 28 2016

gfortran 4.9

Antony Lewis
Posts: 1369
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: error on installation

Post by Antony Lewis » April 29 2016

That doesn't look like the output of gfortran --version. In any case, if it's an early 4.9 version I suggest you get the latest 5.x version (or use CosmoBox).

Post Reply