CosmoCoffee Forum Index CosmoCoffee

 
 FAQFAQ   SearchSearch  MemberlistSmartFeed   MemberlistMemberlist    RegisterRegister 
   ProfileProfile   Log inLog in 
Arxiv New Filter | Bookmarks & clubs | Arxiv ref/author:

error on installation
 
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software
View previous topic :: View next topic  
Author Message
safoura tanbakouei



Joined: 25 Apr 2016
Posts: 6
Affiliation: UAB

PostPosted: April 25 2016  Reply with quote

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

I need help in asap.
Thanks
Back to top
View user's profile [ Hidden ]
Antony Lewis



Joined: 23 Sep 2004
Posts: 1239
Affiliation: University of Sussex

PostPosted: April 26 2016  Reply with quote

Please give full error message and strack trace, plus python distribution version and gfortran version details etc.
Back to top
View user's profile [ Hidden ] Visit poster's website
safoura tanbakouei



Joined: 25 Apr 2016
Posts: 6
Affiliation: UAB

PostPosted: April 26 2016  Reply with quote

/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.
Back to top
View user's profile [ Hidden ]
safoura tanbakouei



Joined: 25 Apr 2016
Posts: 6
Affiliation: UAB

PostPosted: April 26 2016  Reply with quote

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 = cloc(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
Back to top
View user's profile [ Hidden ]
Antony Lewis



Joined: 23 Sep 2004
Posts: 1239
Affiliation: University of Sussex

PostPosted: April 26 2016  Reply with quote

The message refers to "gcc−4.8", check gfortran –version?
Back to top
View user's profile [ Hidden ] Visit poster's website
safoura tanbakouei



Joined: 25 Apr 2016
Posts: 6
Affiliation: UAB

PostPosted: April 27 2016  Reply with quote

It's gfortran 95.

What it should be ?
Back to top
View user's profile [ Hidden ]
safoura tanbakouei



Joined: 25 Apr 2016
Posts: 6
Affiliation: UAB

PostPosted: April 27 2016  Reply with quote

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 = cloc(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
Back to top
View user's profile [ Hidden ]
Antony Lewis



Joined: 23 Sep 2004
Posts: 1239
Affiliation: University of Sussex

PostPosted: April 27 2016  Reply with quote

gfortran –version

?
Back to top
View user's profile [ Hidden ] Visit poster's website
safoura tanbakouei



Joined: 25 Apr 2016
Posts: 6
Affiliation: UAB

PostPosted: April 28 2016  Reply with quote

gfortran 4.9
Back to top
View user's profile [ Hidden ]
Antony Lewis



Joined: 23 Sep 2004
Posts: 1239
Affiliation: University of Sussex

PostPosted: April 29 2016  Reply with quote

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).
Back to top
View user's profile [ Hidden ] Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    CosmoCoffee Forum Index -> Computers and software All times are GMT + 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group. Sponsored by WordWeb online dictionary and dictionary software.