Changeset 2637 for trunk/packages


Ignore:
Timestamp:
Oct 17, 2011, 8:04:39 AM (13 years ago)
Author:
gah
Message:
 
Location:
trunk/packages/vizservers
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/vizservers/nanoscale/renderservers.tcl.in

    r2406 r2637  
    3939    PYMOL_PATH ${libdir}/pymol
    4040}
     41
     42#
     43# Pymol server (threaded version of proxy) --
     44#    Molecular layouts from PDB description.  Must set PYMOL_PATH.
     45#   
     46register_server pymol-threaded 2019 {
     47    ${bindir}/pymolproxy2 ${bindir}/pymol -p -q -i -x -X 0 -Y 0
     48} {
     49    LD_LIBRARY_PATH ${libdir}
     50    PYMOL_PATH ${libdir}/pymol
     51}
  • trunk/packages/vizservers/pymolproxy/Makefile.in

    r2633 r2637  
    2929.PHONY: all install clean distclean
    3030
     31FILES =         pymolproxy pymolproxy2 pymol
    3132PROXY_OBJS =    pymolproxy.o
    3233PROXY2_OBJS =   pymolproxy2.o
     
    5152install-pymolproxy: pymolproxy pymolproxy2
    5253        $(MKDIR_P) -m 0755 $(bindir)
    53         $(INSTALL) -m 0555 pymolproxy pymolproxy2 pymol $(bindir)
     54        for i in $(FILES) ; do \
     55            $(INSTALL) -m 0555 $$i $(bindir) ; \
     56        done
    5457
    5558install-scripts:
  • trunk/packages/vizservers/pymolproxy/pymolproxy2.c

    r2634 r2637  
    8989#define TRUE  1
    9090
    91 static int debug = TRUE;
     91static int debug = FALSE;
    9292static char stderrFile[200];
    9393static FILE *fdebug;
     
    246246        s++;
    247247    }
    248     length = snprintf(message, MSG_LEN, "pymolproxy (%d) %s: %s:%d ",
     248    length = snprintf(message, MSG_LEN, "pymolproxy2 (%d) %s: %s:%d ",
    249249        getpid(), syslogLevels[priority],  s, lineNum);
    250250    length += vsnprintf(message + length, MSG_LEN - length, fmt, lst);
     
    22832283    fflush(stdout);
    22842284
     2285    INFO("Starting pymolproxy (threaded version)");
     2286
    22852287    InitProxy(&proxy, stderrFile, argv + 1);
    22862288    if (pthread_create(&thread1, NULL, &ClientToServer, &proxy) < 0) {
Note: See TracChangeset for help on using the changeset viewer.