Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: Re: [OMPI users] Install BLACS and ScaLAPACK on Leopard
From: Doug Reeder (dlr_at_[hidden])
Date: 2008-05-05 13:17:31


Linwei,

Is there a problem with trailing underscores. Are you linking c/c++
files with fortran. Do the _s_wsle family members need to have a
trailing underscore

where are the unrefernced symbols supposed to be coming from. If they
have a trailing underscore in their names you probably need to add a
command line flag to you fortran command to append the underscore.

Doug Reeder
On May 5, 2008, at 10:12 AM, Linwei Wang wrote:

> Dear Dr. Simon,
>
> Do I need to remove g77 from my computer then? Since after installing
> gfortran (for Leopard), there is some link problem with gfortran..
> When I try to build some routines in the BLACS, it gives error like:
>
> Undefined symbols:
> "_s_wsle", referenced from:
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> "_e_wsle", referenced from:
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> "_do_lio", referenced from:
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> _MAIN__ in tc_fCsameF77.o
> "_s_stop", referenced from:
> _MAIN__ in tc_fCsameF77.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
>
> for some which is successfully built, it can not be run either, giving
> errors like:
>
> iris-wl03:14541] *** Process received signal ***
> [iris-wl03:14541] Signal: Bus error (10)
> [iris-wl03:14541] Signal code: (2)
> [iris-wl03:14541] Failing at address: 0xe3
> [iris-wl03:14541] [ 0] 2 libSystem.B.dylib
> 0x955f45eb _sigtramp + 43
> [iris-wl03:14541] [ 1] 3 ???
> 0xffffffff 0x0 + 4294967295
> [iris-wl03:14541] [ 2] 4 xcmpi_sane
> 0x00001cc3 main + 51
> [iris-wl03:14541] [ 3] 5 xcmpi_sane
> 0x00001c56 start + 54
> [iris-wl03:14541] *** End of error message ***
> mpirun noticed that job rank 0 with PID 14541 on node iris-
> wl03.rit.edu exited on signal 10 (Bus error).
>
>
>
> The second problem happens when I use g77 too, but there were no
> linking problems with g77...
>
> Thanks for any help!
>
> Best,
> Linwei
>
>
> On May 2, 2008, at 7:04 AM, Christian Simon wrote:
>
>> Dear Linwei,
>>
>> On 1 mai 08, at 20:32, Linwei Wang wrote:
>>>
>>> other type at (1) [info -f g77 M GLOBALS]
>>
>> What compiler are you using ?
>> --
>> Dr. Christian SIMON
>> Laboratoire LI2C-UMR7612
>> Universite Pierre et Marie Curie
>> Case 51
>> 4 Place Jussieu
>> 75252 Paris Cedex 05
>> France/Europe
>>
>> _______________________________________________
>> users mailing list
>> users_at_[hidden]
>> http://www.open-mpi.org/mailman/listinfo.cgi/users
>
> _______________________________________________
> users mailing list
> users_at_[hidden]
> http://www.open-mpi.org/mailman/listinfo.cgi/users