|
[Sponsors] |
SU2 v7.2.1 Installation error on macOS Catalina |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 17, 2022, 15:37 |
SU2 v7.2.1 Installation error on macOS Catalina
|
#1 |
New Member
Js
Join Date: Dec 2012
Posts: 6
Rep Power: 14 |
Hey guys,
I exactly followed the installation guide (Meson + Ninja), build SU2 v7.2.1 from source on my Mac, but it always fails in Ninja install step. It keep saying "ld: file too small .." (see below) [1/11] Linking target SU2_CFD/src/SU2_CFD_AD FAILED: SU2_CFD/src/SU2_CFD_AD c++ -o SU2_CFD/src/SU2_CFD_AD SU2_CFD/src/SU2_CFD_AD.p/SU2_CFD.cpp.o -Wl,-dead_strip_dylibs -Wl,-undefined,error -Wl,-headerpad_max_install_names SU2_CFD/src/libSU2core_AD.a externals/cgns/libcgns.a externals/metis/libmetis.a externals/parmetis/libparmetis.a externals/tecio/teciompisrc/libteciompi.a Common/src/libSU2CommonAD.a -Wl,-headerpad_max_install_names -Wl,-rpath,@loader_path/ -Wl,-rpath,@loader_path/../../externals/cgns -Wl,-rpath,@loader_path/../../externals/metis -Wl,-rpath,@loader_path/../../externals/parmetis -Wl,-rpath,@loader_path/../../externals/tecio/teciompisrc -Wl,-rpath,@loader_path/../../Common/src ld: file too small (length=0) file 'SU2_CFD/src/SU2_CFD_AD.p/SU2_CFD.cpp.o' for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) My meson build system is Version: 0.54.999 Source dir: /Users/XX/SU2/ Build dir: /Users/XX/SU2/build Build type: native build Project name: SU2 Project version: 7.2.1 "Blackbird" C compiler for the host machine: cc (clang 11.0.0 "Apple clang version 11.0.0 (clang-1100.0.33.17)") C linker for the host machine: cc ld64 530 C++ compiler for the host machine: c++ (clang 11.0.0 "Apple clang version 11.0.0 (clang-1100.0.33.17)") C++ linker for the host machine: c++ ld64 530 Host machine cpu family: x86_64 Host machine cpu: x86_64 Program python3 found: YES (/Users/jwang33/anaconda3/bin/python3) Message: Boost sources found. Message: ------------------------------------------------------------------------- | ___ _ _ ___ | | / __| | | |_ ) Release 7.2.1 "Blackbird" | | \__ \ |_| |/ / | | |___/\___//___| Meson Configuration Summary | | | ------------------------------------------------------------------------- Option Value --------------------- TecIO: true CGNS: true AD (reverse): true AD (forward): false Python Wrapper: false Intel-MKL: false OpenBlas: false PaStiX: false Mixed Float: false libROM: false Please be sure to add the $SU2_HOME and $SU2_RUN environment variables, and update your $PATH (and $PYTHONPATH if applicable) with $SU2_RUN Based on the input to this configuration, add these lines to your .bashrc file: export SU2_RUN=/usr/local/bin export SU2_HOME=/Users/jwang33/GoogleDrive_nd/research/externalCode/SU2/SU2 export PATH=$PATH:$SU2_RUN export PYTHONPATH=$PYTHONPATH:$SU2_RUN Use './ninja -C build install' to compile and install SU2 Build targets in project: 15 |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
SU2 7.0 compile in macOS Catalina | hyunko | SU2 Installation | 6 | January 18, 2022 04:53 |
SU2 Installation error | tarun_ | SU2 Installation | 8 | December 3, 2019 14:03 |
Introducing SU2 International Developers Society (IDS) | fpalacios | SU2 News & Announcements | 1 | June 17, 2019 23:38 |
SU2 Installation on Windows 32 bit | niddaas | SU2 Installation | 3 | May 6, 2016 18:03 |
SU2 parallel installation error | JAlbert | SU2 Installation | 2 | November 19, 2013 03:43 |