forum@abinit.org
Subject: The ABINIT Users Mailing List ( CLOSED )
List archive
- From: Dev Sharma <champbond1983@gmail.com>
- To: forum@abinit.org
- Subject: [abinit-forum] Problem in V_sim
- Date: Sun, 18 Oct 2009 21:50:12 +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=pzP5thNPEV+XWZlhHx2Bsvc1ujIN6wdI+OtDhBNSOXQx0pmusVx3A5ITtTWnZBORrg Qv6NFk8dL9lkn8uScE2aKPwBeH+l4M3rcVINKU0UegeO/qcAQnPyhq2lpngb2ZP0FlaG p3rmeM+bi96fV5VIp0KZBiFTRilO5N5dNm1c8=
hi,
I have tried many times but still i am not able to install the V sim with abinit.
I am writing each step, please specify where i am going wrong.???
1) I download and extract abinit-5.7.4 in my home directory (/home/dev/) and configure it with
../configure --enable-bindings FCFLAGS="-fPIC -O2" FC=gfortran
no problem, this step is ok.
2) make
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
3) then i copied the files provided by damin sir i.e dtsetinit.F90, dtset.pickel and 3 others in the /home/dev/abinit/abinit-5.7.4/bindings/praser/
and then
cd /bindings/parser
make
i got
home/dev/abinit/abinit-5.7.4/bindings/parser/ab_dtset_py.c:347: error: called object ‘import_array()’ is not a function
make[1]: *** [ab_dtset_py.o] Error 1
make[1]: Leaving directory `/home/dev/abinit/abinit-5.7.4/bindings/parser'
make: *** [bindings-ready] Error 2
then on lsmake[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
3) then i copied the files provided by damin sir i.e dtsetinit.F90, dtset.pickel and 3 others in the /home/dev/abinit/abinit-5.7.4/bindings/praser/
and then
cd /bindings/parser
make
i got
home/dev/abinit/abinit-5.7.4/bindings/parser/ab_dtset_py.c:347: error: called object ‘import_array()’ is not a function
make[1]: *** [ab_dtset_py.o] Error 1
make[1]: Leaving directory `/home/dev/abinit/abinit-5.7.4/bindings/parser'
make: *** [bindings-ready] Error 2
i got all the three files
* libabinis.a
* dtset_c.h
* ab_dtset_c.h
what i did
4) I copied the * libabinis.a in /home/dev/abinit/abinit-5.7.4/src/libs and make a new folder (include) in the same directory and copied there * dtset_c.h & * ab_dtset_c.h
5) i configured the V_sim with the following command
./configure --with-etsf-file-format --with-xsf --with-abinit=/home/dev/abinit/abinit-5.7.4/ --with-abinit-include=/home/dev/abinit/abinit-5.7.4/src/include/ --with-abinit-libdir=/home/dev/abinit/abinit-5.7.4/src/libs/
after which i got
Configuration:
Source code location: .
Destination path prefix: /usr/local
Compiler: gcc
CFLAGS: -O2 -Wall -W -ansi
LDFLAGS:
OpenGL: built-in
| CFLAGS:
| LIBS: -lGLU -lGL -lm
Enable debug messages: no
Enable gtk-doc: no
Plug-ins:
With Nanoquanta support: yes
| CFLAGS:
| LDFLAGS LIBS: -lnetcdf
With OpenBabel support: no
With ABINIT support: no
With XCrysDen support: yes
Plug-ins options:
Need a C++ compiler: no
[dev@dev v_sim-3.4.4]$
then i did make and make install. But Abinit plugin is not ready. Please help sir, where i am getting wrong as my group is totally experimental.
Please guide
Thnaks,
Take care
Dev
- [abinit-forum] Problem in V_sim, Dev Sharma, 10/18/2009
- Re: [abinit-forum] Problem in V_sim, Damien Caliste, 10/19/2009
Archive powered by MHonArc 2.6.16.