Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

When I link my MPI code I get a warning about mpipriv having more than one size – what does that mean?

code link mean MPI size warning
0
10 Posted

When I link my MPI code I get a warning about mpipriv having more than one size – what does that mean?

0
10

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.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123