Myrinet and MPI question

From: Hrant Gharabekyan (ghg_at_xalt.am)
Date: Thu Jul 22 2004 - 09:20:01 CDT

I compiled charm ++
./build charm++ mpi-linux gm --basedir /opt/mpich-gm-1.2.5-12/
builded normalyy, megatest passed normally for 4 nodes.

Configuring Namd ./config tcl fftw Linux-i686-MPI
When I trying compile Namd 2.5 without any changes in makefile
output is :
/home/sicnas/Hrant/Namd/TCL/lib/libtcl8.3.a(tclUnixPipe.o)(.text+0xe2): In function `TclpCreateTempFile':
: the use of `tmpnam' is dangerous, better use `mkstemp'
/opt/mpich-gm-1.2.5-12/lib/libmpich.a(gmpi_malloc.o)(.text+0x64): In function `malloc_atfork':
: undefined reference to `pthread_self'
/opt/mpich-gm-1.2.5-12/lib/libmpich.a(gmpi_malloc.o)(.text+0xcf): In function `malloc_atfork':
: undefined reference to `pthread_mutex_lock'
/opt/mpich-gm-1.2.5-12/lib/libmpich.a(gmpi_malloc.o)(.text+0xd7): In function `malloc_atfork':
: undefined reference to `pthread_mutex_unlock'
/opt/mpich-gm-1.2.5-12/lib/libmpich.a(gmpi_malloc.o)(.text+0x135): In function `free_atfork':
: undefined reference to `pthread_self'
/opt/mpich-gm-1.2.5-12/lib/libmpich.a(gmpi_malloc.o)(.text+0x152): In function `free_atfork':
: undefined reference to `pthread_mutex_lock'
.....
exit with error.

I tryed changes in makefile (but in wiki writed that that changes for
GM 2), in all cases I tryed.
CXXFLAGS = $(CXXBASEFLAGS) $(CXXOPTS) -lpthread
output is same.

I read in wiki there writen
--with-device=ch_gm:-disable-registration when configuring MPICH-GM
but my MPICH-GM already installed, and I haven't any possibility to
change it.

Is there any possible solution for my problem.

A lot of Thank's

Hrant

This archive was generated by hypermail 2.1.6 : Wed Feb 29 2012 - 15:37:47 CST