Newsgroups: comp.parallel.mpi
From: Petri Kaurinkoski <Petri.Kaurinkoski@hut.fi>
Subject: How to compile mpich under IRIX 6.2
Organization: Helsinki University of Technology, Laboratory of Aerodynamics
Date: Thu, 15 Aug 1996 10:50:07 +0300
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <3212D6AF.41C6@hut.fi>

Hi,

I have just started working with MPI. Originally I installed mpich to my SGI
Indigo^2 under IRIX 5.3. There were no problems, just to follow the
instructions.

Now I have upgraded my I^2 to run IRIX 6.2 and thought of recompiling mpich
with the new compilers. The only way I have managed to compile mpich is with

	configure -device=ch_p4 -arch=sgi -comm=shared -prefix=. -fflags="-32 -mips2
-O2" -cflags="-cckr"
	make >&make.log_IRIX6.2

Compilation ends succesfully, but there are many warnings like

"p4_MD.c", line 1320: warning(1116): non-void function "MD_set_reference_time"
          (declared at line 1274) should return a value

"p4_debug.c", line 104: warning(1177): argument is incompatible with formal
          parameter
      p4_dprintf("Dumping global data for process %d at %x\n", getpid(), g);
                                                               ^
"isendf.c", line 118: warning(1412): destination type of cast is too small to
          hold all pointers: truncation possible
  *(int*)request = MPIR_FromPointer(lrequest);
                   ^
"irecvf.c", line 118: warning(1412): destination type of cast is too small to
          hold all pointers: truncation possible
  *(int*)request = MPIR_FromPointer(lrequest);
                   ^
As stated above, there are multiple occurences of these warnings. I wouldn't
really like to go and edit the source code, so I just wonder if anyone knows of
how to compile mpich succesfully. As a matter of fact, making mpich ends
succesfully, but a number of the communications tests fail completely.

Regards,

Petri
-- 

-------------------------------------------------------------------------
Petri Kaurinkoski                               Petri.Kaurinkoski@hut.fi
Helsinki University of Technology               Tel. + 358-0-451 3461
Laboratory of Aerodynamics                      Telefax + 358-0-451 3418
S{hk|miehentie 4, FIN-02150, FINLAND            Telex 125161 htkk sf
http://www.aero.hut.fi/~kaurinko/
-------------------------------------------------------------------------

