install abinit in ubuntu

option, parallelism,...

Moderators: jbeuken, Jordan, pouillon

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 builds.
For a video explanation on how to build Abinit 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 button on its upper-right corner to accept it.

install abinit in ubuntu

Postby 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
rundong
 
Posts: 16
Joined: Thu May 20, 2010 1:52 am

Re: install abinit in ubuntu

Postby 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).
dcaliste
 
Posts: 43
Joined: Thu Oct 22, 2009 9:15 am

Re: install abinit in ubuntu

Postby 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
gonze
 
Posts: 202
Joined: Fri Aug 14, 2009 8:29 pm

Re: install abinit in ubuntu

Postby rundong » Sat May 22, 2010 1:32 am

thanks a lot. it helps
rundong
 
Posts: 16
Joined: Thu May 20, 2010 1:52 am

Re: install abinit in ubuntu

Postby 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.
trebor
 
Posts: 6
Joined: Fri Jun 04, 2010 1:55 am

Re: install abinit in ubuntu

Postby 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
mverstra
 
Posts: 511
Joined: Wed Aug 19, 2009 12:01 pm

Re: install abinit in ubuntu

Postby 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.
rundong
 
Posts: 16
Joined: Thu May 20, 2010 1:52 am


Return to Configuration

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests

cron