[mpich-discuss] Fwd: Unresolved symbol for all MPI functions

Jim Dinan dinan at mcs.anl.gov
Tue Dec 18 17:56:07 CST 2012


There's no attachment; it's hard to provide an answer without more 
information.  A few generic suggestions:

Are you compiling your program with the MPI compiler wrappers?

Is it a mixed Fortran/C program?  If so, this could be a function 
underscoring issue.  Make sure you use the Fortran compiler that you 
used to compile MPICH, and that you link with the Fortran compiler (not 
the C compiler).


On 12/18/12 3:56 PM, Dave Goodell wrote:
> Forwarding to discuss at mpich.org <mailto:discuss at mpich.org>, since that
> is the actual mailing list address.  Please do not send list questions
> to the *-owner@ or *-request@ aliases.
> -Dave
> Begin forwarded message:
>> *From: *Sivasankaran P <sivasankaran.p at quest-global.com
>> <mailto:sivasankaran.p at quest-global.com>>
>> *Subject: **Unresolved symbol for all MPI functions*
>> *Date: *December 18, 2012 5:20:13 AM CST
>> *To: *"discuss-owner at mpich.org <mailto:discuss-owner at mpich.org>"
>> <discuss-owner at mpich.org <mailto:discuss-owner at mpich.org>>,
>> "discuss-request at mpich.org:" <discuss-request at mpich.org:>
>> Hi,
>> I hae installed MPICH2 based on the attachment. I am unable to compile the
>> FORTRAN / C source codes with the MPI function calls.
>> I am getting the following error:
>> Unresolved external symbol _/MPI/_INIT referenced function main
>> Thanks,
>> *Sivasankaran Palanivelu*
>> Technical Manager–Embedded and Engineering Software CoE**
>> *QuEST Global*
>> #55, Quest Towers, Mahadevpura,
>> Bangalore, Karnataka - 560 048, India
>> *T:*+91 80 41190900*X:*1256*F:*+91 80 41190900*M:*+91-9880269291
>> *E:*sivasankaran.p at quest-global.com
>> <mailto:sivasankaran.p at quest-global.com> *Follow us
>> on:****cid:image001.png at 01CD132D.32D2BC20*
>> <http://www.facebook.com/QuESTGlobal>*cid:image002.png at 01CD132D.32D2BC20*
>> <http://www.linkedin.com/company/quest_2>*cid:image003.png at 01CD132D.32D2BC20*
>> <http://twitter.com/#!/QuEST_Global>**
>> *W:*http://engineering.quest-global.com
>> ---Disclaimer------------------------------
>> solely for the use of the addressee(s). If you are not the intended
>> recipient, please notify the sender by e-mail and delete the original
>> message. Opinions, conclusions and other information in this
>> transmission that do not relate to the official business of QuEST
>> Global and/or its subsidiaries, shall be understood as neither given
>> nor endorsed by it. Any statements made herein that are tantamount to
>> contractual obligations, promises, claims or commitments shall not be
>> binding on the Company unless followed by written confirmation by an
>> authorized signatory of the Company.
>> ------------------------------------------------------------------------------------
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss

More information about the discuss mailing list