From 0bfce553f4f37349da310eafe65dfbf055858a1c Mon Sep 17 00:00:00 2001 From: Olivier Sauter <olivier.sauter@epfl.ch> Date: Wed, 17 Apr 2019 07:04:29 +0000 Subject: [PATCH] correct help for remote connection with new server git-svn-id: https://spcsvn.epfl.ch/repos/TCV/gdat/trunk@11764 d63d8f72-b253-0410-a779-e742ad2e26cf --- crpptbx/AUG/gdat_aug.m | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/crpptbx/AUG/gdat_aug.m b/crpptbx/AUG/gdat_aug.m index 111f53c0..39335b60 100644 --- a/crpptbx/AUG/gdat_aug.m +++ b/crpptbx/AUG/gdat_aug.m @@ -59,22 +59,13 @@ function [gdat_data,gdat_params,error_status,varargout] = gdat_aug(shot,data_req %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Remote data access for AUG % You need to make a "tunnel" in one unix session from the remote node using for example: -% ssh -losauter -L 8001:mdsplus.aug.ipp.mpg.de:8000 gate1.aug.ipp.mpg.de % to create a tunnel to port 8001 to mds server mdsplus.aug.ipp.mpg.de +% to create a tunnel to port 8001 to mds server lxmdsplus.aug.ipp.mpg.de +% ssh -l ipp_username -L 8001:lxmdsplus.aug.ipp.mpg.de:8000 gate1.aug.ipp.mpg.de % % Then in another unix session on the remote node, in matlab and with the appropriate mds path do: % >> mdsconnect('localhost:8001') % >> mdsvalue('1+2') % should return 3 if correctly connected % -% [Problems with mds server for integers, temporary fix, start an mds server on sxaug31 (or 32++?) thus need 2 other sessions: -% 1) in one unix session do: ssh osauter@gate1.aug.ipp.mpg.de ; then connect to sxaug31: ssh -X sxaug31; then execute startmds and leave window -% 2) in another unix session connect to mds server through gate1: ssh -losauter -L 8002:sxaug31.aug.ipp.mpg.de:8001 gate1.aug.ipp.mpg.de -% 3) in your local session in matlab do: >> mdsconnect('localhost:8002') (and verify with >> mdsvalue('1+2') -% -% ssh -losauter -L 8001:lxmdsplus.aug.ipp.mpg.de:8000 gate1.aug.ipp.mpg.de -% -% Comments for local developer: -% This gdat is just a "header routine" calling the gdat for the specific machine gdat_`machine`.m which can be called -% directly, thus which should be able to treat the same type of input arguments % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -- GitLab