Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
WMSX examples | ||||||||
Changed: | ||||||||
< < | Note: There is an installed copy of WMSX software on the KFKI AFS![]() | |||||||
> > | Note1: There is an installed copy of WMSX software on the KFKI AFS![]() | |||||||
Changed: | ||||||||
< < | Note: If your home directory is located on AFS, it is advised to source the following shell script before logging on to the Grid: | |||||||
> > | Note2: The WMSX can work without the User Interface environment. For this, you only need an installed copy of WMSX on your computer, the usual ~/.globus/usercert.pem , ~/.globus/userkey.pem files and the ~/.glite directory as on any User Interface machine, plus you need to provide the ~/.globus/certificates directory, which can be obtained from any User Interface machine from /etc/grid-security/certificates . These files and directories can also be relocated by the X509_USER_CERT , X509_USER_KEY , GLITE_USER_HOME and X509_CERT_DIR environmental variables.
Note3: If your home directory is located on AFS, it is advised to source the following shell script before logging on to the Grid: | |||||||
## Make new .globus directory and export it: chmod -R 755 /tmp/$USER/globus >&/dev/null | ||||||||
Line: 12 to 14 | ||||||||
mkdir -p /tmp/$USER/globus cp $HOME/.globus/usercert.pem /tmp/$USER/globus/ cp $HOME/.globus/userkey.pem /tmp/$USER/globus/ | ||||||||
Added: | ||||||||
> > | cp $HOME/.globus/certificates /tmp/$USER/globus/ | |||||||
export X509_USER_CER=/tmp/$USER/globus/usercert.pem export X509_USER_KEY=/tmp/$USER/globus/userkey.pem | ||||||||
Added: | ||||||||
> > | export X509_CERT_DIR=/tmp/$USER/globus/certificates | |||||||
## Make new .glite directory and export it: chmod -R 755 /tmp/$USER/glite >&/dev/null rm -rf /tmp/$USER/glite | ||||||||
Line: 27 to 31 | ||||||||
mkdir -p /tmp/$USER/globus cp $HOME/.globus/usercert.pem /tmp/$USER/globus/ cp $HOME/.globus/userkey.pem /tmp/$USER/globus/ | ||||||||
Added: | ||||||||
> > | cp $HOME/.globus/certificates /tmp/$USER/globus/ | |||||||
setenv X509_USER_CER /tmp/$USER/globus/usercert.pem setenv X509_USER_KEY /tmp/$USER/globus/userkey.pem | ||||||||
Added: | ||||||||
> > | setenv X509_CERT_DIR /tmp/$USER/globus/certificates | |||||||
## Make new .glite directory and export it: chmod -R 755 /tmp/$USER/glite >&/dev/null rm -rf /tmp/$USER/glite mkdir -p /tmp/$USER/glite cp -rd $HOME/.glite/* /tmp/$USER/glite/ setenv GLITE_USER_HOME /tmp/$USER/glite | ||||||||
Changed: | ||||||||
< < | (for tcsh). This ensures that the necessary files are accessible even after your AFS tickets expire (as they are copied to some local directory). | |||||||
> > | (for tcsh). This ensures that the necessary files are accessible even after your AFS tickets expire (as they are copied to some local directory). You could also put these inside a shell function or alias in your .bashrc or .tcshrc , like:
### Function to export the grid stuff in $HOME to the /tmp/$USER: exportlocal() { # ... the above stuff comes here ... }(for bash), or ### Alias to export the grid stuff in $HOME to the /tmp/$USER: alias exportlocal \ # ... the above stuff comes here, but put ' ; \' instead of new line, and continue in next line ...(for tcsh). | |||||||
Simple job submission with traditional JDL files |