6.5.0 branch won't build... [SOLVED]
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.
6.5.0 branch won't build...
Hi, my 6.5.0-private branch fails to build because of problems in the 12_hide_mpi directory: m_xmpi.F90 needs defs_basis module but the build system can't find it, how do I fix this?
thanks
Joe
thanks
Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Re: 6.5.0 branch won't build...
It works perfectly fine in my case. Did you run makemake?
Could also be a glitch in "make -j<n>".
Could also be a glitch in "make -j<n>".
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: 6.5.0 branch won't build...
Yes, I ran makemake...
I just re-tried it from scratch, ran clean-source-tree, makemake, mkdir tmp-gcc, inside tmp-gcc ran configure no problem, then ran "make" (no parallel). It fails in the same place: m_xmpi.F90 needs defs_basis.mod but can't find it. Any other suggestions?
Joe
I just re-tried it from scratch, ran clean-source-tree, makemake, mkdir tmp-gcc, inside tmp-gcc ran configure no problem, then ran "make" (no parallel). It fails in the same place: m_xmpi.F90 needs defs_basis.mod but can't find it. Any other suggestions?
Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Re: 6.5.0 branch won't build...
Can you attach your config.log and your config.dump?
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: 6.5.0 branch won't build...
Hi, here is config.log and config.dump (renamed as config-dump.log, because the forum software doesn't let you upload files with the suffix "dump"). Thanks for your help--
Joe
Joe
- Attachments
-
- config.log
- (93.71 KiB) Downloaded 413 times
-
- config-dump.log
- (4.22 KiB) Downloaded 390 times
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Re: 6.5.0 branch won't build...
Seems that your compiler is not recognized by the build system. Hence the module-related flags are not applied.
Could you send the output of the following command?
And also this one?
Could you send the output of the following command?
Code: Select all
/usr/local/openmpi/1.4.2/gcc/bin/mpif90 --version
And also this one?
Code: Select all
/usr/local/openmpi/1.4.2/gcc/bin/mpif90 -showme
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain
Re: 6.5.0 branch won't build...
Well, it's weird. I branched 6.4.0 and that worked fine. I then erased 6.5.0 and re-branched it, and then built it BEFORE I merged in my 6.3.1-private branch, and that built fine. Then I merged in my 6.3.1-private, and it still builds fine. At some point I tried to use 6.3.1 to make a tar-ball with make_dist and it failed because of the changes in 12_hide_mpi (I posted about this a few weeks ago), maybe there was some detritus from that...who knows...
p.s. my mpif90 command is a wrapper to gfortran 4.4.3 (I build openmpi-1.4.2 using FC=gfortran and F77=gfortran).
I guess it's ok for now, still don't know whether 12_hide_mpi is fixed for make_dist yet.
Joe
p.s. my mpif90 command is a wrapper to gfortran 4.4.3 (I build openmpi-1.4.2 using FC=gfortran and F77=gfortran).
I guess it's ok for now, still don't know whether 12_hide_mpi is fixed for make_dist yet.
Joe
Josef W. Zwanziger
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Professor, Department of Chemistry
Canada Research Chair in NMR Studies of Materials
Dalhousie University
Halifax, NS B3H 4J3 Canada
jzwanzig@gmail.com
Re: 6.5.0 branch won't build... [SOLVED]
Just push. I'll have a look at your branch if I find some time.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain
Simune Atomistics
Donostia-San Sebastián, Spain