Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Installation error ? Please help

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Installation error ? Please help


Chronological Thread 
  • From: "Anglade Pierre-Matthieu" <anglade@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Installation error ? Please help
  • Date: Sat, 14 Jun 2008 21:13:06 +0200
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Zxap6U80+/zVKs6UQ5gI2jDzN/BlFhmu/w0A0ZrT+mF3488GbB9rvS83Xz+8EnGRz5 bw4IAk9vAt6Wt31aTerLb48Glm0Rh7EvD5zmK0ti0zD1kVZpUEeBAWERhog2i1SKHJSr rKjDu9Cy2X8yLawrJQK4dmhIbx0JBmbLg6sF8=

Under ubuntu (8.04) I did :
$ apt-get install abinit
that's all what is needed but I did it only to check if I can get some
problem as you seemed to mention there are some.
An other (better) way is
$ apt-get install gfortran (or what ever the name of the package)
$ tar zxf abinit.tar.gz
$ cd abinit
$ mkdir tmp
$ cd tmp
$ ../configure FCFLAGS="-march=native -pipe -O2 -static"
$ make multi
$ cd tests
$ make tests_acc

I really recommend the latest because it allows performing all tests
and configuring Abinit to your will (parallel, netcdf, etc).

regards

PMA



2008/6/14 Jimmy <jimmymisc@gmail.com>:
> Hi, thanks for your quick response.
>
> Can you explain more on the steps you used to make abinit runs on
> Ubuntu without problem ? For example, I was able to install abinit
> with synaptic, but I cannot run the test.
>
> If you can write the step by step guide, it will be great to put this
> on Ubuntu knowledge database.
>
> Looking forward to hearing from you,
>
> Jimmy
>
> On 6/14/08, Anglade Pierre-Matthieu <anglade@gmail.com> wrote:
>> Hi,
>>
>> 1) Using the prebuilt version of Abinit for Ubunutu works perfect for
>> me -> I can't reproduce this problem
>> 2) I can't download a pre-built binary (any way I would never trust
>> this) -> again, impossible to reproduce your steps.
>> 3) Why not trying to get the source package of Abinit and build it
>> yourself : Yann made this a pretty easy task. And as long as you use
>> reliable compiler you'll get a working version of Abinit.
>>
>> regards
>>
>> PMA
>>
>> 2008/6/14 Jimmy <jimmymisc@gmail.com>:
>> > Pierre,
>> >
>> > Yes, I have a copy of tests.env in the tests directory.
>> >
>> > jlawrence@D600:~/abinitbin-5.5.4/tests$ cat tests.env
>> > # -*- Shell -*-
>> > #
>> > # Copyright (C) 2005-2007 ABINIT Group (Yann Pouillon)
>> > # All rights reserved.
>> > #
>> > # This file is part of the ABINIT software package. For license
>> > information,
>> > # please see the COPYING file in the top-level directory of the ABINIT
>> > source
>> > # distribution.
>> > #
>> >
>> > #
>> > # IMPORTANT NOTE
>> > #
>> > # This file must be readable by Bourne-Shell scripts
>> > #
>> >
>> > #
>> > ----------------------------------------------------------------------------
>> > #
>> >
>> > #
>> > # ABINIT
>> > #
>> >
>> > # ABINIT binaries
>> > abinit_bindir="`pwd`/../opt"
>> >
>> > # ABINIT runnable test scripts
>> > abinit_rundir="`pwd`/Scripts"
>> >
>> > # ABINIT pseudopotentials
>> > abinit_pspdir="`pwd`/Psps_for_tests"
>> >
>> > # Top directory for the test suite inputs
>> > abinit_inpdir="`pwd`"
>> >
>> > # Top directory for the test suite outputs
>> > abinit_outdir="`pwd`"
>> >
>> > export abinit_bindir abinit_rundir abinit_pspdir abinit_inpdir
>> > abinit_outdir
>> >
>> >
>> >
>> > On Mon, Jun 9, 2008 at 8:47 AM, Anglade Pierre-Matthieu
>> > <anglade@gmail.com> wrote:
>> >> Hi,
>> >>
>> >> Do you also have a copy of tests.env in the tests directory ?
>> >> If so, does it look correctly filled ?
>> >>
>> >> regards
>> >>
>> >> PMA
>> >>
>> >> On Mon, Jun 9, 2008 at 2:28 PM, <jimmymisc@gmail.com> wrote:
>> >>> Hi,
>> >>>
>> >>> I always get this error message whenever I tried to run initial test
>> >>> (see
>> >>> attached).
>> >>>
>> >>> I tried to install abinit both from installing it through Synaptic
>> >>> (Ubuntu) and
>> >>> downloading binary, but none of them works.
>> >>>
>> >>> Can someone point where I might be mistaken ? Thank you
>> >>>
>> >>> jlawrence@D600:~/abinitbin-5.5.4$ ls
>> >>> AUTHORS extras Makefile README tests util
>> >>> COPYING INSTALL NEWS README.ChangeLog tests.env
>> >>> doc KNOWN_PROBLEMS opt RELNOTES THANKS
>> >>> jlawrence@D600:~/abinitbin-5.5.4$ make test1
>> >>> echo "Running built-in test 1"
>> >>> Running built-in test 1
>> >>> cd tests ; Scripts/run-basic-tests.sh built-in 1
>> >>> .: 29: tests.env: not found
>> >>> make: *** [test1] Error 2
>> >>>
>> >>
>> >>
>> >>
>> >> --
>> >> Pierre-Matthieu Anglade
>> >>
>> >
>>
>>
>>
>> --
>> Pierre-Matthieu Anglade
>>
>



--
Pierre-Matthieu Anglade



Archive powered by MHonArc 2.6.16.

Top of Page