[mpich-discuss] MPICH2 -Problem

hamideh jabalameli hamideh.jabalameli at gmail.com
Mon Feb 25 14:59:05 CST 2013


On Sun, Feb 24, 2013 at 10:37 PM, Andrey V. Malyshev <amal at icm.krasn.ru>wrote:

> Hello, hamideh!
> You wrote to <discuss at mpich.org> on Sun, 24 Feb 2013 18:30:43 +0330:
>
>  hj> I see file 'config.log' from the same directory where the 'configure'
>  hj> was started. I attached its to this email. In the content of this
> file,
>  hj> pthread libraries such as "pthread.h,pthread_yield" have make. but
>  hj> there are related error...
>  hj> Do you know that what do we do?
>
> 1) /home/inet/src/applications/sctpapp/SCTPlikeAPI/include: No such file or
> directory
> Is this directory exists? If yes, maybe the path at all is incorrect? Try
> exactly
> 'ls -la /home/inet/src/applications/sctpapp/SCTPlikeAPI/include'
>
Dear  Andrey
I checked this directory. there is correct. I use the following your
command :ls -la /home/inet/src/applications/sctpapp/SCTPlikeAPI/include,
and I saw :

 ls -la inet/src/applications/sctpapp/SCTPlikeAPI/include

total 8

drwxrwxr-x 2 my-ubuntu my-ubuntu 4096 Feb 22 22:07 .

drwx------ 4 my-ubuntu my-ubuntu 4096 Feb 22 22:07 ..

lrwxrwxrwx 1 my-ubuntu my-ubuntu 19 Feb 22 22:07 sctplikeapi.h ->
../../sctplikeapi.h

Therefore, this directory is correct...



> 2) /usr/bin/ld: cannot find -lsctplike
>
> Have you correctly installed your SCTPlikeAPI? Add its 'lib' directory to
> ldconfig paths (/etc/ld.so.conf.d). This directory have to contain the file
> (or softlink) libsctplike.so. Then run from root ldconfig -v, and try to
> configure again.
>

I do all of your suggestion..

sudo su
cp /home/my-ubuntu/inet/src/applications/sctpapp/SCTPlikeAPI/lib
/etc/ld.so.conf.d
ldconfig -v

 but after configure again, the config.log was the same previous with this
problem! I attached it to this email

Please help me again... :(
Excuse me...


>
>  hj> On Sun, Feb 24, 2013 at 12:22 PM, Andrey V. Malyshev
>  hj> <amal at icm.krasn.ru>wrote:
>
>  ??>> Hello, hamideh!
>  ??>> You wrote to <discuss at mpich.org> on Sun, 24 Feb 2013 10:12:01 +0330:
>  ??>>
>  hj>>> I think configure doesn't done correctly!
>  ??>>
>  ??>> That's right.
>  ??>>
>  hj>>> configure command is :
>  hj>>> ../configure  --with-device=ch3:sctp
>  hj>>> --with-sctp=/home/inet/src/applications/sctpapp/SCTPlikeAPI
>  hj>>> --prefix=/home/mpich2-hginit –disable-mpe
>  hj>>> What I am doing? :(
>  ??>>
>  ??>> See the file 'config.log' from the same directory where the
>  ??>> 'configure' was started, or where the 'configure' file is
>  ??>> located. Pthread library was not found, you should understand, why,
>  ??>> and maybe then it becomes clear how to fix.
>  ??>>
>  hj>>> On Sun, Feb 24, 2013 at 10:07 AM, Andrey V. Malyshev
>  hj>>> <amal at icm.krasn.ru>wrote:
>  ??>>
>  ??>>>> Hello, hamideh!
>  ??>>>> You wrote to <discuss at mpich.org> on Sun, 24 Feb 2013 08:23:37
> +0330:
>  ??>>>>
>  hj>>>>>  checking for pthread.h... yes
>  ??>>>>       checking for pthread_yield... no
>  ??>>>>       checking for library containing pthread_key_create... no
>  ??>>>>       configure: error: unable to find pthreads library
>  ??>>>>
>  ??>>>> See config.log, what error occurs during this check?
>  ??>>>>
>  ??>>>> --
>  ??>>>> With best regards, Andrey V. Malyshev.
>  ??>>>> E-mail: amal at krasn.ru
>  ??>>>> _______________________________________________
>  ??>>>> discuss mailing list     discuss at mpich.org
>  ??>>>> To manage subscription options or unsubscribe:
>  ??>>>> https://lists.mpich.org/mailman/listinfo/discuss
>  ??>>>>
>  hj>>> --
>  hj>>> *Best Regards*
>  hj>>> *
>  ??>>
>  hj>>> Hamideh Jabalameli*
>  ??>>
>  hj>>> M.Sc Candidate,
>  hj>>> School of Electrical and Computer Engineering,
>  hj>>> College of Engineering,
>  hj>>> Electronici Shahid Beheshti Tehran University
>  hj>>> h.jabal at Mail.sbu.ac.ir
>  hj>>> hamideh.jabalameli at gmail.com
>  ??>>
>  ??>> --
>  ??>> With best regards, Andrey V. Malyshev.
>  ??>> E-mail: amal at krasn.ru
>  ??>>
>  ??>> _______________________________________________
>  ??>> discuss mailing list     discuss at mpich.org
>  ??>> To manage subscription options or unsubscribe:
>  ??>> https://lists.mpich.org/mailman/listinfo/discuss
>  ??>>
>  hj> --
>  hj> *Best Regards*
>  hj> *
>
>  hj> Hamideh Jabalameli*
>
>  hj> M.Sc Candidate,
>  hj> School of Electrical and Computer Engineering,
>  hj> College of Engineering,
>  hj> Electronici Shahid Beheshti Tehran University
>  hj> h.jabal at Mail.sbu.ac.ir
>  hj> hamideh.jabalameli at gmail.com
>
> --
> With best regards, Andrey V. Malyshev.
> E-mail: amal at krasn.ru
>
> _______________________________________________
> discuss mailing list     discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
>



-- 
*Best Regards*
*

Hamideh Jabalameli*

M.Sc Candidate,
School of Electrical and Computer Engineering,
College of Engineering,
Electronici Shahid Beheshti Tehran University
h.jabal at Mail.sbu.ac.ir
hamideh.jabalameli at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130226/76ba28d3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: config.log
Type: application/octet-stream
Size: 149129 bytes
Desc: not available
URL: <http://lists.mpich.org/pipermail/discuss/attachments/20130226/76ba28d3/attachment.obj>


More information about the discuss mailing list