When I link my MPI code I get a warning about mpipriv having more than one size – what does that mean?
There are 2 versions of the MPI libraries for Fortran codes – a 4-byte version if you are using the -dw option, and an 8-byte version if you are using the -ew option. If you get a warning at link stage like: sxld warning: multiply defined symbol mpipriv2_, in /SX/usr/lib0/libmpiw.a, has more than one size sxld warning: multiply defined symbol mpipriv_, in /SX/usr/lib0/libmpiw.a, has more than one size sxld warning: multiply defined symbol mpipriv3_, in /SX/usr/lib0/libmpiw.a, has more than one size then you have compiled for one version and linked with the other. Ensure that the same option is used at compile and link stage. Note: The current site option is for -ew, defined using the site option environment variable F90_SITE_OPTIONS.