LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-19-2012, 12:25 AM   #1
deep kumar
LQ Newbie
 
Registered: Aug 2008
Posts: 7

Rep: Reputation: 0
EIGENSTRAT installation in fedora 15


I want to install eigenstrat in fedora 15 but when i run the software it showing following error.Please help me to sort out the problem asap.

mkdir -p /home/samantha/Downloads/src/smartlib
mkdir -p /home/samantha/Downloads/src/smarttables
mkdir -p /home/samantha/Downloads/src/smartinclude
mkdir -p /home/samantha/Downloads/src/../bin
cp *.h /home/samantha/Downloads/src/smartinclude
cp eigensrc/*.h /home/samantha/Downloads/src/smartinclude
cp nicksrc/*.h /home/samantha/Downloads/src/smartinclude
ar -r libnick.a strsubs.o sortit.o vsubs.o statsubs.o linsubs.o getpars.o xsearch.o gauss.o gds.o
cp libnick.a /home/samantha/Downloads/src/smartlib/nicklib.a
gcc -I/home/samantha/Downloads/src/smartinclude -pthread -o pcatoy pcatoy.o eigsubs.o eigx.o /home/samantha/Downloads/src/smartlib/nicklib.a -L/broad/tools/lib64 -lg2c -lm -latlas -llapack -lblas -Wimplicit
/usr/bin/ld: cannot find -lg2c
/usr/bin/ld: cannot find -latlas
collect2: ld returned 1 exit status
make: *** [pcatoy] Error 1
 
Old 01-19-2012, 01:02 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,461

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
did you install the required software to run this program
from the error you do not have installed libg2c nor libatlas

the libg2c fortran is old ,very old, and uses ( a guess gcc3.3 )
search "yum"
Code:
su -
yum provides */libg2c.so

i am assuming ( Google search ) that this is the software in question
http://genepath.med.harvard.edu/~reich/Software.htm -- EIG3.0.tar.gz
the properties say it was last edited in 2009 ( the readme is dated 2006 )

where is "smartlib" "smarttables" & such coming into play

they are in the src folder but this is a binary package ( already built )
the program(s) is/are in EGI.3/bin

and seeing as it is a binary there is NO install
you put it someplace and make 100% sure that everything is in the system $PATH
for fedora normally in /opt ( the same place that libreoffice is )
then add /the/path/to/the"/bin/file to the system path



from the README in this package you are not fallowing these instructions
Quote:
We have placed source code for all C executables in the src/ directory,
for users who wish to modify and recompile our programs. For example, to
recompile the eigenstrat program, type
"cd src"
"make eigenstrat"
"mv eigenstrat ../bin"
 
Old 01-19-2012, 04:25 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2019 CentOS6.10 CentOS7.7 + 50+ other Linux OS, for test only.
Posts: 17,316

Rep: Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578Reputation: 3578
# yum install atlas-sse2-devel compat-libf2c-34


compat-libf2c-34-3.4.6-* provides :
/usr/lib/libg2c.so.0 , /usr/lib/libg2c.so.0.0.0

# cd /usr/lib/ && ln -s libg2c.so.0.0.0 libg2c.so
But : Is only required, if you want to recompile the binary.

.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ns2.29.3 installation on fedora 15 , nam installation problem Narges Linux - Networking 5 10-31-2011 12:09 PM
LXer: Fedora 12 Installation and Post-Installation Guide LXer Syndicated Linux News 0 11-18-2009 11:00 AM
LXer: Fedora 11 Installation and Post-Installation guide LXer Syndicated Linux News 1 06-11-2009 11:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration