User Tools

Site Tools


allegrouserguide:computers

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
allegrouserguide:computers [2024/11/21 10:23] almaallegrouserguide:computers [2024/11/21 10:46] (current) alma
Line 16: Line 16:
 Logging into any of these computers works through e.g. : Logging into any of these computers works through e.g. :
 <code bash> <code bash>
-$ ssh -X username@almaportal+$ ssh -X username@helada
 </code> </code>
-From outside the Leiden Observatory network these computers are not directly accessible, except for miscanti (miscanti.strw.leidenuniv.nl). To access any computer, you first need to ssh to miscanti and from there to one of the other Allegro computers.+From outside the Leiden Observatory network these computers are not directly accessible, except for almaportal (almaportal.strw.leidenuniv.nl). To access any computer, you first need to ssh to almaportal and from there to one of the other Allegro computers.
  
 ==== Filesystem ==== ==== Filesystem ====
  
-The data at Allegro is mainly stored on six large [[https://en.wikipedia.org/wiki/Network_File_System|NFS]] file systems called ''/allegro1'' through ''/allegro6''These storages are accessible from all Allegro compute servers through a dedicated high-speed network. From other Linux computers at Leiden Observatory these storages are accessible via ''/net/chaxa/allegro1'' through ''/net/chaxa/allegro6'' at reduced speed. Note that the ''/allegro'' storages have different sizes and purposes, so please consult the Allegro staff before using one of these storages.+The data at Allegro is stored on the almastorage [[https://en.wikipedia.org/wiki/Network_File_System|NFS]] file systemThis storage is accessible from all Allegro compute servers through a dedicated high-speed network. From other Linux computers at Leiden Observatory this storage is accessible via ''/net/chaxa/allegro1'' through ''/net/chaxa/allegro6'' at reduced speed. Note that the ''/allegro'' storages have different sizes and purposes, so please consult the Allegro staff before using one of these storages.
  
-You may come accross references to [[http://en.wikipedia.org/wiki/Lustre_%28file_system%29|Lustre]] file systems at Allegro. These are the previous storages that have been replaced. Because of backward compatibiliy, the ''/lustre2'' storage name is still in use, but is in fact a virtual storage that physically lives on the ''/allegro2'' and ''/allegro3'' storages.+You may come accross references to [[http://en.wikipedia.org/wiki/Lustre_%28file_system%29|Lustre]] file systems at Allegro. These are the previous storages that have been replaced. Because of backward compatibiliy, the ''/lustre2'' storage name is still in use, but is in fact a virtual storage that physically lives on the ''almastorage'' storage.
  
 <note warning> <note warning>
Line 58: Line 58:
 </note> </note>
  
-Rather than sourcing this script manually, it is advised to add a small statement to your shell rc-file. The following lines will check for the computer you are currently logged in, and source the startup scripts if needed:+Rather than sourcing this script manually, it is advised to add a small statement to your shell rc-file. The following line will alias the startup scripts if needed:
  
   * **Bash** users should add these lines to their ''%%~/.bashrc%%'':<code bash>   * **Bash** users should add these lines to their ''%%~/.bashrc%%'':<code bash>
-lustreroot_file='/home/alma/etc/lustre_root' +alias allegro-setup 'source /almastorage/allegro/bin/allegro-user-setup.sh'
-if [[ -r $lustreroot_file ]]; then +
-  lustreroot=`cat $lustreroot_file` +
-else +
-  lustreroot='/lustre1' +
-fi +
-alg_user_setup=$lustreroot/allegro/bin/bashrc_user.sh +
-if [[ -r $alg_user_setup ]]; then +
-    . $alg_user_setup +
-fi+
 </code> </code>
 +
   * **C-Shell** (i.e. tcsh) users should add these lines to their ''%%~/.cshrc%%'':<code bash>   * **C-Shell** (i.e. tcsh) users should add these lines to their ''%%~/.cshrc%%'':<code bash>
-set lustre_root_file="/home/alma/etc/lustre_root" +alias allegro-setup 'source /almastorage/allegro/bin/allegro-user-setup.csh'
-if ( -r $lustre_root_file ) then +
-  set lustreroot=`cat $lustre_root_file` +
-else +
-  set lustreroot="/lustre1" +
-endif +
-set alg_user_setup=$lustreroot/allegro/bin/cshrc_user.csh +
-if ( -r $alg_user_setup ) then +
-    source $alg_user_setup +
-endif+
 </code> </code>
  
Line 101: Line 84:
 </note> </note>
  
 +Every time you log in to an Allegro computer, you need to type ''allegro-setup'' in order to have all of the correct paths and CASA versions available. 
  
 === CASA setup === === CASA setup ===
Line 136: Line 120:
  
 <code bash> <code bash>
-casapy-54+nice +10 casapy-580
 </code> </code>
-at the command line (on all machines but tebinquiche, which doesn't have it). Typing simply:+for (t)csh or 
 + 
 +<code bash> 
 +nice -n 10 casapy-580 
 +</code> 
 +for bash 
 + 
 +at the command line. Typing simply:
  
 <code bash> <code bash>
 casapy casapy
 </code> </code>
-will start up the Allegro default version. NOTE however that this is not necessarily the latest version of CASA.+will start up the Allegro default version. NOTE however that this is not necessarily the latest version of CASA and does not use the nice command, which you should use as these are shared resources. 
 + 
 +For CASA 6 and later, type 
 +<code bash> 
 +nice -n 10 env -u PYTHONPATH -u LD_LIBRARY_PATH casapy-641p 
 +</code> 
 + 
 +for bash or for (t)csh: 
 +<code bash> 
 +nice +10 env -u PYTHONPATH -u LD_LIBRARY_PATH casapy-641p 
 +</code>
  
 <note>**#HUIB: ADD CASA VERSIONS ON DIFFERENT COMPUTERS: see https://trello.com/c/L0BWiAf6/101-casa-versions-on-various-computers**</note> <note>**#HUIB: ADD CASA VERSIONS ON DIFFERENT COMPUTERS: see https://trello.com/c/L0BWiAf6/101-casa-versions-on-various-computers**</note>
allegrouserguide/computers.1732180998.txt.gz · Last modified: by alma

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki