Open lrobion opened 2 months ago
After more testing:
Local WSL setup:
HPC setup:
Seems like a local compiler configuration problem rather than a APCEMM / netcdf-c issue.
Hi @lrobion - what's your conclusion on this? I don't think we have clang on the cluster I'm using, otherwise I would've given it a shot. I did try using oneapi but no joy on that front either..
I ended managing to compile with clang 10 on the cluster. Clang 10 is the system installation of clang on the HPC setup. On my local machine the only compilation that succeeded was with clang 14 which is also my system installed compiler.
All other tests were run with conda installations of clang, so I think it's a problem with conda not pointing clang to the proper installation of either the stdlib or OpenMP (sometimes instead of netcdf-c it was Boost that wouldn't compile). Interestingly enough conda installations of different gcc version work just fine.
I don't think this is an APCEMM / vcpkg specific problem, but if you had issues with other compilers then it may be worth looking into more.
Trying to compile vcpkg dependencies with APCEMM on clang fails due to netcdf-c. Tested on clang 18 on Hex. I tried updating the vcpkg version with
git submodule update --remote
which did update vcpkg but did not fix the netcdf-c compilation issue.