Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] is complilation done or not??????

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] is complilation done or not??????


Chronological Thread 
  • From: Alain Jacques <ajs.jacques@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] is complilation done or not??????
  • Date: Sat, 14 Nov 2009 13:27:20 +0100
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=ItM1LxShySYDTqHg2IJ9eGgMfUw9BMPrCHxQkXvOgitYBsJG7lAuJ2D9jPLS00iF8r d6lUpHcFJdTL3Y836e3k9CunrH1DBZxBMAHXT8BwBPCJfzHvqd/FNZaE0KaxSanLvYCP /tRBil6VjzPgbGLdEH5orKtFeefI2n90LlQds=

sonu kumar wrote:
f4820eed0911140348w34a20aanfb88c7af26f15583@mail.gmail.com" type="cite">hi dear all

when i invoked "make install" , i got the errors as follows :)-

kumarsonu@linux:~/Desktop/DESKTOP/abinit-5.8.4> make install
Making install in prereqs                                  
make[1]: Entering directory `/home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/prereqs'
Making install in linalg                                                         
make[2]: Entering directory `/home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/prereqs/linalg'
make[3]: Entering directory `/home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/prereqs/linalg'
make[3]: Nothing to be done for `install-exec-am'.                                      
make[3]: Nothing to be done for `install-data-am'. 

nothing to be worried about ... it simply means that make install has no work to do in this directory
f4820eed0911140348w34a20aanfb88c7af26f15583@mail.gmail.com" type="cite">                                    
...
make[2]: Entering directory `/home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/src/98_main'
make[3]: Entering directory `/home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/src/98_main'
test -z "/opt/etsf/abinit/5.8/bin" || /bin/mkdir -p "/opt/etsf/abinit/5.8/bin"
/bin/mkdir: cannot create directory `/opt/etsf': Permission denied
make[3]: *** [install-abiexecPROGRAMS] Error 1
make[3]: Leaving directory `/home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/src/98_main'
make[2]: *** [install-am] Error 2
make[2]: Leaving directory `/home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/src/98_main'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/src'
make: *** [install-recursive] Error 1

f4820eed0911140348w34a20aanfb88c7af26f15583@mail.gmail.com" type="cite">

 do i need to disable plug-ins......or something else.??
 how to create the /opt directory.?

Nothing to do with the plugins. It means that you are not allowed as user kumarsonu to write to the /opt directories. If you do a "ls -la /opt" you'll see that it is only owned by root..

solution 1 ... "sudo root" and then  "make install" to gain sufficient privileges to write to /opt
solution 2 ... configure abinit with --prefix= to choose where to install the applications i.e. something like "configure --prefix=/home/kumarsonu/xxx" before make ... yes, reading the documentation before compiling may sometimes spare time.
solution 3 ... <dirty trick flag> "sudo root" then "mkdir /opt/etsf" as root, change /opt/etsf owner to kumarsonu with a "chown kumarsonu /opt/etsf", "exit" to user kumarsonu and now "make install" as kumarsonu.</dirty trick flag>
solution 4 ... <lazy man flag> all abinit binaries are in /home/kumarsonu/Desktop/DESKTOP/abinit-5.8.4/src/98_main; copy them where you would like to. But you'll miss the good stuff in ./doc and ./tests (but you can recover it easily for example from one of the installation packages in http://www.etsf.eu/resources/software/etsf_software_repository#emABINITem).</lazy man flag>
solution 5 ... hmmm ... maybe the abinit build system guru will pop up with a clean way to override the default installation choice during a make install

Kind regards,


Alain

f4820eed0911140348w34a20aanfb88c7af26f15583@mail.gmail.com" type="cite">


with due Regards
sk

On Sat, Nov 14, 2009 at 3:35 PM, Alain Jacques <ajs.jacques@gmail.com> wrote:
Hello sk,

so9ukumar@gmail.com wrote:
> hi dear all
>
> i tried to make the executables for the sequential version 5.8.4 of ab-init on
> 32 bit intel dual core system with gfortran compiler.
>
> 1) ./configure
> 2) make
>
> seems to work fine.
>
> Then i typed  "make check"
>
> ...
>  OK for stresses
>

If it says OK ... then it's OK :-)

> ...
>
> and the process of checking is going on...
>
> HOW MUCH time will it take?
>

It depends on the the performance of your linux system ... it is a short
tests set, it doesn't take long
> and I ALSO WANT TO KNOW is compilation complete or not???
>

from the directory you made configure and make, "ls -la src/98_main" and
you should see the binaries - abinis, cut3d, anaddb, ...
If you invoke a "make install", you'll have the binaries, docs and tests
installed - in /opt as you didn't specify a --prefix= during the
configuration step.

Kind regards,

Alain






Archive powered by MHonArc 2.6.16.

Top of Page