Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] abinit under sun

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] abinit under sun


Chronological Thread 
  • From: "Anglade Pierre-Matthieu" <anglade@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] abinit under sun
  • Date: Wed, 9 Aug 2006 16:54:29 +0200
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=N3Pmld7APHtkokaQb2pT7rVLdpxtsCdp6pRWivvsldTX1PBkQ+e9gqtoyfyHmeai/1aRPUSsir8oXLV/ZBZnxzQOupejxI8Yo3Tf2T6HI4aWICJ0HLjzKlxejNwOSolC4iE1CLhC6daDNbuFuijUjByaNMHkaKbNkgZ/XMGb6nI=

Hi,

Did any of you execute abinit using sun workstation?
Abinit version 5.0 and higher (probably also true for most older
versions) have been compiled and used on many kinds of sun
stations/computers/servers.

If yes,would you please tell me what you needed to do exactly.
This depends "exactly" on what you plan to do

Do I need to compile files or something like
that?
Probably (see previous answer and next paragraph)

In fact there is many kinds of computers under the Sun brand. Some use
Sparc others uses X86_64. Some are under Solaris other are under
linux. Some even have windows on them...

I suppose you're not in the best case that is x86_64 + linux.
Otherwise you wouldn't have asked for help, do you ?

Let's guess you want to run abinit on sparc, under solaris and your
compiler is Sun's own fortran compiler.
Then building abinit V5.x.x is pretty much easy.
1) Download the source archive.
2) unzip/untar
3) ./configure
At this stage you shouldn't get any error. If your fortran compiler is
not in a standard path try "./configure
FC=/the/way/to/fortran-compiler
4) ./make
There the compilation should stop quite soon. This is so because
unlike most others compilers (escept absoft profortran) the sun
compiler do not mixes path to include files (denoted with option -I)
and path to modules (option -M)
On your terminal you must find the compilation line which results in
the errors. On this line there is a section with a lot of -I like
"-I../defs"
5) copy this section of the line replacing all the -I with -M (eg "-M../defs")
6) ./configure FC=/the/way/to/fortran-compiler FCFLAGS="all the
section with the -I where -I are replaced with -M"
7) make

I hope this is understandable and helping.
regards

PMA
On 8/9/06, ha sa <ha_sadi@yahoo.com> wrote:
Dear abinit users,

Did any of you execute abinit using sun workstation?

If yes,would you please tell me what you needed to do
exactly.Do I need to compile files or something like
that?


Thanks
Hanan

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



--
Pierre-Matthieu Anglade



Archive powered by MHonArc 2.6.16.

Top of Page