Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |  

This web mail archive is frozen.

This page is part of a frozen web archive of this mailing list.

You can still navigate around this archive, but know that no new mails have been added to it since July of 2016.

Click here to be taken to the new web archives of this list; it includes all the mails that are in this frozen archive plus all new mails that have been sent to the list since it was migrated to the new archives.

Subject: [OMPI users] OpenMPI Compilation Error
From: Alan Sang Loon (alan988_at_[hidden])
Date: 2014-06-05 01:34:47


I have downloaded OpenMPI-1.8.1 and compiled it using Intel Compilers
(Intel Composer XE Suites 2013) and the command used is as follow:

./configure --prefix=/opt/openmpi-1.8.1 CC=icc CXX=icpc F77=ifort FC=ifort
make all install

Everything works just fine except I realized that the MPI library was built
for 32-bit integers (fort integer size=4)

Then I reconfigured it using this command:

./configure --prefix=/opt/openmpi-1.8.1 CC=icc CXX=icpc F77=ifort FC=ifort

However, when I tried to compile it using the make all install command,
some errors appeared at the end of the compilation which is described as

... ...
  CC pdist_graph_create_adjacent_f.lo
pdist_graph_create_adjacent_f.c(79): error: "c_sourceweights" has already
been declared in the current scope

pdist_graph_create_adjacent_f.c(81): error: "c_destweights" has already
been declared in the current scope

compilation aborted for pdist_graph_create_adjacent_f.c (code 2)
make[3]: *** [pdist_graph_create_adjacent_f.lo] Error 1
make[3]: Leaving directory
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/openmpi-1.8.1/ompi/mpi/fortran/mpif-h'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/openmpi-1.8.1/ompi'
make: *** [all-recursive] Error 1

I have no idea of what is happening. Would anyone please help me to solve
the problem if it is possible?

Thank you very much.