Changes between Version 10 and Version 11 of CompilingCloudyOSX


Ignore:
Timestamp:
2015-12-15T17:30:01Z (2 years ago)
Author:
mchatzikos
Comment:

Report that 'save species' command is broken under two versions of LLVM on MacOS X

Legend:

Unmodified
Added
Removed
Modified
  • CompilingCloudyOSX

    v10 v11  
    11= Compiling Cloudy on OS X =
    22
    3 == The problem ==
     3== FPE trapping ==
    44
    55Versions 5.1 and later of Xcode are broken and cannot compile Cloudy versions up to and including C13.03.
     
    1919Note that the bug stems from a broken LLVM 3.4 release and is inherited by later releases. So clang++ 3.4 and later on other operating systems will not work either (this includes Linux and likely also FreeBSD). As of C13.04 Cloudy will disable trapping FPEs when using clang++, allowing it run Cloudy correctly even with recent versions of Xcode / clang++.
    2020
    21 == Some solutions ==
     21=== Some solutions ===
    2222
    2323One solution is to download an older version of the command line tools from
     
    8585towards the end of your {{{.profile}}} file.
    8686
    87 == Subscribing to the bug may, or may not, help ==
     87=== Subscribing to the bug may, or may not, help ===
    8888
    8989We hope that the LLVM developers will fix the bug in the compiler.  The problem is how the compiler handles floating point exceptions when it optimizers code.
     
    9595
    9696
     97== 'save species' broken ==
     98
     99The '''save species''' command can cause an abrupt termination of Cloudy execution.
     100This occurs for at least the following platforms:
     101
     102{{{
     103$ clang++ --version
     104Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
     105Target: x86_64-apple-darwin14.1.0
     106Thread model: posix
     107
     108$ clang++ --version
     109Apple LLVM version 7.0.0 (clang-700.1.76)
     110Target: x86_64-apple-darwin15.0.0
     111Thread model: posix
     112}}}
     113
     114GCC is immune to this problem.
     115
    97116------
    98117