Travail a distance : Différence entre versions

Un article de Informaticiens département des sciences de la Terre et l'atmosphère
Aller à: navigation, charcher
m (SSH)
m (SSH)
Ligne 5: Ligne 5:
 
  A Venir / Work in progress
 
  A Venir / Work in progress
 
== SSH ==
 
== SSH ==
 +
[https://wikiscta.scta.uqam.ca/wikiscta/index.php/Transfert_de_donn%C3%A9es_de_l%27ext%C3%A9rieur#Connexion_de_l.E2.80.99ext.C3.A9rieur access to UQAM through the gateway system]
 
  [https://wikiscta.scta.uqam.ca/wikiscta/index.php/Transfert_de_donn%C3%A9es_de_l%27ext%C3%A9rieur#Configuration_de_son_client_ssh_linux_et_OS_X_.28Macintosh.29 ssh client configuration]
 
  [https://wikiscta.scta.uqam.ca/wikiscta/index.php/Transfert_de_donn%C3%A9es_de_l%27ext%C3%A9rieur#Configuration_de_son_client_ssh_linux_et_OS_X_.28Macintosh.29 ssh client configuration]
 
  A Venir / Work in progress
 
  A Venir / Work in progress

Version depuis le 29 d'avril 2020 à 20:26

A Venir / Work in progress

VPN

A Venir / Work in progress

SSH

access to UQAM through the gateway system
ssh client configuration
A Venir / Work in progress

Matlab à distance

The fastest way to execute a Matlab script is to not open any windows:

1) Write the Matlab script either on the UQAM servers with 'vi' or 'vim', or, if you are not comfortable with these, you can also write the script on your local computer and copy it on the servers to execute it there.

2) Execute Matlab script without opening any windows
a) Make sure your Matlab script does not open any windows. Add for example ('visible','off') to the 'figure' command:

   a=1:4;
   f = figure('visible','off');
   plot(a)
   saveas(f,'newout','fig')


b) Run your Matlab script without opening any windows.
Assuming your Matlab script is called 'mplot.m', execute:

   matlab -nodesktop -nosplash -nojvm -r "mplot;quit;"

You need to omit the '.m' extension of your script in the call!

If you have any problems/corrections/suggestions, please, send me an email: winger.katja@uqam.ca

python à distance

The fastest way to execute a Python script is to not open any windows:

1) Write the Python script either on the UQAM servers with 'vi' or 'vim', or, if you are not comfortable with these, you can also write the script on your local computer and copy it on the servers to execute it there.

2) Execute Python script with

   python scriptname

Jupyter (python) à distance

A Venir / Work in progress

Spyder (python) à distance

A Venir / Work in progress
condamné à être lent et pénible!!!