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: ha sa <ha_sadi@yahoo.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] abinit under sun
  • Date: Tue, 15 Aug 2006 05:45:44 -0700 (PDT)
  • Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=vgOPw6ztRclxX+Y+ck/G5z6JssLs+2Eu3UXlurM96dPrWieE0hIjaNCZudfmtJMvK1++ZRlghdfBAjCUSpa6Wp1jLgpYm+L33HcyzBgGI7c0UUHjAF7HQSjL3Qk7koQZ++FvZkhDV+17Mm5HXRDzShKnjO6hKa+QkrUI/p2k1x4= ;

Dear Anglade
 
I have tried to compile the abinit for a week now. I am working under sun spark solaris 10
 
I did not succeed in comiling it.
 
I will be greatful if you send me a compiled  version of the program abinit
for sun Solaris 10
 
yours truely
Hanan


Anglade Pierre-Matthieu <anglade@gmail.com> wrote:
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 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


Do you Yahoo!?
Next-gen email? Have it all with the all-new Yahoo! Mail Beta.


Archive powered by MHonArc 2.6.16.

Top of Page