mingw - Code::Blocks MPICH2 Undefined reference in Windows -


i searched on how link mpich2 code::blocks, couldn't find understandable solution. (running windows 7 64x bit)

so did far downloaded mpich2 windows market, install both .msi , .exe.

the mpi didn't functions, tried using link , tools section inside code::blocks. no go.

so copied .h , .lib files mingw path , choose 32x bit files put in lib folder because both mingw in 32x program files , target pc upload code 32x. (i tried 64x later, no difference).

so far thats optimal thing did code::blocks complete syntax , tell me whats parameters is. had problem sal.h, downloaded , put in header , give me errors when ever use misodes in

example:

if use mpi_init(null,null);, console outputs undefined reference tompi_init@8'|`

my problem particular 1 , search results either 1 aspect. don't know next.

keep in mind student , have minimum experience in ide, compilers, linkers , programming in general. in care.

thanks in advance.

thank , edit grammar while trying fix own problem myself .

i did "not" .

so think linker , lib didnt sync automatically when copied mgw file "weird thou completing syntax , refused run when sent false parameters" basicly did .

setting >> compiler.. >> linker setting > add > "the mpi or msmpi lib dir keep in mind 86x or 64x" .

setting >> compiler.. >> search dirctory > add > "the include dir keep in mind 86x or 64x" .

and thats basicly it runs doesn't use more 1 core "my pc i3" update after fix .


Comments

Popular posts from this blog

java - nested exception is org.hibernate.exception.SQLGrammarException: could not extract ResultSet Hibernate+SpringMVC -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -

asp.net mvc - breakpoint on javascript in CSHTML? -