other:newppl:starting
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
other:newppl:starting [2018/03/13 16:01] – Lots of updates jypeter | other:newppl:starting [2020/07/23 15:16] – removed references to jyp account (and others) jypeter | ||
---|---|---|---|
Line 3: | Line 3: | ||
<note tip> | <note tip> | ||
+ | |||
+ | ===== Miscellaneous information ===== | ||
+ | |||
+ | A few useful links that have nothing to do with science and software resources! | ||
+ | |||
+ | * [[other: | ||
+ | * [[other: | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * [[https:// | ||
+ | * {{: | ||
+ | |||
+ | ===== Phone directory, and map of the building ===== | ||
+ | |||
+ | ==== Using existing information ==== | ||
+ | |||
+ | * [[https:// | ||
+ | * Dial **2** + '' | ||
+ | * [[https:// | ||
+ | |||
+ | ==== Updating the directory/ | ||
+ | |||
+ | <WRAP center round important 60%> | ||
+ | It's very important that you update your phone/ | ||
+ | </ | ||
+ | |||
+ | === Finding your phone number === | ||
+ | |||
+ | Use the following sequence of keys on the //Mitel// phone in your office: | ||
+ | - Select **MENU** (use the downward arrow) | ||
+ | - Select **PARAMETRES** (use the downward arrow) | ||
+ | - Select **GENERAL** (use the downward arrow) | ||
+ | - Select **MON NUMERO** | ||
+ | * This will display your **2** + '' | ||
+ | * You can be called from outside with '' | ||
+ | |||
+ | === Updating your entry in the directory === | ||
+ | |||
+ | - Find your name in the [[https:// | ||
+ | - Click on **Modifier mes coordonnées** (in blue on the right side) | ||
+ | - Click on **Informations dans l' | ||
+ | - Click on **Envoyez votre demande** | ||
===== The LSCE mailing lists ===== | ===== The LSCE mailing lists ===== | ||
Line 42: | Line 86: | ||
===== Accessing the LSCE intranet ===== | ===== Accessing the LSCE intranet ===== | ||
- | Web site: https:// | + | <WRAP center round tip 60%> |
+ | If you try to access the intranet **from outside the LSCE** network (including // | ||
+ | </ | ||
+ | |||
+ | |||
+ | Intranet web site: https:// | ||
There is a lot of information available on the LSCE intranet, but you can only access it from a computer connected to the LSCE network | There is a lot of information available on the LSCE intranet, but you can only access it from a computer connected to the LSCE network | ||
Line 77: | Line 126: | ||
Everybody working for CLIM & ESTIMR gets a computer that can be connected to the LSCE network. Please take the time to read the instructions below, that may help make your life easier | Everybody working for CLIM & ESTIMR gets a computer that can be connected to the LSCE network. Please take the time to read the instructions below, that may help make your life easier | ||
- | ==== Windows | + | ==== Windows computer ==== |
- | Read the notes (and follow the instructions) in [[other: | + | Read the [[other: |
+ | |||
+ | Note: there are also some [[other:index# | ||
=== Getting administrator' | === Getting administrator' | ||
Line 85: | Line 136: | ||
<note warning> | <note warning> | ||
- | If an application requests administrator' | + | If an application requests administrator' |
==== Linux computer ==== | ==== Linux computer ==== | ||
Line 120: | Line 171: | ||
There should be an //Obelix// shortcut on the left side of your desktop. Double-click on it in order to open a window (e.g. with graphics) environment on one of the obelix servers. Each terminal you will open in this environment will run on the same obelix server. Use ssh to [[# | There should be an //Obelix// shortcut on the left side of your desktop. Double-click on it in order to open a window (e.g. with graphics) environment on one of the obelix servers. Each terminal you will open in this environment will run on the same obelix server. Use ssh to [[# | ||
+ | |||
+ | If there is not yet an //Obelix// shortcut, use the [[other: | ||
Note: you can also use [[other: | Note: you can also use [[other: | ||
Line 125: | Line 178: | ||
===== 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 | + | ==== Working |
- | Otherwise, use the appropriate Linux servers. | + | Always remember that **your local LSCE desktop can [[# |
- | | + | There are lots of things you can do directly on your **local** Windows 10 or Linux desktop |
- | * [[https:// | + | |
- | * in some cases, you may need an account to use the [[http:// | + | ==== Available servers ==== |
- | * asterixN ('' | + | |
+ | * **The LSCE interactive servers**: | ||
+ | * < | ||
+ | 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</ | ||
+ | |||
+ | * **[[https:// | ||
+ | * **[[http:// | ||
+ | * [[http:// | ||
+ | * **The '' | ||
==== Which shell are you using? ==== | ==== Which shell are you using? ==== | ||
Line 154: | Line 220: | ||
If the Linux server you are working on seems slow, or if you want to get an idea of the resources **you** are using, you should use the '' | If the Linux server you are working on seems slow, or if you want to get an idea of the resources **you** are using, you should use the '' | ||
- | < | + | < |
+ | obelix3 | ||
+ | |||
+ | >top | ||
top - 17:48:51 up 8 days, 23:43, 29 users, | top - 17:48:51 up 8 days, 23:43, 29 users, | ||
Tasks: 324 total, | Tasks: 324 total, | ||
Line 162: | Line 231: | ||
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND | ||
- | 10193 mpeau 20 | + | 10193 john |
- | 16504 mpeau 20 | + | 16504 john |
- | 26344 dzhu | + | 26344 jane |
1 root 20 0 21448 1108 892 S 0.0 0.0 | 1 root 20 0 21448 1108 892 S 0.0 0.0 | ||
[...] | [...] | ||
Line 174: | Line 243: | ||
< | < | ||
- | 16092 jchang | + | 16092 bob 20 0 8488m 8.1g 7912 R 99.6 25.9 |
- | 23256 pvait 20 | + | 23256 john |
- | 26344 dzhu | + | 26344 jane |
- | 10619 astege | + | 10619 bob 20 |
1362 nslcd | 1362 nslcd | ||
- | 16238 twang | + | 10193 john |
- | 10193 mpeau 20 | + | |
[...]</ | [...]</ | ||
Line 194: | Line 262: | ||
<note warning> | <note warning> | ||
* It is very important to use the correct directories and make it easy for your advisor to find things after you have left | * It is very important to use the correct directories and make it easy for your advisor to find things after you have left | ||
- | * **Put the source codes, scripts and papers you are writing on a backed up disk** | + | * <wrap em>**Put the source codes, scripts and papers you are writing on a backed up disk**</ |
- | * Put temporary files on a scratch disk | + | * The <wrap em> |
- | * Do NOT put (big) data files on a backed up disk | + | * Put **temporary files** on a scratch disk ('' |
+ | * Do **NOT** put (big) data files on a backed up disk | ||
* Do not forget to clean your directories before you leave (ask your advisor what should be kept or cleaned) | * Do not forget to clean your directories before you leave (ask your advisor what should be kept or cleaned) | ||
Line 203: | Line 272: | ||
==== Accessing remote disks ==== | ==== Accessing remote disks ==== | ||
- | It is possible to access directly all the disks on the LSCE servers from your local Linux or Windows | + | It is possible to access directly all the disks on the LSCE servers from your //local// Linux or Windows |
* Example path on the LSCE Linux server: ''/ | * Example path on the LSCE Linux server: ''/ | ||
- | * Accessing the same path from a local desktop: | + | * Accessing the path above from a //local// computer: |
- | * Linux desktop: ''/ | + | * Linux computer: ''/ |
- | * Windows | + | * Windows |
==== The home directory ==== | ==== The home directory ==== | ||
Line 222: | Line 291: | ||
* bash shell users: '' | * bash shell users: '' | ||
* emacs text editor: '' | * emacs text editor: '' | ||
+ | * You can go to your home directory by typing '' | ||
+ | * At LSCE, you can't read the content of somebody else's //home// directory by default | ||
* **Backup of the home directory on the LSCE servers**: YES! Every night | * **Backup of the home directory on the LSCE servers**: YES! Every night | ||
- | * More details on the [[https:// | + | * More details on the [[https:// |
- | * Put the most important sources/ | + | * <wrap em>Put the most important sources/ |
- | * Do not put temporary files, or big data files that are available somewhere else in this directory! | + | |
- | * Your home directory will also be archived when your account is closed | + | * temporary files (use '' |
+ | * big (or many) data files (use '' | ||
+ | * Your home directory will be archived when your account is closed, so that you or your advisor can access it later, if required | ||
* **Backup of the TGCC home directory**: | * **Backup of the TGCC home directory**: | ||
Line 235: | Line 308: | ||
> quota -s | > quota -s | ||
- | Disk quotas for user jypeter | + | Disk quotas for user johndoe |
| | ||
prolix3:/ | prolix3:/ | ||
==== The scratch directory ==== | ==== The scratch directory ==== | ||
+ | |||
+ | <note warning> | ||
* **Location**: | * **Location**: | ||
Line 245: | Line 320: | ||
* **Backup**: NO | * **Backup**: NO | ||
* Use this directory for temporary and big data files | * Use this directory for temporary and big data files | ||
- | * The files older than 6 months (and possibly older than 1 month) will be **automatically deleted** if there is not enough free space. See the [[https:// | + | * The files older than 6 months (and possibly older than 1 month) will be **automatically deleted** if there is not enough free space. See the [[https:// |
+ | * In other words, the files are guaranteed to stay 1 month and possibly longer | ||
* **Quota**: NO | * **Quota**: NO | ||
Line 251: | Line 327: | ||
==== Project specific directories ==== | ==== Project specific directories ==== | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | \\ You should <wrap em>store your source codes, scripts, notebooks, manuscripts, | ||
+ | |||
* **Location**: | * **Location**: | ||
* Ask your advisor if you should use a specific project directory and the technical details about it | * Ask your advisor if you should use a specific project directory and the technical details about it | ||
- | * Use this directory for storing the (big) data files that you can't store in the //home// directory, and should not store in the //scratch// directory | + | * Use this directory for storing the (big) data files that you can't store safely |
* **Backup**: ask your advisor | * **Backup**: ask your advisor | ||
Line 263: | Line 344: | ||
Your Linux environment may sometimes stop working correctly because you have exceeded the allowed quota on your disks (check your quotas with '' | Your Linux environment may sometimes stop working correctly because you have exceeded the allowed quota on your disks (check your quotas with '' | ||
+ | |||
+ | < | ||
+ | / | ||
+ | |||
+ | > | ||
+ | 58M | ||
+ | 47M | ||
+ | 44M | ||
+ | 15M | ||
+ | 12M | ||
+ | 3.2M cmake | ||
+ | ...</ | ||
+ | |||
+ | ===== 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 '' | ||
+ | |||
+ | ==== Which program am I using? ==== | ||
+ | |||
+ | At any time, you can use the '' | ||
+ | |||
+ | < | ||
+ | / | ||
+ | |||
+ | > ncdump | ||
+ | ncdump [-c|-h] [-v ...] [[-b|-f] [c|f]] [-l len] [-n name] [-p n[,n]] [-k] [-x] [-s] [-t|-i] [-g ...] [-w] file | ||
+ | [...] | ||
+ | netcdf library version 4.3.3.1 of Dec 10 2015 16:44:18 $ | ||
+ | |||
+ | > which python | ||
+ | / | ||
+ | |||
+ | > python --version | ||
+ | Python 2.7.5 | ||
+ | </ | ||
+ | |||
+ | ==== Using module to access optional programs ==== | ||
+ | |||
+ | Main '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | Detailed example: | ||
+ | < | ||
+ | ncview: Command not found. | ||
+ | |||
+ | > module list | ||
+ | No Modulefiles Currently Loaded. | ||
+ | |||
+ | > module avail | ||
+ | [...] | ||
+ | batch_env | ||
+ | [...] | ||
+ | glost/ | ||
+ | |||
+ | > module load ncview netcdf/4 | ||
+ | |||
+ | > module list | ||
+ | Currently Loaded Modulefiles: | ||
+ | 1) ncview/ | ||
+ | | ||
+ | > which ncview | ||
+ | / | ||
+ | |||
+ | > which ncdump | ||
+ | / | ||
===== Useful documentation for beginners ===== | ===== Useful documentation for beginners ===== | ||
Line 300: | Line 451: | ||
===== Getting help (from the LSCE system administrators) ===== | ===== Getting help (from the LSCE system administrators) ===== | ||
- | Send a mail to: [[help-lsce@lsce.ipsl.fr]] | + | Send a mail to //help-lsce// |
==== Describing your problem ==== | ==== Describing your problem ==== | ||
Line 306: | Line 457: | ||
When you need help from the administrators or other people, it will save a lot of time if you describe your problem as accurately as possible (do **not** just report //XXXXX is not working as expected// !) | When you need help from the administrators or other people, it will save a lot of time if you describe your problem as accurately as possible (do **not** just report //XXXXX is not working as expected// !) | ||
- | You can copy-paste the error message(s). Finding the error //log file(s)// of the program/ | + | You can copy-paste the error message(s). Finding the error //log file(s)// of the program/ |
- | < | + | < |
- | OpenSSH_6.4, OpenSSL 1.0.1e-fips 11 Feb 2013 | + | OpenSSH_7.4p1, OpenSSL 1.0.2k-fips 26 Jan 2017 |
- | debug1: Reading configuration data /homel/jypisthebest/ | + | debug1: Reading configuration data /home/users/ |
debug1: Reading configuration data / | debug1: Reading configuration data / | ||
- | debug1: / | + | debug1: / |
- | debug1: Connecting to asterix | + | debug1: Connecting to obelix |
debug1: Connection established. | debug1: Connection established. | ||
- | debug1: | + | debug1: |
- | debug1: identity file /homel/jypisthebest/ | + | debug1: identity file /home/users/ |
- | debug1: identity file / | + | |
[...] | [...] | ||
debug1: Entering interactive session. | debug1: Entering interactive session. | ||
+ | debug1: pledge: exec | ||
+ | debug1: client_input_global_request: | ||
debug1: Requesting X11 forwarding with authentication spoofing. | debug1: Requesting X11 forwarding with authentication spoofing. | ||
- | debug1: Requesting authentication agent forwarding. | ||
debug1: Sending environment. | debug1: Sending environment. | ||
debug1: Sending env LANG = en_US | debug1: Sending env LANG = en_US | ||
- | Last login: | + | Last login: |
- | Disk quotas for user jypisthebest (uid 6369): | + | |
- | Filesystem | + | > |
- | prolix3:/ | + | </ |
- | jypisthebest@asterix3 ></ | + | |
==== Taking a screenshot ==== | ==== Taking a screenshot ==== | ||
Line 342: | Line 492: | ||
===== Accessing the LSCE servers from outside the LSCE ===== | ===== Accessing the LSCE servers from outside the LSCE ===== | ||
- | The only way to access the LSCE servers from outside LSCE is to connect first to the **idefix1.extra.cea.fr** gateway server. | + | The only way to access the LSCE servers from outside LSCE is to connect first to the **ssh1.lsce.ipsl.fr** gateway server. |
+ | |||
+ | ==== Interactive access ==== | ||
- | - Send a mail to [[help-lsce@lsce.ipsl.fr]], and request an access to the idefix1 | + | - Send a mail to //help-lsce//, and request an access to the // |
- | - Use ssh to connect to idefix1 | + | - Use '' |
- | * From a Linux/mac desktop: '' | + | * From a terminal on a Linux/Windows10/ |
- | * From a Windows | + | * From a Windows |
- | * Text only: use [[other:win7apps#putty|Putty]] | + | * Text only: use [[other:win10apps#putty_pageant|Putty]]. |
- | * Text & graphics. This is more complex to set up, and you need to use one of the options below: | + | * Text **and graphics**: you need to [[https:// |
- | * use [[other: | + | - You can access all LSCE disks from //ssh1//, but there is only a limited number of programs that you can run, so you have to go from // |
- | * use [[other:index#virtualbox_notes|VirtualBox]] | + | * '' |
- | - There is only a limited number of programs that you can run on idefix1, so you have to go from idefix1 | + | |
- | * '' | + | |
- | * '' | + | |
* '' | * '' | ||
- It's possible to use only one line to to both ssh commands | - It's possible to use only one line to to both ssh commands | ||
- | | + | * obelix: '' |
- | | + | * TGCC: '' |
- | * TGCC: '' | + | |
- You can define an alias in order to connect more easily to the machines: | - You can define an alias in order to connect more easily to the machines: | ||
- | * //tcsh// users: add the following line to your '' | + | * //tcsh// users: add the following line to your '' |
- | * //bash// users: add the following line to your '' | + | * //bash// users: add the following line to your '' |
- | - You should create and configure an //ssh key//, if you don't want to type your password each time you use ssh or scp: https:// | + | - You should create and configure an //ssh key//, if you don't want to type your password each time you use ssh or scp |
- | - If you want more information about ssh | + | - If you want more information about '' |
* Linux users: http:// | * Linux users: http:// | ||
* Windows users: http:// | * Windows users: http:// | ||
Line 370: | Line 518: | ||
==== Copying files to/from LSCE ==== | ==== Copying files to/from LSCE ==== | ||
- | If you are on a computer outside LSCE and you need to transfer | + | If you need to **transfer** files to/from LSCE, use '' |
- | * Example from a Linux/mac desktop: '' | + | * Example: |
- | * From a Windows desktop: use [[other:win7apps# | + | * Sending **one file** |
+ | * Sending recursively **a full directory**:\\ '' | ||
===== What next? ===== | ===== What next? ===== |
other/newppl/starting.txt · Last modified: 2025/02/04 14:39 by jypeter