Changeset 529 for trunk


Ignore:
Timestamp:
Sep 21, 2006, 7:08:49 PM (18 years ago)
Author:
dkearney
Message:

adjustments to configure and makefiles to include the new tcl units bindings.
few more adjustments to rappture queues for condor

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Makefile.in

    r515 r529  
    6565        cd tcl; @prefix@/bin/tclsh install.tcl
    6666#       cd tcl; @TCLSH@ install.tcl
     67        cd src/tcl; make install; cd -
    6768
    6869# matlab bindings
     
    122123        cd src/matlab; make clean; cd -;
    123124        cd src/octave; make clean; cd -;
     125        cd src/tcl; make distclean; cd -;
    124126
    125127distclean:
     
    134136        cd src/matlab; make distclean; cd -;
    135137        cd src/octave; make distclean; cd -;
     138        cd src/tcl; make distclean; cd -;
    136139        cd test; make distclean; cd -;
    137140        rm gui/apps/rappture;
  • trunk/configure

    r512 r529  
    312312
    313313ac_subdirs_all="$ac_subdirs_all gui"
     314ac_subdirs_all="$ac_subdirs_all src/tcl"
    314315ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 MEX MKOCTFILE PERL PYTHON pythondir PERL_INCLUDES PYTHON_VERSION PYTHON_INCLUDES PYTHON_SITE_PACKAGES VERSION RP_BASE subdirs LIBOBJS LTLIBOBJS'
    315316ac_subst_files=''
     
    42564257
    42574258# Provide some information about the compiler.
    4258 echo "$as_me:4258:" \
     4259echo "$as_me:4259:" \
    42594260     "checking for Fortran 77 compiler version" >&5
    42604261ac_compiler=`set X $ac_compile; echo $2`
     
    47344735
    47354736subdirs="$subdirs gui "
     4737
     4738
     4739
     4740subdirs="$subdirs src/tcl "
    47364741
    47374742
  • trunk/configure.in

    r512 r529  
    196196
    197197AC_CONFIG_SUBDIRS( gui )
     198AC_CONFIG_SUBDIRS( src/tcl )
    198199
    199200dnl read Makefile.in and write Makefile
  • trunk/python/Rappture/queue.py

    r515 r529  
    381381                    nodes,
    382382                    executable,
     383                    ppn=2,
    383384                    execArgs='',
    384385                    walltime='00:01:00',
     
    402403        self.jobName(jobName)
    403404        self.nodes(nodes)
     405        self.ppn(ppn)
    404406        self.walltime(walltime)
    405407        self.executable(executable)
     
    442444        self._mpirsl = ""
    443445        if (self._flags & self.USE_MPI):
    444             self._mpirsl = "(jobType=mpi)(count=%d)(hostcount=%d)" % \
    445                             (self.nodes(), self.nodes())
     446            # host_xcount is the number of machines
     447            # xcount is the number of procs per machine
     448            self._mpirsl = "(jobType=mpi)(xcount=%d)(host_xcount=%d)" % \
     449                            (self.ppn(), self.nodes())
    446450
    447451        (wall_hr,wall_min,wall_sec) = self.walltime().split(":")
     
    449453
    450454        return """universe=grid
    451     gridresource = gt2 tg-gatekeeper.purdue.teragrid.org:2120/jobmanager-pbs
     455    gridresource = gt2 tg-gatekeeper.purdue.teragrid.org/jobmanager-pbs
    452456    executable = %s
    453457    output = %s
     
    457461    initialDir = %s
    458462    log = %s
    459     #globusrsl = (project=TG-ECD060000N)(jobType=mpi)(count=2)(hostcount=2)(maxWallTime=WALLTIME)
     463    #globusrsl = (project=TG-ECD060000N)(jobType=mpi)(xcount=2)(hostxcount=2)(maxWallTime=WALLTIME)
    460464    globusrsl = (project=TG-ECD060000N)(maxWallTime=%g)%s(queue=%s)
    461465    notification = never
     
    616620    jobName = 'helloMPITest'
    617621    resultsDir = createDir('4321')
    618     executable = 'hello.sh'
     622    executable = './hello.sh'
    619623    shutil.copy('hello/hello.sh',resultsDir)
    620624    shutil.copy('hello/hello',resultsDir)
Note: See TracChangeset for help on using the changeset viewer.