Closed marlito-gonaldo-byte closed 4 months ago
Clang is more strict than GCC, and unfortunately not all community codes in AMUSE work with it, so we're currently not supporting clang.
Could you try to use GCC instead? It comes with OpenMP included I think (it's not just the library, you need a compiler that supports it as well, hence -fopenmp
rather than -lopenmpi
), and it should accept the missing type specifier in g6lib.
The stopcondmpi
library is part of the AMUSE framework, so if it's not found then there's another issue there. Let's swap compilers first though.
I swapped the compiler and still have the same error
Okay never mind I did a make distclean
=>./configure
=> pip install -e .
=> make petar.code
and it worked
I am closing the issue
I am trying to install PeTar code through AMUSE in order to use the amuse-interface PeTar python scripts. I am on a MacBook Pro M2 2022, I created a virtual environment for AMUSE installation, and was able to install most of the AMUSE code, see issue #1050. On my 1st try I used
make petar.code
and got this error :Then I did
brew install llvm libomp
in order to solve this library missing error. I set up the PATH in my .zprofile as follow :and got the following config file config.txt
when I
make petar.code
I get this error :when I
make install petar.code
I get this error :As you can see here I added
-Wno-implicit-function-declaration
to CLFLAGS in an attempt to solve the error, following https://www.redhat.com/en/blog/new-warnings-and-errors-clang-16 I have error with CUDA too for Sapporo 2 but it was expected since I am on a MacBook Pro M2.