yogevb / a-dda

Automatically exported from code.google.com/p/a-dda
0 stars 0 forks source link

Replace MPI global variable with more unique one #86

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Annti Penttila reported a problem when compiling the 
MPI version in HP ProLiant cluster.
http://groups.google.com/group/adda-discuss/t/744d97d57e989c85
The compiler variable "MPI" is defined somewhere in HP's mpiCC.h include
file. Therefore the option -DMPI causes errors in the ADDA Makefile. 
... the same applies also to the variable ROOT inside the code, which
is also used by HP's MPI-library.

I believe that the issue is more connected to HP, since general-purpose
libraries are supposed to use more unique identifiers than the specific
code which uses them. 
However, since it is really easy to do, I will change these identifiers
inside ADDA to more unique ones, like ADDA_MPI and ADDA_ROOT by the next
release.

Original issue reported on code.google.com by yurkin on 17 Sep 2009 at 8:46

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r875.

Original comment by yurkin on 9 Nov 2009 at 4:47