Skip to Content.
Sympa Menu

opal - Re: [Opal] MAC build problem solved

opal AT lists.psi.ch

Subject: The OPAL Discussion Forum

List archive

Re: [Opal] MAC build problem solved


Chronological Thread 
  • From: PSI <achim.gsell AT psi.ch>
  • To: "opal AT lists.psi.ch" <Opal AT lists.psi.ch>
  • Cc: "Adelmann Andreas (PSI)" <andreas.adelmann AT psi.ch>, Jonathan Edelen <jedelen AT radiasoft.net>, Christopher Hall <chall AT radiasoft.net>
  • Subject: Re: [Opal] MAC build problem solved
  • Date: Fri, 17 Nov 2017 17:30:44 +0100

Hi all,

On 16 Nov 2017, at 17:09, PSI <achim.gsell AT psi.ch> wrote:

Hi all,
On 16 Nov 2017, at 01:24, Adelmann Andreas (PSI) <andreas.adelmann AT psi.ch> wrote:

Dear colleagues, according to Achim Gsell the build problem

I'm not sure whether we (Andreas and me) are talking about the same problem.  We run into several problems with Xcode8 and newer. Till Xcode7 the procedure to build OPAL on macOS and Linux was the same. The changes made in Xcode8 introduced several problem with GCC build from the sources and tools shipped with Xcode like ld64(1) and as(1).

On the wiki-page you find instructions how to build OPAL on macOS Sierra with Xcode8 and some software from Macports including gcc54 and openmpi-gcc54. Chris Mayes reported a problem with openmpi-gcc54 on macOS High Sierra with Xcode 9.0.0 and 9.0.1.

- Building OPAL on macOS Sierra with Xcode8 works as described in the wiki. 
- Building OPAL on macOS Sierra with Xcode9 *should* work in the same way. I'm going to test it.

OK, this works as expected.

- I do *not* know whether the problem with High Sierra and openmpi-gcc54 from Macports has been solved. This problem must be solved in Xcode9 or Macports. This is nothing we can do.

Not OK, this still does NOT work. There is an issue with '/usr/include/sys/syslog.h' and gcc.  This issue has to be fixed in macOS High Sierra/Xcode. 

For the time being Clang (the C++ compiler shipped with Xcode) cannot be used to compile OPAL. There are several errors/warning which have to be fixed. I'm working on this, but it will take some time.

Cheers

Achim


Paul Scherrer Institut
WHGA/U136
CH-5232 Villigen PSI
+41 56 310 36 74




Archive powered by MHonArc 2.6.19.

Top of Page