[mpich-discuss] MPICH Linking error with CVF 6.6c under windows XP

roman v. bopohob at gmail.com
Fri Dec 11 19:40:03 CST 2009


Linking...
mpi_comm_test.obj : error LNK2005: _MAIN__ already defined in MAIN_PROGRAM.OBJ
Debug/MAIN_PROGRAM.exe : fatal error LNK1169: one or more multiply
defined symbols found
Error executing link.exe.

MAIN_PROGRAM.exe - 2 error(s), 0 warning(s)

The exported make file is attached.  Please let me know how to fix this.

ps:  I am also trying to get the same thing to work with MPICH2 (I
really don't care which one as long as at least one of them works.)
There the linker can't gives an error when trying to link
fmpich2s.lib, however I know that it sees the file, because when I
tell it not to link to this file I get a lot of MPI errors as opposed
to when it tries to link and fails.

-- 
Sincerely,

Roman Voronov

Chemical Engineering PhD Candidate
ChE Graduate Senator 2005-2006
Founder of the RUssian Speaking Student Association (RUSSA) - A
Registered Student Organization of the University of Oklahoma
(405) 796-4087 http://www.ou.edu/russa
-------------- next part --------------
A non-text attachment was scrubbed...
Name: MAIN_PROGRAM.MAK
Type: application/octet-stream
Size: 25478 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20091211/0b027c4c/attachment-0001.obj>


More information about the mpich-discuss mailing list