[mpich-discuss] MPE is available in mpich-3.0.4 ? rlog doesn't work in configure process.
Jeff Hammond
jhammond at alcf.anl.gov
Mon Jun 10 16:50:05 CDT 2013
Okay, I guess this is a bug in the autoconf. I'm glad you have
identified the workaround. I'll put this in Trac so that it doesn't
get lost.
Jeff
On Mon, Jun 10, 2013 at 1:27 PM, fernando_luz <fernando_luz at tpn.usp.br> wrote:
> Jeff,
>
> I ran your configuration and I obtained the same error (I attached
> config_01.log)
>
> I think the main problem is in the composition of compile line
> (config_01.log:145), the include path and the library path was found, but
> not inserted in a correct way (without -I and -L).
>
> When I specified the -I for --with-mpiinc and -L for --with-mpilibs, the
> configuration works (config_02.log)
>
> I use the autoconf version 2.68, and to generate the configure, I ran
> autogen.sh, but some warnings was shown (warning_autogen.log)
>
> Fernando
>
>
>
> On 06/10/2013 02:56 PM, Jeff Hammond wrote:
>>
>> I don't think there's anything wrong with this, but can you confirm
>> that the following does not work?
>>
>> ./configure --prefix=/home/fernando_luz/usr/mpe
>> --with-mpicc=/home/fernando_luz/usr/mpich/bin/mpicc --disable-f77
>>
>> I would expect that --with-mpicc is sufficient and that mpilibs and
>> mpiinc can be populated automatically using this information.
>>
>> Jeff
>>
>> On Mon, Jun 10, 2013 at 8:26 AM, fernando_luz <fernando_luz at tpn.usp.br>
>> wrote:
>>>
>>> I made this modification in configure and I have success
>>>
>>> ./configure --prefix=/home/fernando_luz/usr/mpe
>>> --with-mpicc=/home/fernando_luz/usr/mpich/bin/mpicc
>>> --with-mpilibs=-L/home/fernando_luz/usr/mpich/lib/
>>> --with-mpiinc=-I/home/fernando_luz/usr/mpich/include/ --disable-f77
>>>
>>> but it's the correct way to execute the configure?
>>>
>>> Regards
>>>
>>>
>>> On 06/10/2013 11:16 AM, fernando_luz wrote:
>>>
>>> Hi Jeff and Antonio,
>>>
>>>
>>> I checked my mpich installation and everything is ok.
>>>
>>> I used the variables CC=mpicc and MPI_CC=mpicc and I don't have any
>>> success.
>>>
>>> Looking the log, my guess is the command to link the conftest.c wasn't
>>> built
>>> in a correct way, because the Include flag '-I' and the library path '-L'
>>> was not inserted in the command line.
>>>
>>> configure:4099: /home/fernando_luz/usr/mpich/bin/mpicc -o conftest
>>> /home/fernando_luz/usr/mpich/include/ conftest.c
>>> /home/fernando_luz/usr/mpich/lib/ >&5
>>>
>>> Running this command in the terminal (with -I and -L) I have success.
>>>
>>> It's my first time using the autoconf, and I don't have an idea where I
>>> can
>>> modify this.
>>>
>>> Regards
>>>
>>> On 06/07/2013 07:38 PM, Jeff Hammond wrote:
>>>
>>> Did you read it? It's got the reason that configure is failing pretty
>>> clearly stated. You need to debug your configure invocation. Maybe use
>>> CC=mpicc etc instead...
>>>
>>> Jeff
>>>
>>> Sent from my iPhone
>>>
>>> On Jun 7, 2013, at 3:04 PM, fernando_luz <fernando_luz at tpn.usp.br> wrote:
>>>
>>> In attachment.
>>>
>>> Fernando
>>>
>>> On 06/07/2013 04:56 PM, Jeff Hammond wrote:
>>>
>>> please attach config.log.
>>>
>>> jeff
>>>
>>> On Fri, Jun 7, 2013 at 1:07 PM, fernando_luz <fernando_luz at tpn.usp.br>
>>> wrote:
>>>
>>> Hi Rajeev,
>>>
>>> Thanks for the answers.
>>>
>>> I get the source code in repository, but I didn't succeed in the compile
>>> process.
>>> I ran the autogen.sh and after this I tried to configure my installation
>>> and
>>> I received the following error message.
>>>
>>>
>>> fernando_luz at TPN000300:~/git/mpe$ ./configure
>>> --prefix=/home/fernando_luz/usr/mpe
>>> --with-mpicc=/home/fernando_luz/usr/mpich/bin/mpicc
>>> --with-mpilibs=/home/fernando_luz/usr/mpich/lib/
>>> --with-mpiinc=/home/fernando_luz/usr/mpich/include/
>>> Configuring MPE Profiling System with
>>> '--prefix=/home/fernando_luz/usr/mpe'
>>> '--with-mpicc=/home/fernando_luz/usr/mpich/bin/mpicc'
>>> '--with-mpilibs=/home/fernando_luz/usr/mpich/lib/'
>>> '--with-mpiinc=/home/fernando_luz/usr/mpich/include/'
>>> 'MPI_CC=/home/fernando_luz/usr/mpich/bin/mpicc'
>>> 'MPI_INC=/home/fernando_luz/usr/mpich/include'
>>> 'MPI_LIBS=/home/fernando_luz/usr/mpich/lib'
>>> checking for current directory name... /home/fernando_luz/git/mpe
>>> checking gnumake... yes using --no-print-directory
>>> checking BSD 4.4 make... no - whew
>>> checking OSF V3 make... no
>>> checking for virtual path format... VPATH
>>> User supplied MPI implmentation (Good Luck!)
>>> checking for leftover Makefiles in subpackages ... none
>>> checking for gcc... cc
>>> checking whether the C compiler works... yes
>>> checking for C compiler default output file name... a.out
>>> checking for suffix of executables...
>>> checking whether we are cross compiling... no
>>> checking for suffix of object files... o
>>> checking whether we are using the GNU C compiler... yes
>>> checking whether cc accepts -g... yes
>>> checking for cc option to accept ISO C89... none needed
>>> checking whether MPI_CC has been set ...
>>> /home/fernando_luz/usr/mpich/bin/mpicc
>>> checking whether we are using the GNU Fortran 77 compiler... no
>>> checking whether f77 accepts -g... no
>>> checking whether MPI_F77 has been set ... f77
>>> checking for the linkage of the supplied MPI C definitions ... no
>>> configure: error: Cannot link with basic MPI C program!
>>> Check your MPI include paths, MPI libraries and MPI CC compiler
>>>
>>> Where /home/fernando_luz/usr/mpich/ is my mpi installation (MPICH-3.0.4).
>>>
>>> I prefer to use the mpe in repository because in the site, the last
>>> version
>>> was dated in 2010 and in the git repository the last commit was in 2012.
>>>
>>> Regards
>>>
>>> Fernando
>>>
>>>
>>>
>>> On 06/04/2013 03:05 PM, Rajeev Thakur wrote:
>>>
>>> It can be downloaded from
>>> http://www.mcs.anl.gov/research/projects/perfvis/download/index.htm.
>>>
>>> The source repository is at http://git.mpich.org/mpe.git/
>>>
>>> Rajeev
>>>
>>> On Jun 4, 2013, at 12:48 PM, Jeff Hammond wrote:
>>>
>>> MPE isn't actively developed and should sit strictly on top of any MPI
>>> implementation so you can just grab MPE from an older release of
>>> MPICH.
>>>
>>> My guess is that MPE will be a standalone download at some point in the
>>> future.
>>>
>>> Jeff
>>>
>>> On Tue, Jun 4, 2013 at 10:59 AM, fernando_luz <fernando_luz at tpn.usp.br>
>>> wrote:
>>>
>>> Hi,
>>>
>>> I didn't find the MPE source in mpich-3.0.4 package. Where I can
>>> download
>>> the source? It is still compatible with mpich?
>>>
>>> And I tried to install the logging support available in this release,
>>> but my
>>> try didn't was successful. I received the follow error:
>>>
>>> /home/fernando_luz/software/mpich-3.0.4/src/util/logging/rlog/configure:
>>> line 3694: PAC_CC_SUBDIR_SHLIBS: command not found
>>> configure: creating ./config.status
>>> config.status: error: cannot find input file: `Makefile.in'
>>> configure: error: src/util/logging/rlog configure failed
>>>
>>> I attached the c.txt file used in the configuration.
>>>
>>> Regards
>>>
>>> Fernando
>>>
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>>>
>>> --
>>> Jeff Hammond
>>> Argonne Leadership Computing Facility
>>> University of Chicago Computation Institute
>>> jhammond at alcf.anl.gov / (630) 252-5381
>>> http://www.linkedin.com/in/jeffhammond
>>> https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond
>>> ALCF docs: http://www.alcf.anl.gov/user-guides
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>>>
>>> <config.log>
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>>>
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>>
>>>
>>>
>>> _______________________________________________
>>> discuss mailing list discuss at mpich.org
>>> To manage subscription options or unsubscribe:
>>> https://lists.mpich.org/mailman/listinfo/discuss
>>
>>
>>
>
>
> _______________________________________________
> discuss mailing list discuss at mpich.org
> To manage subscription options or unsubscribe:
> https://lists.mpich.org/mailman/listinfo/discuss
--
Jeff Hammond
Argonne Leadership Computing Facility
University of Chicago Computation Institute
jhammond at alcf.anl.gov / (630) 252-5381
http://www.linkedin.com/in/jeffhammond
https://wiki.alcf.anl.gov/parts/index.php/User:Jhammond
ALCF docs: http://www.alcf.anl.gov/user-guides
More information about the discuss
mailing list