This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
other:newppl:starting [2024/03/29 13:49] jypeter [Text editors] Added 'less' and 'nano' |
other:newppl:starting [2024/04/03 11:33] (current) jypeter [Available servers] Added getlogin and getenv Python example |
||
---|---|---|---|
Line 220: | Line 220: | ||
$ hostname | $ hostname | ||
obelix5</code> | obelix5</code> | ||
+ | * In a python script, you can use the following to get some information | ||
+ | * <code>>>> import os | ||
+ | >>> os.getlogin(), os.getenv('HOST') | ||
+ | ('mylogin', 'obelix5')</code> | ||
* **[[https://intranet.lsce.ipsl.fr/informatique/en/calcul/batch.php|The LSCE cluster]]** (aka the //batch system//)\\ Use this cluster for **//heavy duty// programs**, rather than killing the multi-users interactive servers | * **[[https://intranet.lsce.ipsl.fr/informatique/en/calcul/batch.php|The LSCE cluster]]** (aka the //batch system//)\\ Use this cluster for **//heavy duty// programs**, rather than killing the multi-users interactive servers |