Problem to configure abinit 5.7.4

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
Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Problem to configure abinit 5.7.4

Post by Bernard NAOUSSI » Mon Oct 18, 2010 1:13 pm

dear all

I download abinit 5.7.4 and i try to install it in my PC. But it no configure well.
when i make "./configure", this massage appear after a few steps.
nevertheless, that is the massage which appear:
"checking for style of include used by make... none
"checking for gcc... no"
"checking for cc... no"
"checking for cl.exe... no"
"configure: error: no acceptable C compiler found in $PATH"

Please i want a help to install well abinit 5.7.4

regards
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

david.waroquiers
Posts: 138
Joined: Sat Aug 15, 2009 12:45 am

Re: Problem to configure abinit 5.7.4

Post by david.waroquiers » Mon Oct 18, 2010 3:12 pm

Hello,

The error message is quite clear. The configure script does not find the C compiler in your path. You should specify it by yourself if it is in a non-standard location ...
Moreover, version 5.7.4 is quite an old version (released more than one year ago), we are now at the 6.4.1. You should consider switching to this one.

David

Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Re: Problem to configure abinit 5.7.4

Post by Bernard NAOUSSI » Tue Oct 26, 2010 12:35 pm

Dear all
I try to install 5.7.4 on abinit-linus opensuse.

But this error occurs during installation:

config.status: error: can not find input file: plugins/xmlf90/build.mk.in

I need help

Regards
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Re: Problem to configure abinit 5.7.4

Post by Bernard NAOUSSI » Tue Oct 26, 2010 12:58 pm

dear all
It configure well but when I make the "make" command, it's no install.
i want help
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: Problem to configure abinit 5.7.4

Post by Alain_Jacques » Tue Oct 26, 2010 2:27 pm

Hello Bernard,

It's not really clear for me where's your problem.
A plain configuration/compilation/test/installation routine for Abinit looks like

Code: Select all

cd AbinitRootPath
mkdir tmp-build
cd tmp-build
../configure --prefix=InstallationPath
make
cd tests
make tests_acc
more */*/report
cd ..
make install


to have the binaries installed in InstallationPath/bin directory (AbinitRootPath being the root of the source tree). And during the first "make", the binaries are build in AbinitRootPath/tmp-build/src/98_main/ directory; the "make install" will - among other things - copy them in the InstallationPath/bin directory.

Kind regards,

Alain

Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Re: Problem to install abinit 5.7.4

Post by Bernard NAOUSSI » Mon Nov 01, 2010 10:15 am

Dear all

I have problem to install abinit-5.7.4
It configure well but when I make "*/*/makemake, this message appear:

* Generating macros for the Autotools...make-macros-autotools: Error: M4 is too old-please install vl.4 or above
make-macros-autotools: Aborting now

I want a help please

in which directory can i take vl.4 to install??

I want to make a fews calculs in GaN and AlN semiconductor

Kind Regards

Bernard NAOUSSI
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: Problem to configure abinit 5.7.4

Post by Alain_Jacques » Mon Nov 01, 2010 11:23 am

Bernard,

makemake complains about an rather old version of the M4 macro processor - you should install a recent verson for example the one available from http://ftp.gnu.org/gnu/m4/ Then I'm afraid that your system autoconf tools are also quite outdated and makemake may complain about this. Anyway, check your M4 version with a

Code: Select all

m4 --version

Depending on your OS, you may try to update the M4 package or even try to replace it with the M4 coming with a more recent release of your Linux distribution. Another workaround would be to copy your Abinit source tree to another computer with a recent Linux that satisfies the dependencies, run makemake and if successful, move your source back to your original system if you want it compiled on that particular system.

Alain

Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Re: Problem to configure abinit 5.7.4

Post by Bernard NAOUSSI » Mon Nov 01, 2010 2:25 pm

Dear alain_Jacques

Thank you for your answer. I thing that i want to install abinit-6.4.1

Now can i how can i install m4-1.4.15.tar in linux openuse


Kind regards
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

User avatar
Alain_Jacques
Posts: 279
Joined: Sat Aug 15, 2009 9:34 pm
Location: Université catholique de Louvain - Belgium

Re: Problem to configure abinit 5.7.4

Post by Alain_Jacques » Mon Nov 01, 2010 8:44 pm

hello Bernard,

OK ... solution 1, read the documentation - guess what, it's in the included INSTALL file :roll:

Solution 2 ... open a terminal, cd where the m4-1.4.15.tar.gz file lives then

Code: Select all

tar xzf m4-1.4.15.tar.gz
cd m4-1.4.15
./configure --prefix=/usr/local/m4
make
sudo make install
export PATH=/usr/local/m4/bin:$PATH

So the new m4 is now in /usr/local/m4/bin and should be invoked instead of the stock m4 being early in the PATH - check with

Code: Select all

which m4

And then back to Abinit - good luck for the rest.

Kind regards,

Alain

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Problem to configure abinit 5.7.4

Post by pouillon » Mon Nov 01, 2010 11:47 pm

Please note that neither M4 nor the Autotools are necessary to build Abinit. And the makemake script should be used only by the developers. End-users don't even have to know what the Autotools are.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Re: Problem to configure abinit 5.7.4

Post by Bernard NAOUSSI » Tue Nov 02, 2010 10:16 am

Dear all.

Just to said thanks for yours answers.

I think that my installation would success.

Kind regards

bernard Naoussi
bernard_naoussi@yahoo.fr
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Re: Problem to configure abinit 5.7.4

Post by Bernard NAOUSSI » Wed Nov 03, 2010 1:25 pm

Dear all
I have other problem during install abinit-5.7.4

During the installation, these massage appear:
make [2]: *** [install-data-local] erreur 1
make [2]: quittant le repertoire"/home/cndd/desktop/abinit-5.7.4/doc"
make [1]: *** [install-am] erreur 2
make [1]: quittant le repertoire"/home/cndd/desktop/abinit-5.7.4/doc"
make: ****[install-recursive] error 1

Thanks

Kind Regards
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Problem to configure abinit 5.7.4

Post by pouillon » Wed Nov 03, 2010 1:34 pm

Just type "make -i install" instead of "make install".
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Re: Problem to configure abinit 5.7.4

Post by Bernard NAOUSSI » Wed Nov 03, 2010 2:13 pm

Dear Pouillon

I thanks you for your help.
I type "make -i install" but when i type "make testin_1", it don't run well
I want to known if abinit can install well and "make testin_in" don't run

Thank you

Kind Regards
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

User avatar
pouillon
Posts: 651
Joined: Wed Aug 19, 2009 10:08 am
Location: Spain
Contact:

Re: Problem to configure abinit 5.7.4

Post by pouillon » Wed Nov 03, 2010 2:35 pm

Sure. These are two completely different things.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Bernard NAOUSSI
Posts: 24
Joined: Mon Dec 07, 2009 10:05 am

Re: Problem to configure abinit 5.7.4

Post by Bernard NAOUSSI » Fri Nov 05, 2010 2:21 pm

Dear Pouillon

Just to said thank for your help.

I want to make a fews calcul to confirm if abinit is install well

Kind Regards
Bernard NAOUSSI
PhD. Student
Laboratory of Materials Science
University of Yaounde 1 (Cameroon)
bernard_naoussi@yahoo.fr

Locked