carlobertolli/OP2-Common — Issue #5: Compiling libop2_mpi
Author: chintagunta
Created: 2011-10-19 13:55:17+00:00
State: open

I have an issue compiling the libop2_mpi library. I have the following output for "make mpi_seq" ;

/home/abhi/openmpi/bin/mpiCC -DCOMM_PERF -DDEBUG -Wall -O3 -g -Iinclude -c src/mpi/op_mpi_core.c \
-o obj/mpi/op_mpi_core.o
In file included from src/mpi/op_mpi_core.c:48:
include/op_mpi_core.h:42:1: warning: "MPI_ROOT" redefined
In file included from src/mpi/op_mpi_core.c:46:
/home/abhi/openmpi/include/mpi.h:289:1: warning: this is the location of the previous definition
src/mpi/op_mpi_core.c: In function â:
src/mpi/op_mpi_core.c:545: warning: unused variable â
src/mpi/op_mpi_core.c: In function â:
src/mpi/op_mpi_core.c:2021: warning: unused variable â
src/mpi/op_mpi_core.c:2021: warning: unused variable â
src/mpi/op_mpi_core.c: In function â:
src/mpi/op_mpi_core.c:2473: warning: comparison between signed and unsigned integer expressions
src/mpi/op_mpi_core.c:2536: warning: comparison between signed and unsigned integer expressions
src/mpi/op_mpi_core.c:2598: warning: comparison between signed and unsigned integer expressions
src/mpi/op_mpi_core.c:2432: warning: â may be used uninitialized in this function
src/mpi/op_mpi_core.c:2495: warning: â may be used uninitialized in this function
src/mpi/op_mpi_core.c:2558: warning: â may be used uninitialized in this function
src/mpi/op_mpi_core.c: In function â:
src/mpi/op_mpi_core.c:2220: warning: â may be used uninitialized in this function
src/mpi/op_mpi_core.c:2282: warning: â may be used uninitialized in this function
src/mpi/op_mpi_core.c:2345: warning: â may be used uninitialized in this function
src/mpi/op_mpi_core.c: In function â:
src/mpi/op_mpi_core.c:726: warning: â may be used uninitialized in this function
g++ -DCOMM_PERF -DDEBUG -Wall -O3 -g -Iinclude -c src/core/op_rt_support.c \
-o obj/op_rt_support.o
/home/abhi/openmpi/bin/mpiCC -DCOMM_PERF -DDEBUG -Wall -O3 -g -Iinclude -c src/mpi/op_mpi_decl.c \
-o obj/mpi/op_mpi_decl.o
In file included from src/mpi/op_mpi_decl.c:11:
include/op_mpi_core.h:42:1: warning: "MPI_ROOT" redefined
In file included from src/mpi/op_mpi_decl.c:7:
/home/abhi/openmpi/include/mpi.h:289:1: warning: this is the location of the previous definition
/home/abhi/openmpi/bin/mpiCC -DCOMM_PERF -DDEBUG -Wall -O3 -g -Iinclude -I/home/abhi/parmetisv311/include -DPARMETIS -I/home/abhi/ptscotch/include -DPTSCOTCH \
-L/home/abhi/ptscotch/lib -lptscotchparmetis -L/home/abhi/parmetisv311 -lparmetis -L/home/abhi/parmetisv311 -lmetis -L/home/abhi/ptscotch/lib/ -lptscotch -L/home/abhi/ptscotch/lib/ -lptscotcherr \
-c src/mpi/op_mpi_part_core.c \
-o obj/mpi/op_mpi_part_core.o obj/core/op_util.o
In file included from src/mpi/op_mpi_part_core.c:64:
include/op_mpi_core.h:42:1: warning: "MPI_ROOT" redefined
In file included from src/mpi/op_mpi_part_core.c:50:
/home/abhi/openmpi/include/mpi.h:289:1: warning: this is the location of the previous definition
src/mpi/op_mpi_part_core.c:563:65: warning: backslash and newline separated by space
/home/abhi/ptscotch/include/ptscotch.h:179: error: expected â or â before â
/home/abhi/ptscotch/include/ptscotch.h:234: error: expected â or â before â
make: *** [mpi_seq] Error 1