Changeset 4898

Show
Ignore:
Timestamp:
07/03/09 12:49:21 (5 months ago)
Author:
kumudb
Message:

executable works except mpiexec

Location:
mpich2/branches/dev/kumudb
Files:
8 modified

Legend:

Unmodified
Added
Removed
  • mpich2/branches/dev/kumudb/Makefile.sm

    r4827 r4898  
    7474all-postamble:  
    7575        ${MAKE} build-lib 
     76        ${MAKE} all-executable 
    7677        @if [ "@BUILD_TVDLL@" = "yes" ] ; then \ 
    7778        ( cd src/mpi/debugger && $(MAKE) ./libtvmpich2.@SHLIB_EXT@ ) ; fi 
     
    9091 
    9192lib_subsystem_libfmpich: ./lib/libfmpich.a 
     93 
     94lib_subsystem_libmpiexec: ./lib/libmpiexec.a 
    9295 
    9396./lib/libmpich.a: ./lib/.libmpich.a.timestamp 
     
    106109        ${AR} cr ./lib/libfmpich.a `find ${abs_buildir} -name libfmpich.a.manifest -exec cat {} \;`  
    107110        ${RANLIB} ./lib/libfmpich.a 
     111 
     112./lib/libmpiexec.a: ./lib/.libmpiexec.a.timestamp 
     113        ${AR} cr ./lib/libmpiexec.a `find ${abs_buildir} -name libmpiexec.a.manifest -exec cat {} \;`  
     114        ${RANLIB} ./lib/libmpiexec.a 
    108115 
    109116# The test on lib/.mpich2created lets us delete the local lib directory 
  • mpich2/branches/dev/kumudb/configure.in

    r4870 r4898  
    63826382    LIB_SUBSYSTEM="$LIB_SUBSYSTEM lib_subsystem_libmpichcxx" 
    63836383fi 
     6384libmpiexec_included= 
     6385 
     6386for pm_name in $pm_names ; do 
     6387    if test "$pm_name" = "gforker"  ; then 
     6388       if test -z "$libmpiexec_included" ; then 
     6389           LIB_SUBSYSTEM="$LIB_SUBSYSTEM lib_subsystem_libmpiexec" 
     6390           libmpiexec_included=yes 
     6391       fi 
     6392    fi 
     6393    if test "$pm_name" = "remshell"  ; then 
     6394       if test -z "$libmpiexec_included" ; then 
     6395           LIB_SUBSYSTEM="$LIB_SUBSYSTEM lib_subsystem_libmpiexec" 
     6396           libmpiexec_included=yes 
     6397       fi 
     6398    fi 
     6399      
     6400done 
     6401 
    63846402AC_SUBST(LIB_SUBSYSTEM) 
    63856403MPICH2_ENABLE_F77=$enable_f77 
  • mpich2/branches/dev/kumudb/maint/simplemake.in

    r4870 r4898  
    10311031            $pgmsrc = $2; 
    10321032            $programs{$pgm} = $pgmsrc; 
     1033            #---------------------Kumud_parallel_fix------------------------------ 
    10331034            # Add to targets 
    1034             $alltargets[$#alltargets+1] = $pgm; 
     1035            # $alltargets[$#alltargets+1] = $pgm; 
    10351036            # Keep track of source types 
    10361037            &FindSrcTypes( $pgmsrc ); 
     
    11821183    # Coverage analysis 
    11831184    &TargetGcov; 
     1185     
     1186    #------------kumud_parallel_fix--------------------------------------- 
     1187    &TargetExecutables; 
     1188 
     1189    #------------------kumud_parallel_fix------------------------------------------- 
     1190    #each executable to be built is listed as prerequisite for all-executable-local 
     1191    &TargetProgramsLocal; 
    11841192 
    11851193    # Next, the programs 
     
    11931201    print FD $makeBlockSep; 
    11941202     
    1195     #------------kumud_parallel_fix--------------------------------------- 
    1196     &TargetExecutables; 
    11971203 
    11981204    # This is ugly, but we need to tell the install target when we're at 
     
    33903396    } 
    33913397} 
     3398 
     3399 
     3400# Generate the target all-executable-local 
     3401sub TargetProgramsLocal { 
     3402    print FD "all-executable-local:"; 
     3403    foreach $pgm (keys (%programs)) { 
     3404        if (defined($extra_programs{$pgm})) { next; } 
     3405        if (defined($extra_libs{$pgm})) { next; } 
     3406        print FD " $pgm"; 
     3407    } 
     3408    print FD "$newline"; 
     3409} 
     3410 
     3411 
     3412 
    33923413#  
    33933414# =========================================================================== 
  • mpich2/branches/dev/kumudb/src/env/Makefile.sm

    r4870 r4898  
    66doc_LATEX_SOURCES = ${doc_sources} 
    77 
    8 #mpich2version_SOURCES = mpich2version.c 
    9 #mpich2version_LDADD = ../../lib/lib@MPILIBNAME@.a 
     8mpich2version_SOURCES = mpich2version.c 
     9mpich2version_LDADD = ../../lib/lib@MPILIBNAME@.a 
    1010 
    1111install_SCRIPT = mpicc parkill 
    12 #install_BIN = mpich2version 
     12install_BIN = mpich2version 
    1313install_ETC = mpixxx_opts.conf mpicc.conf 
    1414optinstall_SCRIPT = mpicxx mpif77 mpif90 
  • mpich2/branches/dev/kumudb/src/pm/gforker/Makefile.sm

    r4811 r4898  
    1 #mpiexec_SOURCES = mpiexec.c  
     1mpiexec_SOURCES = mpiexec.c  
    22# Some C compilers won't take ../libfoo.a as a library, so we use 
    33# -Ldir -llib for each of the libraries instead. 
    44# Force the use of the static, not shared library for mpich and for mpiexec 
    5 #mpiexec_LDADD = ../util/libmpiexec.a ../../../lib/libmpich.a 
    6 #mpiexec_DEPADD = ../util/libmpiexec.a  
     5mpiexec_LDADD = ../../../lib/libmpiexec.a ../../../lib/libmpich.a 
     6mpiexec_DEPADD = ../../../lib/libmpiexec.a  
    77INCLUDES = -I../../include -I${master_top_srcdir}/src/include \ 
    88    -I../../pmi/simple -I${master_top_srcdir}/src/pmi/simple \ 
    99        -I${master_top_srcdir}/src/pm/util  
    10 #install_BIN = mpiexec 
     10install_BIN = mpiexec 
    1111 
    1212clean-local: 
     
    3737# We use a dummy dependency to ensure that we always go to the util 
    3838# directory to see if anything needs to be done  
    39 ../util/libmpiexec.a: dummy 
    40 dummy: 
     39# ../util/libmpiexec.a: dummy 
     40# dummy: 
     41#       cd ../util && $(MAKE) 
     42# 
     43all-local: 
    4144        cd ../util && $(MAKE) 
  • mpich2/branches/dev/kumudb/src/pm/hydra/Makefile.am

    r4870 r4898  
    4242# A special alternate installation target when using multiple process managers 
    4343install-alt: install-alt-ui install-alt-pm 
     44 
     45all-executable: all-executable-local 
     46all-executable-local: 
     47 
  • mpich2/branches/dev/kumudb/src/pm/mpd/Makefile.in

    r4671 r4898  
    204204        -rm -f $(DESTDIR)${bindir}/mpirun 
    205205        -rm -f $(DESTDIR)${bindir}/mpirun.py 
     206all-executable: all-executable-local 
     207all-executable-local: 
    206208 
    207209mpich2-mpdroot: mpich2-mpdroot.o 
  • mpich2/branches/dev/kumudb/src/pm/util/Makefile.sm

    r100 r4898  
    1111        -rm -f libmpiexec.a 
    1212 
     13