[mpich-discuss] MPICH2 -Problem

Andrey V. Malyshev amal at icm.krasn.ru
Mon Feb 25 20:25:39 CST 2013


Hello, hamideh!
You wrote to <discuss at mpich.org> on Tue, 26 Feb 2013 00:29:05 +0330:

 hj> Dear  Andrey
 hj> I checked this directory. there is correct. I use the following your
 hj> ls -la /home/inet/src/applications/sct..
 hj> ls -la inet/src/applications/sctpapp/SCTPlikeAPI/include

You have checked relative path, not absolute.
Check full path, beginning with '/', and pass it to configure.

 ??>> 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.
 ??>>
 hj> I do all of your suggestion..

Oh, no 8-)
Remove from /etc/ld.so.conf.d all libraries you have copied there, and do 
this:

sudo echo /home/my-ubuntu/inet/src/applications/sctpapp/SCTPlikeAPI/lib > 
/etc/ld.so.conf.d/sctp.conf

NB! It must be absolute (with beginning slash) correct path.

Then sudo ldconfig -v and retry configure...

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

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

 hj> Please help me again... :(
 hj> 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
 ??>>
 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 




More information about the discuss mailing list