Page 1 of 1

Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1  [SOLVED]

Posted: Mon Oct 27, 2014 6:47 am
by amir
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

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Posted: Mon Oct 27, 2014 10:29 am
by pouillon
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

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Posted: Mon Oct 27, 2014 4:58 pm
by amir
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.

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Posted: Mon Nov 03, 2014 6:46 pm
by amir
It would be great if you give me a hint where I should look for an answer or what I should search. Thanks.

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Posted: Tue Nov 04, 2014 9:34 am
by Jordan
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

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Posted: Tue Nov 04, 2014 9:58 am
by jbeuken
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 ...

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Posted: Mon Nov 10, 2014 5:24 am
by amir
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.

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Posted: Mon Nov 10, 2014 2:18 pm
by Jordan
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

Re: Configure error compiling ABINIT 7.8.2 in ubuntu 14.04.1

Posted: Tue Nov 11, 2014 5:26 am
by amir
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