User Tools

Site Tools


users:catalogue:programs:matlab

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
users:catalogue:programs:matlab [2019/04/24 12:59] – created xaviusers:catalogue:programs:matlab [2019/05/02 12:27] (current) admins_ceab
Line 1: Line 1:
 # Matlab  # Matlab 
  
-First of all, the users to know if they can connect graphically to the cluster. +Lo primer que han de fer els usuaris és comprovar si poden [connectar-se gràficament al cluster](http://tic.ceab.csic.es/cblabdoc/doku.php?id=users:guides:graphical_access).
  
 +Un cop comprovat que sí, han de seguir els pasos següents (des d'un sistema GNU/Linux):
 +
 +1.- Obrir una sessió gràfica al cluster:
 +
 +```
 fbartu@levy:~$ xhost + fbartu@levy:~$ xhost +
 access control disabled, clients can connect from any host access control disabled, clients can connect from any host
Line 20: Line 25:
  
 Last login: Mon Apr 15 16:23:35 2019 from 161.111.254.6 Last login: Mon Apr 15 16:23:35 2019 from 161.111.254.6
 +```
  
 +2.- Crear una sessió de qlogin a un node. 
  
 +```
 fbartu@cluster-ceab:~$ qlogin -l h_vmem=10G -pe make 5 fbartu@cluster-ceab:~$ qlogin -l h_vmem=10G -pe make 5
 local configuration cluster-ceab not defined - using global configuration local configuration cluster-ceab not defined - using global configuration
Line 29: Line 37:
 Establishing builtin session to host node108 ... Establishing builtin session to host node108 ...
 groups: cannot find name for group ID 20005 groups: cannot find name for group ID 20005
 +```
 +3.- Exportar la sessió gràfica del cluster cap a la nostra ip. Anem fent proves amb xeyes fins que se'ns obri.
 +
 +```
 fbartu@node108:~$ export DISPLAY=161.111.254.6:1 fbartu@node108:~$ export DISPLAY=161.111.254.6:1
 fbartu@node108:~$ export DISPLAY=161.111.254.6:0 fbartu@node108:~$ export DISPLAY=161.111.254.6:0
 fbartu@node108:~$ xeyes fbartu@node108:~$ xeyes
 +```
 +
 +4.- Executar Matlab. Atenció: el CSIC té un número limitat de llicències de Matlab. És possible que feu tots els pasos fins aquí i a l'hora de connectar-vos no funcioni perquè ja hi hagi massa gent connectada del CSIC. 
 +
 +```
 fbartu@node108:~$ /home/soft/matlab/R2010b2/bin/matlab fbartu@node108:~$ /home/soft/matlab/R2010b2/bin/matlab
 +```
  
 +{{:users:catalogue:programs:screenshot_from_2019-05-02_10-20-50.png?600|}}
users/catalogue/programs/matlab.1556110775.txt.gz · Last modified: by xavi