c++ - Installed MPI but still linker error LNK2019 appears -


i've installed ms-mpiv5 microsoft , debugger msmpi. in proejct properties in vs2012, i've changed c/c++ -> additional include libraries adding "$(msmpi_inc); $(msmpi_inc)\x64" , linker -> options->additional dependencies adding "msmpi.lib;", vs still giving me al lot of linker errors such

error lnk2019: unresolved external symbol _mpi_barrier@4

unresolved external symbol _mpi_bcast@20

and on, mpi functions or type of variables. there forgot change or add?

i haven't used 2012, if it's similar older versions of vs this detailed link may help. in general make sure these 3 things:

  1. add "additional include directories"
  2. add "additional library directories"
  3. add "additional dependencies" (msimpi.lib)

it sounds may missing 2nd step?


Comments

Popular posts from this blog

SQL php on different pages to Insert (mysqli) -

php - How can an email be returned from Stripe Checkout? -

sql - Partition elimination in Greenplum -