Thanks for the reply @pan64
According to another thread, I was invoking the wrong system linker and probably the wrong compiler too.
Running:
Code:
mpicc -c -I../testlib -I../validation_tests -I.. -I. -DUSE_PTHREAD_MUTEXES first.c
file first.o
Gives:
Code:
ELF 64-bit LSB relocatable, x86-64, version 1 (SYSV), not stripped
Running:
Code:
$ mpicc --print-multiarch
Gives:
I don't know how to change the triplet or chose the right path, so that, mpicc finds the right toolchain compiler (aarch64-linux-gnu-)
Thanks,
Luís