[MPICH] installing on sun. config.log attached
Karl Schleicher
karl at appliedgeo.com
Wed Sep 28 11:31:37 CDT 2005
Rusty or Rajeev,
I am working on installing Python. I am still stuck with my original
problem that configure is failing much earlier.
I'm trying to install mpi on a cluster of Sun enterprise systems. I want
to use several of our compute servers to solve one problem.
The steps I followed are:
ftp release to my computer
gunzip -c mpich2-1.0.2p1.tar.gz | tar -xovf -
cd mpich2-1.0.2p1
./configure |& tee configure.log
Configure fails with the log:
Configuring MPICH2 version 1.0.2
sourcing /home/karl/mpi/mpich2-1.0.2p1/src/pm/mpd/setup_pm
checking for gcc... no
checking for cc... cc
cat: cannot open confdefs.h
checking for C compiler default output file name... Can't
open conftest.c
configure: error: C compiler cannot create executables
See `config.log' for more details.
I enterred "uname -a" to get:
SunOS m00 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-Enterprise
I have tried working on other systems to understand the problem, but they are tangents. I followed Rajeev suggestions to set environment variables, rerun the tar extraction, test the c compiler.
Thanks in advance,
Karl Schleicher
Applied Geophysical Services
Rusty Lusk wrote:
>To install the default mpd process manager, you will need to install
>Python (as the Installation Guide explains). Python is free from
>python.org and is relatively easy to install.
>
>If you are going to run on a single machine, you can use a different
>process manager, which does not require Python. Configure with
>
> configure ... --with-pm=gforker ...
>
>That will configure a different version of mpiexec, which works fine for
>single hosts.
>
>Regards,
>Rusty
>
>From: Karl Schleicher <karl at appliedgeo.com>
>Subject: Re: [MPICH] installing on sun. config.log attached
>Date: Wed, 28 Sep 2005 07:35:12 -0500
>
>
>
>>Rajeev,
>>At your request, I removed all the directory created by tar (including
>>the hidden subdirectory without execute permission). I did a fresh tar,
>>your recommended setenv's, and ./configure. Results were the same. I
>>created a little c program (hello world) which compiled and ran
>>successfully.
>>
>>I understand you routine build on solaris platform. I to get much
>>further on my Sun desktop (SunOS 5.9 Ultra 30) before failing because I
>>do not have Python installed. My servers (SunOS 5.6 Ultra-Enterprise)
>>fail much sooner with the logs I sent you. What experience is there
>>with MPI on Enterprise systems?
>>
>>Thanks,
>>Karl
>>
>>Rajeev Thakur wrote:
>>
>>
>>
>>>I don't know what's going on. The configure script is unable to compile a
>>>simple test program. Can you create a small dummy C program and see if it
>>>compiles and runs with cc. Otherwise, just do a fresh untar of the tar file
>>>and try again. We routinely build on a Solaris platform, so I don't know
>>>what's happening here.
>>>
>>>Rajeev
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>>-----Original Message-----
>>>>From: Karl Schleicher [mailto:karl at appliedgeo.com]
>>>>Sent: Tuesday, September 27, 2005 3:57 PM
>>>>To: Rajeev Thakur
>>>>Cc: mpich-discuss at mcs.anl.gov
>>>>Subject: Re: [MPICH] installing on sun. config.log attached
>>>>
>>>>Rajeev,
>>>>I've attached the config.log.
>>>>
>>>>By the way I did not complete the config on my desktop Sun.
>>>>It failed
>>>>looking for python, which has not been installed.
>>>>Karl
>>>>
>>>>Rajeev Thakur wrote:
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>>Could you send the config.log file?
>>>>>
>>>>>Rajeev
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>>-----Original Message-----
>>>>>>From: owner-mpich-discuss at mcs.anl.gov
>>>>>>[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Karl
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>Schleicher
>>>>
>>>>
>>>>
>>>>
>>>>>>Sent: Tuesday, September 27, 2005 2:00 PM
>>>>>>To: Rajeev Thakur
>>>>>>Cc: mpich-discuss at mcs.anl.gov
>>>>>>Subject: Re: [MPICH] Newbee having pblms installing on sun
>>>>>>
>>>>>>Rajeev,
>>>>>>Results are very similar:
>>>>>>
>>>>>>Configuring MPICH2 version 1.0.2
>>>>>>sourcing /home/karl/mpi/mpich2-1.0.2p1/src/pm/mpd/setup_pm
>>>>>>checking for gcc... cc
>>>>>>cat: cannot open confdefs.h
>>>>>>checking for C compiler default output file name... Can't
>>>>>>open conftest.c
>>>>>>configure: error: C compiler cannot create executables
>>>>>>See `config.log' for more details.
>>>>>>
>>>>>>I did complete the configuration on my desktop, but is not try the
>>>>>>make. On that computer "uname -a" produces:
>>>>>>
>>>>>>SunOS c12 5.9 Generic_118558-06 sun4u sparc SUNW,Ultra-30
>>>>>>
>>>>>>I wonder if the problem is the shared memory multi-processor
>>>>>>Enterprise. I really need to lash up several of these
>>>>>>computers to work on my problem and want to use MPI to handle
>>>>>>the message passing. I already have the code multi threaded
>>>>>>on one system.
>>>>>>
>>>>>>Thanks,
>>>>>>Karl
>>>>>>
>>>>>>
>>>>>>
>>>>>>Rajeev Thakur wrote:
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>Try specifying the Sun compilers explicitly by setting the
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>environment
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>variables CC, CXX, F77, F90 as
>>>>>>>setenv CC cc
>>>>>>>setenv CXX CC
>>>>>>>setenv F77 f77
>>>>>>>Setenv F90 f90
>>>>>>>
>>>>>>>Rajeev
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>>-----Original Message-----
>>>>>>>>From: owner-mpich-discuss at mcs.anl.gov
>>>>>>>>[mailto:owner-mpich-discuss at mcs.anl.gov] On Behalf Of Karl
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>Schleicher
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>Sent: Tuesday, September 27, 2005 9:28 AM
>>>>>>>>To: mpich-discuss at mcs.anl.gov
>>>>>>>>Subject: [MPICH] Newbee having pblms installing on sun
>>>>>>>>
>>>>>>>>I'm trying to install mpi on a cluster of Sun enterprise
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>systems. I
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>>>want to use several of our compute servers to solve one
>>>>>>>>problem. I have
>>>>>>>>tried to do a little homework before asking for help, but now I'm
>>>>>>>>stuck. I would appreciate help getting past these problem.
>>>>>>>>
>>>>>>>>The steps I followed are:
>>>>>>>> ftp release to my computer
>>>>>>>> gunzip -c mpich2-1.0.2p1.tar.gz | tar -xovf -
>>>>>>>> cd mpich2-1.0.2p1
>>>>>>>> ./configure |& tee configure.log
>>>>>>>>
>>>>>>>>Configure fails with the log:
>>>>>>>>
>>>>>>>>Configuring MPICH2 version 1.0.2
>>>>>>>>sourcing /home/karl/mpi/mpich2-1.0.2p1/src/pm/mpd/setup_pm
>>>>>>>>checking for gcc... no
>>>>>>>>checking for cc... cc
>>>>>>>>cat: cannot open confdefs.h
>>>>>>>>checking for C compiler default output file name... Can't
>>>>>>>>open conftest.c
>>>>>>>>configure: error: C compiler cannot create executables
>>>>>>>>See `config.log' for more details.
>>>>>>>>
>>>>>>>>I enterred "uname -a" to get:
>>>>>>>>SunOS m00 5.6 Generic_105181-29 sun4u sparc SUNW,Ultra-Enterprise
>>>>>>>>
>>>>>>>>Some of the things I have tried are:
>>>>>>>> - building on a Linux PC. Successful.
>>>>>>>> - building mpich-1.2.7. It hangs looking "checking for c++"
>>>>>>>> - building mpich2 on another Sun system with different
>>>>>>>>os. It hangs
>>>>>>>>after:
>>>>>>>> "checking for g77... g77"
>>>>>>>> - The programmers and system administrators at my small
>>>>>>>>company are
>>>>>>>>unable to
>>>>>>>> to help.
>>>>>>>>
>>>>>>>>I have additional information that I will provide if this is
>>>>>>>>insufficient.
>>>>>>>>
>>>>>>>>Thanks in advance for any help.
>>>>>>>>
>>>>>>>>Karl Schleicher
>>>>>>>>Applied Geophysical Services
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>
>
>
>
>
More information about the mpich-discuss
mailing list