Page 1 of 1

install abinit in ubuntu

Posted: Thu May 20, 2010 2:00 am
by rundong
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

Re: install abinit in ubuntu

Posted: Thu May 20, 2010 10:06 am
by dcaliste
/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).

Re: install abinit in ubuntu

Posted: Thu May 20, 2010 8:39 pm
by gonze
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

Re: install abinit in ubuntu

Posted: Sat May 22, 2010 1:32 am
by rundong
thanks a lot. it helps

Re: install abinit in ubuntu

Posted: Fri Jun 04, 2010 2:01 am
by trebor
i had the same problem, anyone knows how to fix it?

edit: thank you, i solved it.

Re: install abinit in ubuntu

Posted: Fri Jun 04, 2010 8:43 am
by mverstra
/bin/sh is always present, as mentioned above you need "patch"

Re: install abinit in ubuntu

Posted: Mon Aug 16, 2010 2:46 am
by rundong
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.