Closed hongyanbu closed 6 years ago
Hi, What version of mpich are you using? Pedro
Hi, What version of mpich are you using? Pedro
Hi, Pedro @pcarruscag I'm using mpich-3.0 & mpich-3.0-devel, installed with yum on CentOS 7. Hongyan
From the looks of things in that version some function signatures are not compatible with MeDi, I downloaded the source for 3.0 to be sure, version 3.3b3 on the other hand seems to be compatible. If you have the option to update give it a go, if not try compiling with -fpermissive (CXXFLAGS="-O3 -Wall -fpermissive" I think).
I strongly advice you not to use -fpermissive. That is a fix for bad programming.
@vdweide agreed, but for the sake of not giving SU2 a bad rep, the MPI standard specifies those variables to be const (https://www.mpi-forum.org/docs/mpi-3.0/mpi30-report.pdf page 572 or 602 of the pdf) so this is a (small-ish) mpich 3.0 implementation issue.
From the looks of things in that version some function signatures are not compatible with MeDi, I downloaded the source for 3.0 to be sure, version 3.3b3 on the other hand seems to be compatible. If you have the option to update give it a go, if not try compiling with -fpermissive (CXXFLAGS="-O3 -Wall -fpermissive" I think).
Switched to mpich-3.3b3, compiled successfully. Thanks a lot! @pcarruscag @vdweide
Following is the error infomation:
Following is the config log: