- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hi
I'm getting this link error:
1>Main.obj : error LNK2019: unresolved external symbol _MPI_INIT referenced in function _MAIN__
1>Main.obj : error LNK2019: unresolved external symbol _MPI_COMM_RANK referenced in function _MAIN__
1>Main.obj : error LNK2001: unresolved external symbol _MPI_DUP_FN
1>Main.obj : error LNK2001: unresolved external symbol _MPI_NULL_DELETE_FN
1>Main.obj : error LNK2001: unresolved external symbol _MPI_NULL_COPY_FN
when trying to compile a console fortran program on VS2005. Im using Intel Fotran 10.0 on windows server 2003.
The Fortran code has : include "mpi.h" and call MPI_INIT(arg) functions.
Any solutions?
Thanks
Paulo Murai
I'm getting this link error:
1>Main.obj : error LNK2019: unresolved external symbol _MPI_INIT referenced in function _MAIN__
1>Main.obj : error LNK2019: unresolved external symbol _MPI_COMM_RANK referenced in function _MAIN__
1>Main.obj : error LNK2001: unresolved external symbol _MPI_DUP_FN
1>Main.obj : error LNK2001: unresolved external symbol _MPI_NULL_DELETE_FN
1>Main.obj : error LNK2001: unresolved external symbol _MPI_NULL_COPY_FN
when trying to compile a console fortran program on VS2005. Im using Intel Fotran 10.0 on windows server 2003.
The Fortran code has : include "mpi.h" and call MPI_INIT(arg) functions.
Any solutions?
Thanks
Paulo Murai
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You also have to specify a .lib containing the MPI routines. This is not a standard library.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page