[petsc-dev] bfort broken with plex?
Barry Smith
bsmith at mcs.anl.gov
Sun Sep 8 16:55:20 CDT 2013
Satish,
In next
/Applications/CMake 2.8-10.app/Contents/bin/cmake" -E cmake_link_script CMakeFiles/petsc.dir/link.txt --verbose=1
Undefined symbols for architecture x86_64:
"_MPI_Datatype_f2c", referenced from:
_dmplexdistributedata_ in plexf.c.o
ld: symbol(s) not found for architecture x86_64
collect2: error: ld returned 1 exit status
make[5]: *** [lib/libpetsc.dylib] Error 1
make[4]: *** [CMakeFiles/petsc.dir/all] Error 2
make[3]: *** [all] Error 2
make[2]: *** [ccmake] Error 2
make[1]: *** [cmake] Error 2
in bfort I find
else if (strcmp( "MPI_Datatype", type ) == 0) {
sprintf( buf, "\n\tMPI_Datatype_f2c( *(%s) )", name );
but it seems it should be MPI_Type_f2c (I guess the MPI folks don't care about consistency).
If I am correct about the mistake could you please fix the bfort repository version and crank up the release number?
Thanks
Barry
More information about the petsc-dev
mailing list