[gmx-users] Compilation issue, MacOS 10.13.5 - Gromacs 2018 - CUDA 9.2
Florian Nachon
florian.nachon at chemdef.fr
Wed Jun 20 13:00:04 CEST 2018
> On 18 Jun 2018, at 20:54, Kevin Boyd <kevin.boyd at uconn.edu> wrote:
>
> Hi,
>
> In general you're not supposed to mix C compilers. I've had linking
> errors in the past, eg with using different versions of GCC between
> the -DC_CMAKE_C_COMPILER and -DCUDA_HOST_COMPILER.
>
> See this post for a discussion.
>
> https://www.mail-archive.com/gromacs.org_gmx-users@maillist.sys.kth.se/msg32682.html <https://www.mail-archive.com/gromacs.org_gmx-users@maillist.sys.kth.se/msg32682.html>
The problem is that Apple’s clang (from Xcode) does not support OpenMP… and clang-6.0 from macport is not compatible with cuda.
So I have to used both.
I’ll try another version of clang that might be linking correctly.
Florian
More information about the gromacs.org_gmx-users
mailing list