6.5.0 branch won't build...  [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
User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

6.5.0 branch won't build...

Post by jzwanzig » Tue Sep 07, 2010 4:26 pm

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
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

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

Re: 6.5.0 branch won't build...

Post by pouillon » Tue Sep 07, 2010 5:21 pm

It works perfectly fine in my case. Did you run makemake?

Could also be a glitch in "make -j<n>".
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: 6.5.0 branch won't build...

Post by jzwanzig » Tue Sep 07, 2010 6:21 pm

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
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

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

Re: 6.5.0 branch won't build...

Post by pouillon » Tue Sep 07, 2010 6:30 pm

Can you attach your config.log and your config.dump?
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: 6.5.0 branch won't build...

Post by jzwanzig » Tue Sep 07, 2010 7:05 pm

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
Attachments
config.log
(93.71 KiB) Downloaded 394 times
config-dump.log
(4.22 KiB) Downloaded 375 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

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

Re: 6.5.0 branch won't build...

Post by pouillon » Tue Sep 07, 2010 7:50 pm

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?

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

User avatar
jzwanzig
Posts: 504
Joined: Mon Aug 17, 2009 9:25 am

Re: 6.5.0 branch won't build...

Post by jzwanzig » Tue Sep 07, 2010 8:44 pm

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
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

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

Re: 6.5.0 branch won't build...  [SOLVED]

Post by pouillon » Tue Sep 07, 2010 9:56 pm

Just push. I'll have a look at your branch if I find some time.
Yann Pouillon
Simune Atomistics
Donostia-San Sebastián, Spain

Locked