User Tools

Site Tools


other:newppl:starting

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
other:newppl:starting [2019/04/24 09:58]
jypeter Started the which/module section
other:newppl:starting [2019/06/04 15:28]
jypeter [Which Linux servers should you use?] Improved
Line 169: Line 169:
 ===== Which Linux servers should you use? ===== ===== Which Linux servers should you use? =====
  
-There are lots of things you can do directly on your **local** Win7 or Linux desktop (displaying pdf, images, using a text editor, ...), rather than on the remote servers. Never forget that **your local desktop has access to the remote disks on the Linux servers**.+There are lots of things you can do directly on your **local** Win7/​Win10 ​or Linux desktop (displaying pdf, images, using a text editor, ...), rather than on the remote servers. Never forget that **your local desktop has access to the remote disks on the Linux servers**.
  
 Otherwise, **use the appropriate Linux servers**. The //load balancing// system will send you to the server that has currently the smallest load Otherwise, **use the appropriate Linux servers**. The //load balancing// system will send you to the server that has currently the smallest load
  
-  * obelixN ​(''​ssh obelix''​, or ''​ssh obelix.lb''​): never forget that you are sharing these servers with other users! Do not use too much CPU and memory for a long time. Heavy computation should be done on the obelix cluster +  * **obelix**//​NN// ​(type ''​ssh obelix'' ​to get there): never forget that you are sharing these servers with other users! Do not use too much CPU and memory for a long time. Heavy computation should be done on the obelix cluster 
-  * [[https://​intranet.lsce.ipsl.fr/​informatique/​en/​calcul/​batch.php|the batch system]] (aka //obelix cluster//) for really heavy duty programs+    * <​code>​ $ ssh obelix 
 +Last login: Mon Jun  3 08:49:53 2019 from somewhere 
 +# You can use one of the following commands if you want to know on which obelix you are 
 + >​echo $HOST 
 +obelix5 
 + >​hostname 
 +obelix5</​code>​ 
 +  * [[https://​intranet.lsce.ipsl.fr/​informatique/​en/​calcul/​batch.php|the batch system]] (aka //​obelix ​**cluster**//) for really heavy duty programs
   * in some cases, you may need an account to use the [[http://​mesocentre.ipsl.fr/​|IPSL/​ESPRI clusters]] (aka //ciclad// and //​climserv//​),​ especially if you need to use data that is already available/​mirrored there, rather than copying the data to LSCE   * in some cases, you may need an account to use the [[http://​mesocentre.ipsl.fr/​|IPSL/​ESPRI clusters]] (aka //ciclad// and //​climserv//​),​ especially if you need to use data that is already available/​mirrored there, rather than copying the data to LSCE
-  * asterixN: some people may mention these servers, but they don't exist any more!+  * //asterixN//: some people may mention these servers, but they don't exist any more!
  
 ==== Which shell are you using? ==== ==== Which shell are you using? ====
Line 323: Line 330:
 ===== Which programs should you use? ===== ===== Which programs should you use? =====
  
-Your advisor will let you know which (version of which) programs you should use. Some programs are available by default, and you have to use the ''​module''​ command to access other programs+Your advisor will let you know which (version of which) programs you should use. Some programs are available by default, and you have to use the ''​module''​ command to access other programs.
  
-At any time, you can use the ''​which''​ command to determine where a program is located. The option to get the version information of a program may vary (launch the program without arguments, with ''​-v''​ or ''​%%--%%v''​+==== Which program am I using? ==== 
 + 
 +At any time, you can use the ''​which''​ command to determine where a program is located. The option to get the //version// information of a program may vary (launch the program without arguments, with ''​-v''​ or ''​%%--%%v''​, ...).
  
 <​code>​ > which ncdump <​code>​ > which ncdump
Line 335: Line 344:
 netcdf library version 4.3.3.1 of Dec 10 2015 16:44:18 $ netcdf library version 4.3.3.1 of Dec 10 2015 16:44:18 $
  
 + > which python
 +/​usr/​bin/​python
 +
 + > python --version
 +Python 2.7.5
 </​code>​ </​code>​
 +
 +==== Using module to access optional programs ====
 +
 +Main ''​module''​ options:
 +  * ''​module list'':​ list the currently loaded modules
 +  * ''​module avail'':​ list the available modules
 +  * ''​module load module_a ... module_n'':​ load modules (automatically including dependencies)
 +    * ''​module load module_a'':​ load default version of //​module_a//​
 +    * ''​module load module_a/​vvv'':​ load ''​vvv''​ version of //​module_a//​
 +  * ''​module purge'':​ remove all modules
 +
 +Detailed example:
 +<​code>​ > which ncview
 +ncview: Command not found.
 +
 + > module list
 +No Modulefiles Currently Loaded.
 +
 + > module avail
 +[...]
 +batch_env ​         grib_api/​1.14.0 ​   netcdf/​4 ​          ​python/​3.6
 +[...]
 +glost/​0.3.1 ​       ncview/​2.1.7 ​      ​python/​2.7
 +
 + > module load ncview netcdf/4
 +
 + > module list
 +Currently Loaded Modulefiles:​
 +  1) ncview/​2.1.7 ​  2) netcdf/4
 +  ​
 + > which ncview
 +/​usr/​local/​install/​ncview-2.1.7/​bin/​ncview
 +
 + > which ncdump
 +/​usr/​local/​install/​netcdf-4.3.2/​bin/​ncdump</​code>​
 +
 ===== Useful documentation for beginners ===== ===== Useful documentation for beginners =====
  
other/newppl/starting.txt · Last modified: 2024/04/03 11:33 by jypeter