Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] Help installing abinit 5.8.4 on mac OS 10.5

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] Help installing abinit 5.8.4 on mac OS 10.5


Chronological Thread 
  • From: Yann Pouillon <yann.pouillon@ehu.es>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] Help installing abinit 5.8.4 on mac OS 10.5
  • Date: Tue, 10 Nov 2009 20:13:35 +0100

Hi,

First, you were right not to use sudo. You should never need such a thing to run any test suite of any scientific software.

Second, it is possible to run the test suite of Abinit after install. What you need to do is edit the tests.env file, which is installed with the tests. It's enough to have it pointing out to the right places.

Third, you should never assume that things will work out of the box. It's only by running the test suite that you can know how much you can trust your binaries.

If you don't find the tests.env file, you can regenerate it from the source tarball. It is created when you run configure.

Best regards,

Yann.

"Aaron S. Wolf" <wolf.aarons@gmail.com> ha escrito:

Hi Alain-
I tried to run run-basic-tests.sh after using chmod +x, but it didn't
work. It said that I didn't have permissions:
Scripts/run-basic-tests.sh . 1
mkdir: cannot create directory `/var/jacques': Permission denied
I wasn't sure what the script was doing so I decided not to call sudo on it
to make it go through. Is using sudo a good idea? Is it possible to run the
tests at all once the binaries are created, or must I just trust that
everything is working as it should? (I am a little worried about just
trusting the output, since I don't have enough familiarity to be sure the
code is running correctly without the unit tests provided with the
distribution. I can only verify that it runs at all...). Thanks again for
all your help!

Best,
Aaron Wolf

On Tue, Nov 10, 2009 at 6:53 AM, Alain Jacques <ajs.jacques@gmail.com>wrote:

Hello Aaron,

I am afraid you cannot run the full test suite again after installing the
binaries. The test routines - makefiles, perl - are dependent on the
structure of the sources and build directories and are designed to be called
from a makefile after compiling the code - . Most of the information is
there - look at the scripts run-basic-tests.pl and run-standard-tests.pl.

Kind regards,

Alain



Aaron S. Wolf wrote:

Hi Alain-
Thanks for those binaries. I don't need to make them myself (at least
not right now). I was wondering how to run the tests, since all of the make
files are missing, so I can't just use make test1 etc. Thanks for everyones
help!
-aaron wolf

On Sat, Nov 7, 2009 at 2:46 AM, Alain Jacques <ajs.jacques@gmail.com>wrote:

Hello Aaron,

First of al, if you don't want to break your head, may I suggest you to
download my OSX binaries from
http://www.etsf.eu/resources/software/etsf_software_repository
They include all the plugins, they are optimized and pass all the tests.

If you insist to do it yourself ... I am a bit lost; I don't know if you
have produced working binaries. What kind of fortran compiler do you use
(Intel, gfortran from Fink or Macport)? Can you show your configure
options? Can you provide the output of an "otool -L abinis" and "otool
-L abinip"?

...





--
Yann Pouillon European Theoretical Spectroscopy Facility (ETSF)
Tel: (+34) 943 01 83 94 Centro Joxe Mari Korta, Avenida de Tolosa, 72
Fax: (+34) 943 01 83 90 20018 Donostia-San Sebastián (Gipuzkoa)
Web: http://www.etsf.es/ España




Archive powered by MHonArc 2.6.16.

Top of Page