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

jayesh at mcs.anl.gov jayesh at mcs.anl.gov
Mon Dec 14 09:35:47 CST 2009


Hi,
 Which compiler are you using (digital fortran ?)? Can you compile a simple MPI helloworld program ?

Regards,
Jayesh

----- Original Message -----
From: "roman v." <bopohob at gmail.com>
To: mpich-discuss at mcs.anl.gov
Sent: Friday, December 11, 2009 7:40:03 PM GMT -06:00 US/Canada Central
Subject: [mpich-discuss] MPICH Linking error with CVF 6.6c under windows XP

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

_______________________________________________
mpich-discuss mailing list
mpich-discuss at mcs.anl.gov
https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss


More information about the mpich-discuss mailing list