Newsgroups: comp.parallel.mpi
From: hook@cscsun3.larc.nasa.gov (Ed Hook)
Subject: Re: Question for MPICH 1.0.12 on SP, AIX 4.1.x
Keywords: MPICH
Organization: CSC/NASA Langley Research Center
Date: 16 May 1996 18:13:34 GMT
Message-ID: <4nfr8e$qi3@reznor.larc.nasa.gov>

In article <4n82me$q1p@raton.arc.unm.edu>, vasilis@arc.unm.edu (Vasilios Georgitsis) writes:
|> 
|> I am trying to install mpich on an SP2 system which is running AIX 4.1. I
|> was able to install it under the option using the following step with no
|> problem.
|>         configure -arch=rs6000 -device=ch_p4
|>         make
|> 
|> After I tried to install it using the following commands:
|>         configure -arch=rs6000 -device=ch_eui
|>         make
|> 
|> but at the time it got to the point to execute the command:
|>         mpCC  -o overtake overtake.o test.o ...
|> 
|> which is located at 'examples/test/pt2pt' it produces the following errors:
|>         ld: 0711-317 ERROR: Undefined symbol: .mp_main
|>         ld: 0711-317 ERROR: Undefined symbol: .mp_environ
|>         ld: 0711-317 ERROR: Undefined symbol: .mpc_bsend
|>         ld: 0711-317 ERROR: Undefined symbol: .mpc_brecv
|>         ld: 0711-317 ERROR: Undefined symbol: .mp_probe
|>         ld: 0711-317 ERROR: Undefined symbol: .mp_status
|>         ld: 0711-317 ERROR: Undefined symbol: .mpc_send
|>         ld: 0711-317 ERROR: Undefined symbol: .mpc_sync
|>         ld: 0711-317 ERROR: Undefined symbol: .mpc_stopall
|>         ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
|>         information.
|>         make: 1254-004 The error code from the last command is 8.
|> 
|> I believe that those are the MPL function calls and they can not be found.
|> The same error messages were obtained when the device option was set to
|> ch_mpl, which was expected because the ch_eui and ch_mpi are the same.
|>
  Yes, these are MPL functions. With the AIX 4.1 upgrade, IBM has merged
  their MPI-F implementation with the older MPL library.
 
|> Do you have any suggestions of what I can do to overcome this problem to
|> be able to run MPICH without using the p4 library?
|>
  What we did here when we had to install MPICH on our SP2 for some users
  who were having problems using IBM's version was to create a symbolic link
  in the lib/rs6000/ch_eui directory:

             libmpl.a -> /usr/lpp/ppe.poe/lib/libmpi.a

  and then have users modify their makefiles (or whatever) to replace all
  occurrences of "-lmpi" by "-lmpi -lmpl". 

  This isn't elegant, but it does work.
 
|> P.S. I have send the above e-mail at mpi-bugs@mcs.anl.gov on May 6, 1996
|> but I have not receive any respond or/and any suggestion for the problem.
|> 
|> Thanks,
|> #########################################################################
|> # Name : Vasilios Georgitsis                                            #
|> # Graduate Research Assistant at the MAUI SuperComputer Project at UNM. #
|> # Major : Master in Computer Engineering                                #
|> # Expected graduation date : 5-20-96                                    #
|> #                                                                       #
|> # Thesis Topic : Message Passing Performance of SP Systems.             #
|> # Advisor : Dr. John Sobolewski, Associate Vice President of CIRT.      #
|> #                                                                       #
|> # HOME PHONE : ( 505 ) 843-8087  PHONE:  (505) 277-8249                 #
|> #                                FAX  :  (505) 277-8235                 #
|> #                                URL : http://www.arc.unm.edu/~vasilis/ #
|> #                                E-MAIL: vasilis@arc.unm.edu            #
|> #                                        vgeor@unm.edu                  #
|> #########################################################################

-- 
 Ed Hook                              |       Coppula eam, se non posit
 Computer Sciences Corporation        |         acceptera jocularum.
 NASA Langley Research Center         | Me? Speak for my employer?...<*snort*>
 Internet: hook@cscsun3.larc.nasa.gov |        ... Get a _clue_ !!! ...

