Notes on getting fusiongrid access to pull TRANSP data off PPPL servers at GA machines -L. Peterson 09/01/09 1. Get fusion grid access for TRANSP data: - go to https://cert.fusiongrid.org/CertReqForm.html - Fill out request, ask for "TRANSP Execute" permissions in the "Comments" section - D. McCune is the arbiter of TRANSP, but you should contact him about being your sponsor (dmccune@pppl.gov) - wait for confirmation email - your user id for fusion grid is my_fusion_grid_user_id. Remember it. 2. Add the following lines to your .login file (modify syntax and dot file to suit your shell, as this assumes c-like). The only changes you need to make to this are in the first block to have your user id # Fusiongrid user id setenv FUSION_GRID_USER my_fusion_grid_user_id # Setup TRANSP et al only if on GA Linux Machine if ( `/bin/uname` == 'Linux' ) then echo "Setting up MDS+ / TRANSP on GA Linux Machine" # For TRANSP / trxpl setenv MDS_TRANSP_SERVER _transpgrid.pppl.gov # Globus and MDS+ for fusiongrid server interaction setenv GRID_LOCATION /f/mdsplus/grid/linux setenv GLOBUS_LOCATION $GRID_LOCATION/globus source $GLOBUS_LOCATION/etc/globus-user-env.csh setenv MDSPLUS $GRID_LOCATION/mdsplus setenv LD_LIBRARY_PATH $GLOBUS_LOCATION/lib:$MDSPLUS/lib:${LD_LIBRARY_PATH}:/d/linux/lib # Setup TRANSP paths source /c/transp/etc/transp_setup-xshare.csh # Renew Fusion Grid Certificate for TRANSP access # Only if shell is interactive and only if certificate is old setenv FUSIONGRID_ACCESS_ARGS "--username=$FUSION_GRID_USER" echo "Renewing Fusion Grid Certificate for user $FUSION_GRID_USER" source $TRANSP_LOCATION/fusiongrid_access.csh endif 3. Add the following lines to your .cshrc: # Renew Fusion Grid Access if ($?TRANSP_LOCATION) then source $TRANSP_LOCATION/fusiongrid_proxypath.csh endif 4. Try it out: - log on to a LINUX machine at GA (eos, delphi, etc) NOT hydra - remote users will have to first ssh to hydra, then from hydra to eos, etc - type the following commands: - rplot - t - y - nstx.07 - q - 124901A02 - if those connect properly and you see it doing stuff, congrats! you have access to all the data in the fusiongrid tree 5. General notes: - the scripts will dial into the fusiongrid server and renew your certificate if it is too old - for JET data, you must fill out a special request - see the fusiongrid site for more info