Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1  [SOLVED]

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
amir
Posts: 19
Joined: Fri Oct 24, 2014 8:44 pm

Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1  [SOLVED]

Post by amir » Mon Oct 27, 2014 6:47 am

Hi,

I am trying to compile ABINIT 7.8.2 in ubuntu 14.04.1 but get an error when I am doing step 4 in "Recipe to compile abinit 7.8.2 on UBUNTU 14.04 (64bits)". The error is:

configure: error: removed option --enable-gui-build has been used

I am new in both ABINIT and linux. Could you please help me with this? Thanks alot.
Amir

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

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Post by pouillon » Mon Oct 27, 2014 10:29 am

The Abinit GUI is now a stand-alone project and is not built anymore within Abinit. The corresponding option of configure has thus been removed. Just don't use it and configure should succeed.

If it still complains about missing components afterwards, you can install the nanoscale-physics-dev metapackage:

Code: Select all

sudo apt-get install nanoscale-physics-dev
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

amir
Posts: 19
Joined: Fri Oct 24, 2014 8:44 pm

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Post by amir » Mon Oct 27, 2014 4:58 pm

Thanks Yann, but how can I stop using that?

I tried "sudo apt-get install nanoscale-physics-dev" but it did not work, I had a quick search and used "sudo apt-get install science-nanoscale-physics-dev" and that worked. Is it what I needed to install? Thanks.

amir
Posts: 19
Joined: Fri Oct 24, 2014 8:44 pm

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Post by amir » Mon Nov 03, 2014 6:46 pm

It would be great if you give me a hint where I should look for an answer or what I should search. Thanks.

Jordan
Posts: 282
Joined: Tue May 07, 2013 9:47 am

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Post by Jordan » Tue Nov 04, 2014 9:34 am

I don't know about the GUI but the option --enable-gui-build does not exist anymore in the build system.
Make sure you don't use it during the configuration process.

We have provided a "how to" to build abinit 7.8.2 on Ubuntu 14.04.1. The procedure works on a fresh and not so fresh installation.
Please check this topic and follow the procedure.

If you still have troubles, please provide as much information (configuration process with all you options) as you can so other people than Yann can also try to help you.


Cheers,

Jordan

User avatar
jbeuken
Posts: 365
Joined: Tue Aug 18, 2009 9:24 pm
Contact:

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Post by jbeuken » Tue Nov 04, 2014 9:58 am

Dear amir,

I remove the
enable_gui_build="no"

in ubuntu.ac ( step 3 in "Recipe to compile abinit 7.8.2 on UBUNTU 14.04 (64bits)" )

Now, the recipe should work ...
------
Jean-Michel Beuken
Computer Scientist

amir
Posts: 19
Joined: Fri Oct 24, 2014 8:44 pm

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Post by amir » Mon Nov 10, 2014 5:24 am

Dear all,

Thanks for your help. But I still have some problems.

I decided to delete "enable_test_timeout="yes"" from unbuntu.ac, because I had an error saying: "configure: error: removed option --enable_test_timeout has been used"

Afterwards the configuration got completed without any errors, however, when I ran the make command I got this error:

use etsf_io_low_level
1
Fatal Error: Cannot read module file 'etsf_io_low_level.mod' opened at (1), because it was created by a different version of GNU Fortran

Please let me know how I can fix this. Thanks alot.

Jordan
Posts: 282
Joined: Tue May 07, 2013 9:47 am

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Post by Jordan » Mon Nov 10, 2014 2:18 pm

You may have installed the ETSF_IO package from the repository which version is not compiled with the default compiler of ubuntu 14.04

Please try

Code: Select all

sudo apt-get remove etsf-io libetsf-io-dev


And then, reconfigure as before. You should be noticed at the end of the process that abinit will use etsf_io-fallback.

Good luck.

Jordan

amir
Posts: 19
Joined: Fri Oct 24, 2014 8:44 pm

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Post by amir » Tue Nov 11, 2014 5:26 am

Dear Jordan, Yann, jbeuken,

Thank you very much. I could finally do it! Thanks for your help. I appreciate it. You will see more questions from me from now on! :D

Locked