Dear All,
I get the following error when runing make in openCARP (at the moment without carputils), even though I included petcs in the path.
export PETSC_DIR=/Users/fchegini/install/petsc
export PATH="/Users/fchegini/install/petsc/bin:$PATH"
Do u have any suggestions on how to solve this issue?
what I run:
cmake -S. -B_build -DDLOPEN=ON -DCMAKE_BUILD_TYPE=Release -D CMAKE_C_COMPILER=llvm-gcc -D CMAKE_CXX_COMPILER=llvm-g++
cmake --build _build
cd _build/bin
So I could see in _build/bin all the exec files
bench igbapd igbdft igbextract igbhead igbops mesher openCARP
Now when I run make in openCARP, I have the following error:
I appreciate any help/suggestion.
best,
Fatemeh
....
ld: warning: could not create compact unwind for _zupmtr_: registers 27 and 28 not saved contiguously in frame
"void SF::init_vector_petsc<int, double>(SF::abstract_vector<int, double>**)", referenced from:
void SF::init_vector<int, double>(SF::abstract_vector<int, double>**, int, int, int, SF::abstract_vector<int, double>::ltype) in bench.o
void SF::init_vector<int, double>(SF::abstract_vector<int, double>**, SF::abstract_vector<int, double>*) in bench.o
void SF::init_vector<int, double>(SF::abstract_vector<int, double>**, SF::abstract_vector<int, double>*) in liblimpet.opt.a(MULTI_ION_IF.o)
"opencarp::initialize_PETSc(int*, char**, char*, char*)", referenced from:
_main in bench.o
ld: symbol(s) not found for architecture arm64
clang-15: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [Makefile:101: bench] Error 1