Changeset 4152
- Timestamp:
- Jan 28, 2014 7:38:43 AM (10 years ago)
- Location:
- trunk/packages/vizservers
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/vizservers/nanoscale/renderservers.tcl.in
r4131 r4152 95 95 # 96 96 register_server vmdshow 2018 \ 97 -input 3 -output 4 -combinelogs no\97 -input 3 -output 4 -combinelogs yes \ 98 98 { 99 99 ${libdir}/vmd/vmd_LINUXAMD64 -startup ${libdir}/vmd/vmdserver.tcl \ … … 102 102 VMDDIR ${libdir}/vmd 103 103 SURF_BIN ${libdir}/vmd/surf 104 MSMSSERVER ${libdir}/ msms104 MSMSSERVER ${libdir}/vmd/msms 105 105 LD_LIBRARY_PATH ${libdir} 106 __GL_SYNC_TO_VBLANK 0 106 107 } -
trunk/packages/vizservers/vmd/INSTALL.txt
r4150 r4152 1 Checkout vmdbuild directory from rappture-bat respository 2 Follow instructions in INSTALL.txt there 1 Checkout vmdbuild directory from rappture-bat repository 2 3 svn co https://nanohub.org/infrastructure/rappture-bat/svn/trunk/vmdbuild vmdbuild 4 5 Follow instructions in INSTALL.txt there. You'll need the vmdserver.tcl 6 script from here. 7 8 9 10 -
trunk/packages/vizservers/vmd/vmdserver.tcl
r4104 r4152 607 607 fileevent $cid readable [list server_handle $cid $cid] 608 608 fconfigure $cid -buffering none -blocking 0 609 610 # identify server type to this client611 # The server identifier must be in the form <name> <version>. The612 # base connect method will ignore characters until it finds this line.613 puts $cid "vmd 0.1"614 609 } 615 610 … … 624 619 append buffer($cin) $line "\n" 625 620 if {[info complete $buffer($cin)]} { 626 #puts stdout "command is ($buffer($cin))"627 621 set request $buffer($cin) 628 622 set buffer($cin) "" … … 631 625 server_send_image -eventually 632 626 } else { 633 puts stdout "last gets is ($line) cmd=($request) result=($result)"634 627 server_oops $cout $result 635 628 if { [string match "invalid command*" $result] } { 636 bgerror $result629 bgerror "I got a invalid command: $result" 637 630 exit 1 638 631 } … … 770 763 socket -server server_accept 2018 771 764 } else { 772 fileevent stdin readable [list server_handle stdin stdout] 773 774 # identify server type to this client 775 puts stdout "vmd 0.1" 776 flush stdout 777 fconfigure stdout -buffering none -blocking 0 765 set cin $vmd_client(read) 766 set cout $vmd_client(write) 767 768 fileevent $cin readable [list server_handle $cin $cout] 769 fconfigure $cout -buffering none -blocking 0 778 770 } 779 771
Note: See TracChangeset
for help on using the changeset viewer.