atompaw : command not found

External optional components of Abinit (BigDFT, Wannier90...) and codes using/providing data from/to Abinit (AtomPAW, ONCVPSP, EXC, DP, Yambo...)

Moderators: ebousquet, bxu

Locked
ahmed
Posts: 8
Joined: Tue Apr 09, 2013 5:04 pm

atompaw : command not found

Post by ahmed » Fri May 03, 2013 6:25 pm

Dear all,

I'm a newbie at Abinit and when I try to run "atompaw <inputfile" I recieve " atompaw : command not found " . I tried to reinstall the atompaw package but the problem still exists. I also attached the config.log file as it may help in fixing the problem.
Attachments
config.log
(26.2 KiB) Downloaded 429 times

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: atompaw : command not found

Post by jzwanzig » Sat May 04, 2013 12:30 pm

when you ran "make" did atompaw compile correctly?
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

ahmed
Posts: 8
Joined: Tue Apr 09, 2013 5:04 pm

Re: atompaw : command not found

Post by ahmed » Sat May 04, 2013 4:30 pm

Dear Dr. JZwanzig,

I think you are right; the package was not correctly installed ; However, after trying to reinstall it I received the following error:


ahmed@ubuntu:~/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9$ make
make all-recursive
make[1]: Entering directory `/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9'
Making all in src
make[2]: Entering directory `/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src'
/bin/bash ../libtool --tag=FC --mode=link gfortran -g -O2 -O2 -o atompaw atompaw_prog.o libatompaw.la -llapack -lblas
libtool: link: gfortran -g -O2 -O2 -o .libs/atompaw atompaw_prog.o ./.libs/libatompaw.so -llapack -lblas
atompaw_prog.o: In function `atompaw':
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:116: undefined reference to `__globalmath_MOD_init_globalconstants'
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:117: undefined reference to `__aeatom_MOD_iscfatom'
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:118: undefined reference to `__aeatom_MOD_choosevalence'
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:119: undefined reference to `__aeatom_MOD_fcenergy'
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:120: undefined reference to `__aeatom_MOD_fcselfenergy'
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:124: undefined reference to `__excor_MOD_exctype'
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:138: undefined reference to `__excor_MOD_exctype'
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:128: undefined reference to `__libxc_mod_MOD_libxc_print_func'
/home/ahmed/Desktop/tmp/fallbacks/sources/atompaw-3.0.1.9/src/atompaw_prog.f90:146: undefined reference to `__gridmod_MOD_usingloggrid'
.
.
.
etc

I really don't know what is the reason for this error. hope you can help....
Ahmed,

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: atompaw : command not found

Post by jzwanzig » Sun May 05, 2013 12:31 pm

Have you built abinit itself with atompaw enabled? (this would require "atompaw" to be enabled in the abinit config file through the line --with-dft-flavor="..." where atompaw would be one of the choices).
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com

ahmed
Posts: 8
Joined: Tue Apr 09, 2013 5:04 pm

Re: atompaw : command not found

Post by ahmed » Mon May 06, 2013 2:47 pm

No, I didn't use the line --with-dft-flavor I will try to configure it again, and let you know the result.

Thank you for your help.
Ahmed,

ahmed
Posts: 8
Joined: Tue Apr 09, 2013 5:04 pm

Re: atompaw : command not found

Post by ahmed » Wed May 08, 2013 9:19 pm

After building abinit using --with-dft-flavour="...." it worked with atompaw...

Thank you very much,

Locked