Re: [Myricom help #10120] [Myrinet] About CONFIGURATION of MPICH-1.2.1..7b on Tru64v5.1

Susan Blackford <[email protected]>
Newsgroups gmane.network.myrinet.general
Organization Myricom, Inc.
Message-ID <02062111103507.00539@idefix>
Hi,

On Friday 21 June 2002 01:32 am, Naohiro Ishimatsu wrote:

> I COULDN'T INSTALL MPICH-1.2.1..7b on TRU64 v51.(include f90 compiler)
> Please Give ME your ADVICEs. in deatail.
> By the way I'M Beginer of Myrinet system.
>
> I couldn't understand that I COULDN'T INSTALL following procedure of
> installation
>
> 1. INSTALLed GM driver
> gm-1.5.1_for_Tru64-alpha-OSF1-V5.1-new-features-8ports to DS20E(Tru64v5.1)
> 2.Made sure if myrinetGM was installed  with command ./gm_borad_info and
> mapper active.args . Consequently worked well.
> 3.Downloaded mpich-1.2.1..7b from ftp.myricom. then current to mpich
> directory.
> 4. Changed shell to csh as root, then command setenv like this,
>  #setenv GM_HOME /usr/local/myrinet/gm
>  #setenv CC cc
>  #setenv  RSH rsh
> 5. COMMAND ./configure with following options
>
> #
> ./configure -nodevdebug -cflags="-I$GM_HOME/binary/include
> -I$GM_HOME/includ e" -opt=-O2 -device=ch_gm -noromio -noc++
> --lib="-L$GM_HOME/binary/lib/ -L$G M_HOME/lib/ -lgm -lpthread"

I would first suggest that you following the instructions in the FAQ
for how to configure MPICH-GM for Tru64.
    http://www.myri.com/scs/faq/faq-mpich-gm.html#mpich10

  ---- excerpt from FAQ ----

How do I configure MPICH-GM on Tru64?

Tru64 has a problem with the malloc library's (ab)uses of threads. The 
problem is that a program's initialization code (called prior to main) is 
called before the pthreads lib is set up and it uses malloc. When our malloc 
does an allocation it attempts to acquire a lock. This calls into the 
pthreads lib and causes a SEGV prior to main being entered. 

The workaround is to comment out: 

#define USE_MALLOC_LOCK 1

in mpid/ch_gm/gmpi_malloc.c, and to remove all mention of pthreads from the 
configure line: 


   setenv CC cc
   setenv RSH rsh
   ./configure -nodevdebug -cc=cc -cflags="-I$GM_HOME/binary/include \
             -I$GM_HOME/include" -opt=-O2 -device=ch_gm -nof77 -noromio \
             -noc++ --lib="-L$GM_HOME/binary/lib/ -L$GM_HOME/lib/ -lgm" \
             -arch=alpha -rsh=$RSH

  ---- end of excerpt from the FAQ ---

> 6. Make
>
> I got next a massage when I command "make"
>
> #make
> #Make: Makefile: Must be a separator on line 117.  Stop.

Have you tried using Gnu make?

MPICH-GM is MPICH with the ch_gm device added.  Full details
about configure options for MPICH can be found at:
    http://www-unix.mcs.anl.gov/mpi/mpich/download.html

Feel free to contact us at [email protected] if you have further questions.
Susan

-- 

------------------------------------------
Susan Blackford
Member of Technical Staff
Myricom Inc.
------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.