Global Array Toolkit Compilation Errors on Mac OS X 10.9.5


Forum Vet
I have registered and downloaded ga-5-3.
When I compiled it on MAC OS X 10.9.5, the following message appeared after typing "make"
......
/usr/local/Cellar/mpich2/3.1.2/include/mpi.h:168:53: error: expected identifier
static const MPI_Datatype mpich_mpi_short_int MPICH_ATTR_TYPE_TAG_...
                                                   ^
/usr/local/Cellar/mpich2/3.1.2/include/mpi.h:25:109: note: expanded from macro
     'MPICH_ATTR_TYPE_TAG_LAYOUT_COMPATIBLE'
...__attribute__((type_tag_for_datatype(MPI,type,layout_compatible)))
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
20 errors generated.
make[3]: *** [src/collectives/message.lo] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Thanks for your advice!

Forum Vet
1) We recommend using the ga-5-3 shipped with NWChem 6.5 and NOT the one from http://hpc.pnl.gov/globalarrays/

2) Please set CFLAGS_FORGA="-DMPICH_NO_ATTR_TYPE_TAGS" as described in

http://nwchemgit.github.io/index.php/Compiling_NWChem#Compilation_of_NWChem_6.5_release_on_M...

Forum Vet
Thanks. I have re-exported CFLAGS_FORGA="-DMPICH_NO_ATTR_TYPE_TAGS", etc., but got the same error message.

Forum Vet
The total memory , GA , etc., all can be changed.


Forum >> NWChem's corner >> Compiling NWChem