install abinit in ubuntu
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.
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.
install abinit in ubuntu
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
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
means that the executable patch is not installed on your system. Install it through your favorite package manager (e.g. apt-get install patch)./bin/sh: patch: not found
Re: install abinit in ubuntu
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
see an example in
doc/config/build-examples/bb_xeon-gfortran4.4_coba2_woplugins.ac
Best,
X
Re: install abinit in ubuntu
thanks a lot. it helps
Re: install abinit in ubuntu
i had the same problem, anyone knows how to fix it?
edit: thank you, i solved it.
edit: thank you, i solved it.
Last edited by trebor on Sat Oct 29, 2011 9:52 pm, edited 1 time in total.
Re: install abinit in ubuntu
/bin/sh is always present, as mentioned above you need "patch"
Matthieu Verstraete
University of Liege, Belgium
University of Liege, Belgium
Re: install abinit in ubuntu
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.
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.