On Mar 29, 2006, at 5:11 PM, Jeffrey Fox wrote:

I tried building openmpi on two different powerbooks, a titanium G4 (800mhz) and an aluminum G4 (1.6ghz) both running Mac OS X 10.4.5 and Xcode 2.2. The sed error ONLY occurs if I try and build the Fortran 90 bindings ( yes I do need them).
I am using Absoft 8.0 with service pack 6.
In the mailing list I saw that someone else solved this problem by rebooting the machine, so I tried it on both machines. No luck.
        I set  F77="/Applications/Absoft/bin/f77 -f -N15" and
FC="/Applications/Absoft/bin/f95  -YEXT_NAMES=LCS -YEXT_SFX=_"
While I don't see how this could be the problem, if I don't include the flags with the name of the compiler, the FFLAGS get passed to both the f77 and the f95 compiler and the FCFLAGS are ignored.

I'm unfortunately unable to replicate your problems on my PowerMac with Absoft 9.2. I don't think it's a problem, but note that Absoft doesn't support the 8.0 compilers on OS X 10.4.5, only the 9.x series. I see that somewhere along the way during configure, some bogus output ended up in the environment for configure, which is what is causing the problems you are seeing. I can't figure out where it's coming from, but the quick and easy solution (and indeed, the right solution) is to not specify compiler flags in the compiler variable, but in the compiler flags variables. Something like:

  F77=f77
  FC=f90
  FFLAGS="-f -N15"
  FCFLAGS="-YEXT_NAMES=LCS -YEXT_SFX=_"

That should do the trick, I think. If not, please send the config.status file emitted from configure. It might include enough information to track the problem down.

Thanks,

Brian


--
  Brian Barrett
  Open MPI developer
  http://www.open-mpi.org/


Reply via email to