Page 1 of 1

6.5.0 branch won't build...

Posted: Tue Sep 07, 2010 4:26 pm
by jzwanzig
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

Re: 6.5.0 branch won't build...

Posted: Tue Sep 07, 2010 5:21 pm
by pouillon
It works perfectly fine in my case. Did you run makemake?

Could also be a glitch in "make -j<n>".

Re: 6.5.0 branch won't build...

Posted: Tue Sep 07, 2010 6:21 pm
by jzwanzig
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

Re: 6.5.0 branch won't build...

Posted: Tue Sep 07, 2010 6:30 pm
by pouillon
Can you attach your config.log and your config.dump?

Re: 6.5.0 branch won't build...

Posted: Tue Sep 07, 2010 7:05 pm
by jzwanzig
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

Re: 6.5.0 branch won't build...

Posted: Tue Sep 07, 2010 7:50 pm
by pouillon
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

Re: 6.5.0 branch won't build...

Posted: Tue Sep 07, 2010 8:44 pm
by jzwanzig
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

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

Posted: Tue Sep 07, 2010 9:56 pm
by pouillon
Just push. I'll have a look at your branch if I find some time.