I have been asked to convert some C++ code using Open MPI to Objective C and I am having problems getting a simple Obj C program to compile. I have searched through the FAQs and have not found anything specific. Is it an incorrect assumption that the C interfaces work with Obj C, or am I missing something?
Thanks in advance for your help!
open MPI version: 1.4.3
int main (int argc, char** argv)
// Variable Declaration
// Initializing Message Passing Interface
NSLog(@"Executing open MPI Objective C");
UNC ONLY: SAW>mpicc main.m -o test
"___CFConstantStringClassReference", referenced from:
cfstring=Executing open MPI Objective C in ccj1AlL9.o
"_NSLog", referenced from:
_main in ccj1AlL9.o
ld: symbol(s) not found
collect2: ld returned 1 exit status