Skip to Content.
Sympa Menu

forum - Re: [abinit-forum] problem in V_Sim under windows

forum@abinit.org

Subject: The ABINIT Users Mailing List ( CLOSED )

List archive

Re: [abinit-forum] problem in V_Sim under windows


Chronological Thread 
  • From: Dev Sharma <champbond1983@gmail.com>
  • To: forum@abinit.org
  • Subject: Re: [abinit-forum] problem in V_Sim under windows
  • Date: Fri, 9 Oct 2009 23:25:14 +0530
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=M2adGlfXIqKJIL/wR0pX8Uafqlii2TpZbvZRlwdcdhPPBMpfKo25irgQ8rFzNX1GE7 NoEly3jbzGDV2OeXoWk6Z3umNjPOT5u1b2u9HwFFD6HhccVg7EIBpOgBFDIHsRtbBYzN o0k/Mc4y+5stXhQbhq9Da44+igdfzdKfbGcYU=

Dear  Damien,
 i  followed what u said. But it is giving error. Please help
I extract 5.7.4 in home directory. then configured ABINIT with the command
../configure --enable-bindings FCFLAGS="-fPIC -O2" FC=gfortran

this step was successful, then i compile with  command make
after which in final it gives

make[3]: Leaving directory `/home/dev/abinit/abinit-5.7.4/src/libs'
make[3]: Entering directory `/home/dev/abinit/abinit-5.7.4/src'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/dev/abinit/abinit-5.7.4/src'
make[2]: Leaving directory `/home/dev/abinit/abinit-5.7.4/src'
Making all in bindings
make[2]: Entering directory `/home/dev/abinit/abinit-5.7.4/bindings'
Making all in parser
make[3]: Entering directory `/home/dev/abinit/abinit-5.7.4/bindings/parser'
make -f ../../bindings/parser/parser.mk
make[4]: Entering directory `/home/dev/abinit/abinit-5.7.4/bindings/parser'
make[4]: *** No rule to make target `dtset.pickle', needed by `dtset_c.h'.  Stop.
make[4]: Leaving directory `/home/dev/abinit/abinit-5.7.4/bindings/parser'
make[3]: *** [bindings-ready] Error 2
make[3]: Leaving directory `/home/dev/abinit/abinit-5.7.4/bindings/parser'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dev/abinit/abinit-5.7.4/bindings'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dev/abinit/abinit-5.7.4'
make: *** [all] Error 2
[dev@dev abinit-5.7.4]$ cd bindings/parser/
[dev@dev parser]$ make
make -f ../../bindings/parser/parser.mk
make[1]: Entering directory `/home/dev/abinit/abinit-5.7.4/bindings/parser'
make[1]: *** No rule to make target `dtset.pickle', needed by `dtset_c.h'.  Stop.
make[1]: Leaving directory `/home/dev/abinit/abinit-5.7.4/bindings/parser'
make: *** [bindings-ready] Error 2
[dev@dev parser]$

thanks,
Dev Sharma,
University of Delhi


On Fri, Oct 9, 2009 at 6:51 PM, Damien Caliste <damien.caliste@cea.fr> wrote:
Hello,

Le 09/10/2009, bond james <champbond1983@gmail.com> a écrit :
> In each mail i have written my real name :):)..... Ok sir  i have
> compile V_sim in Linux also.
Indeed, I've never compiled ABINIT for Windows, and this step is
necessary to have V_Sim read ABINIT input files.

> But still the same problem is there.
> How to open Abinit file in linux.
To have V_Sim reading ABINIT input files, several steps must be done
(see the end of this mail for a quicker method) and depends of your
ABINIT and V_Sim version:
- V_Sim 3.4.x goes with ABINIT 5.7.x or lower. V_Sim 3.5.x (currently
under development but downloadable from the Internet) goes with ABINIT
5.8.x. By the way, one can compile a ABINIT 5.7.x just to compile then
the V_Sim plug-in and use a 5.8.x for production ab initio calculations.
- The following supposed a 3.4.4 and a 5.7.5, gfortran as Fortran
compiler.
- First configure ABINIT like that:
../configure --enable-bindings FCFLAGS="-fPIC -O2" FC=gfortran
- Then compile with make or make -jx... The compilation can be stopped
after 13iovars, but in that case, issue make also in src/libs.
- Then go to the bindings/parser directory and issue make.
- If you ls, you'll see:
 * libabinis.a
 * dtset_c.h
 * ab_dtset_c.h
- You need to copy them some where. Let's say in ${ABINIT}:
 * cp libabinis.a ${ABINIT}/lib
 * cp dtset_c.h ab_dtset_c.h ${ABINIT}/include
- Then go to V_Sim sources and configure it with the good options (see
message of Aurélien):
../configure --with-abinit=${ABINIT}
- issue make and then make install.

You should see the ABINIT plug-in loaded into V_Sim when clicking on
the V_Sim icon of the command panel (bottom right).



For the shorter way, possible if you use Ubuntu Hardy, go to the V_Sim
download page and download the Hardy pacage. It contains the ABINIT
plugin.

If once ABINIT properly enter Debian (...), the official Debian package
will have the plugin also. But not now.

Damien.




Archive powered by MHonArc 2.6.16.

Top of Page