Nektar++ on OS X and Xcode 7.3
Hi all, Just want to draw OS X users' attention to a compilation bug with METIS on OS X. If you are using Xcode 7.3 (i.e. clang -v says: Apple LLVM version 7.3.0 (clang-703.0.29)), presently there's some kind of low-level bug when compiling METIS which will yield the following error, or one like it: [ 79%] Building C object programs/CMakeFiles/cmpfillin.dir/smbfactor.c.o Linking C executable cmpfillin ld: in ../libmetis/libmetis.a(error.c.o), section __DATA/__thread_bss extends beyond end of file, for architecture x86_64 Right now there is no known workaround for this, other than to use gcc or another compiler version. I therefore thoroughly recommend avoiding Xcode 7.3 for the time being, otherwise you will not be able to compile Nektar++. If you have already upgraded, you can try to downgrade to Xcode 7.2, which continues to work fine. For reference, there is a homebrew bug report here: https://github.com/Homebrew/homebrew-science/issues/3461 and a possible LLVM bug here: https://llvm.org/bugs/show_bug.cgi?id=27059 Cheers, Dave -- David Moxey (Research Fellow) d.moxey@imperial.ac.uk | www.imperial.ac.uk/people/d.moxey Room 363, Department of Aeronautics, Imperial College London, London, SW7 2AZ, UK.
Hi all, Just a quick followup -- this issue was fixed in changeset aaf3f28 and everything is therefore working in latest master. This will also be included in the upcoming patch release. Cheers, Dave
On 29 Mar 2016, at 23:31, David Moxey <d.moxey@imperial.ac.uk> wrote:
Hi all,
Just want to draw OS X users' attention to a compilation bug with METIS on OS X. If you are using Xcode 7.3 (i.e. clang -v says: Apple LLVM version 7.3.0 (clang-703.0.29)), presently there's some kind of low-level bug when compiling METIS which will yield the following error, or one like it:
[ 79%] Building C object programs/CMakeFiles/cmpfillin.dir/smbfactor.c.o Linking C executable cmpfillin ld: in ../libmetis/libmetis.a(error.c.o), section __DATA/__thread_bss extends beyond end of file, for architecture x86_64
Right now there is no known workaround for this, other than to use gcc or another compiler version. I therefore thoroughly recommend avoiding Xcode 7.3 for the time being, otherwise you will not be able to compile Nektar++. If you have already upgraded, you can try to downgrade to Xcode 7.2, which continues to work fine.
For reference, there is a homebrew bug report here:
https://github.com/Homebrew/homebrew-science/issues/3461
and a possible LLVM bug here:
https://llvm.org/bugs/show_bug.cgi?id=27059
Cheers,
Dave
-- David Moxey (Research Fellow) d.moxey@imperial.ac.uk | www.imperial.ac.uk/people/d.moxey
Room 363, Department of Aeronautics, Imperial College London, London, SW7 2AZ, UK.
_______________________________________________ Nektar-users mailing list Nektar-users@imperial.ac.uk https://mailman.ic.ac.uk/mailman/listinfo/nektar-users
-- David Moxey (Research Fellow) d.moxey@imperial.ac.uk | www.imperial.ac.uk/people/d.moxey Room 363, Department of Aeronautics, Imperial College London, London, SW7 2AZ, UK.
participants (1)
- 
                
                David Moxey