install abinit in ubuntu

option, parallelism,...

Moderators: fgoudreault, mcote

Forum rules
Please have a look at ~abinit/doc/config/build-config.ac in the source package for detailed and up-to-date information about the configuration of Abinit 8 builds.
For a video explanation on how to build Abinit 7.x for Linux, please go to: http://www.youtube.com/watch?v=DppLQ-KQA68.
IMPORTANT: when an answer solves your problem, please check the little green V-like button on its upper-right corner to accept it.
Locked
rundong
Posts: 16
Joined: Thu May 20, 2010 1:52 am

install abinit in ubuntu

Post by rundong » Thu May 20, 2010 2:00 am

Hi, there,
I am a newcomer to the abinit world.
In the latest Ubuntu, I tried to install abinit-6.0.4. Everything seemed OK until something like this popped up:
make[3]: Entering directory `/home/rundong/abinit-6.0.4/plugins/bigdft'
gzip -cd /home/rundong/.abinit/tarballs/bigdft-1.2.0.2.tar.gz | tar xf -
cd bigdft-1.2.0.2 && patch -p1 < /home/rundong/abinit-6.0.4/plugins/bigdft/bigdft-1.2.0.2-0001.patch
/bin/sh: patch: not found
make[3]: *** [uncompress-stamp] Error 127
make[3]: Leaving directory `/home/rundong/abinit-6.0.4/plugins/bigdft'
make[2]: *** [package-ready] Error 2
make[2]: Leaving directory `/home/rundong/abinit-6.0.4/plugins/bigdft'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/rundong/abinit-6.0.4/plugins'
make: *** [multi] Error 2
Have no idea what might cause this.
Is this due to the abinit package not ubuntu specific.
Any helping hand will be appreciated.

rundong

dcaliste
Posts: 44
Joined: Thu Oct 22, 2009 9:15 am
Contact:

Re: install abinit in ubuntu

Post by dcaliste » Thu May 20, 2010 10:06 am

/bin/sh: patch: not found
means that the executable patch is not installed on your system. Install it through your favorite package manager (e.g. apt-get install patch).

gonze
Posts: 412
Joined: Fri Aug 14, 2009 8:29 pm

Re: install abinit in ubuntu

Post by gonze » Thu May 20, 2010 8:39 pm

Another possibility would be to disable the plugins,
see an example in
doc/config/build-examples/bb_xeon-gfortran4.4_coba2_woplugins.ac

Best,
X

rundong
Posts: 16
Joined: Thu May 20, 2010 1:52 am

Re: install abinit in ubuntu

Post by rundong » Sat May 22, 2010 1:32 am

thanks a lot. it helps

trebor
Posts: 8
Joined: Fri Jun 04, 2010 1:55 am

Re: install abinit in ubuntu

Post by trebor » Fri Jun 04, 2010 2:01 am

i had the same problem, anyone knows how to fix it?

edit: thank you, i solved it.
Last edited by trebor on Sat Oct 29, 2011 9:52 pm, edited 1 time in total.

mverstra
Posts: 655
Joined: Wed Aug 19, 2009 12:01 pm

Re: install abinit in ubuntu

Post by mverstra » Fri Jun 04, 2010 8:43 am

/bin/sh is always present, as mentioned above you need "patch"
Matthieu Verstraete
University of Liege, Belgium

rundong
Posts: 16
Joined: Thu May 20, 2010 1:52 am

Re: install abinit in ubuntu

Post by rundong » Mon Aug 16, 2010 2:46 am

Hi there,
My installation had been solved long time ago and I should have posted the news. Sorry for my late posting. I just followed the instructions and everything works smoothly.

Locked