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 [2015/07/08 12:01] – Started the idefix1 section jypeter | other:newppl:starting [2020/03/18 15:24] – [Windows computer] Updated jypeter | ||
---|---|---|---|
Line 2: | Line 2: | ||
====== Getting started in CLIM & ESTIMR ====== | ====== Getting started in CLIM & ESTIMR ====== | ||
- | <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 ===== | ||
+ | |||
+ | It is important to join the correct mailing lists, if you want to get all the information you need, on time. | ||
+ | |||
+ | ==== The ' | ||
+ | |||
+ | When your account is created, your email address should automatically be added to the the //all// list, that can be used to send mails to all the people working at LSCE. You will also get IPSL information through this list | ||
+ | |||
+ | | [[all@lsce.ipsl.fr]] | Everybody at LSCE | | ||
+ | | [[lsce-orme@lsce.ipsl.fr]] | People working at Orme | | ||
+ | | [[lsce-gif@lsce.ipsl.fr]] | People working in Gif | | ||
+ | |||
+ | Mails sent to these lists will reach lots of people. Think well **before** sending a mail to these lists! | ||
+ | |||
+ | ==== The ' | ||
+ | |||
+ | Ask your team leader or Jean-Yves to add you to your team's mailing list | ||
+ | |||
+ | ^ List ^ Team ^ Archive | ||
+ | | [[clim@lists.lsce.ipsl.fr]] | // | ||
+ | | [[estimr@lists.lsce.ipsl.fr]] | // | ||
+ | |||
+ | ==== Notes ==== | ||
+ | |||
+ | * You have to be identified on the server to access most lists' | ||
+ | * You may want/need to join other mailing lists (project specific, sports, ...). Check the [[https:// | ||
+ | * It is possible to [[https:// | ||
===== Using your own computer at LSCE? ===== | ===== Using your own computer at LSCE? ===== | ||
Line 10: | Line 82: | ||
The best you can do is use the [[https:// | The best you can do is use the [[https:// | ||
- | **Warning!** You can't connect directly to the LSCE servers from the wifi network. | + | **Warning!** You can't connect directly to the // |
===== Accessing the LSCE intranet ===== | ===== Accessing the LSCE intranet ===== | ||
- | There is a lot of information available on the intranet, but you can only access | + | <WRAP center round tip 60%> |
+ | If you try to access | ||
+ | </WRAP> | ||
- | Everything about the LSCE servers (and other software and hardware information): | ||
- | * Reading the mails with the [[https:// | + | Intranet web site: https:// |
- | * As soon as you have a LSCE e-mail address, make sure it is added to the clim or estimr mailing list | + | |
- | * [[https:// | + | |
- | ===== Accessing | + | 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 |
- | Web site: http://www-saclay.cea.fr/ | + | Everything about the LSCE servers (and other software and hardware information): https://intranet.lsce.ipsl.fr/ |
- | You can only access it from the CEA network! This intranet is the place where you can get information about: | + | * Reading |
+ | * As soon as you have a LSCE e-mail address, make sure it is added to the //clim// or //estimr// **mailing list** | ||
+ | * [[https:// | ||
- | * [[http:// | + | ===== Accessing the CEA Saclay intranet and other CEA web sites with vpnssl ===== |
- | | + | |
+ | <WRAP center round important 60%> | ||
+ | It used to be possible to access the CEA Saclay intranet by just clicking on http:// | ||
+ | |||
+ | This is **not possible** anymore, now that LSCE is on the Paris-Saclay network (and not on the CEA network) | ||
+ | </ | ||
+ | |||
+ | Use the following steps: | ||
+ | | ||
+ | - Open the following link: https://vpnssl.cea.fr/ | ||
+ | * ignore the security errors | ||
+ | * this link will work from the Paris Saclay network, and ANY other location (e.g. home) OUTSIDE of CEA | ||
+ | - Use your initials and badge number as the **login** (e.g. "// | ||
+ | - Select the CEA web site you want from the " | ||
+ | * **Espace Sigma**: that's where you specify when you will be on holidays | ||
+ | * **Intranet Saclay**: where you can get information about the CEA buses, CEA directory, security | ||
+ | * **Intranet du voyageur**: if you need to make a plane/train reservation | ||
+ | * ... | ||
+ | - Click on //logout// when you are done | ||
===== Setting up your desktop computer ===== | ===== Setting up your desktop computer ===== | ||
Line 35: | 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 [[other: | ||
- | Read the notes in [[other: | + | Note: there are also some [[other: |
=== Getting administrator' | === Getting administrator' | ||
- | <note warning> | + | <note warning> |
- | If an application requests administrator' | + | If an application requests administrator' |
==== Linux computer ==== | ==== Linux computer ==== | ||
- | FIXME <= Add some stuff here | + | There are different window managers available, each one with different settings: you should the // |
+ | |||
+ | This is Linux, you are using it for work, you should be efficient, so you should be able to do most of your work by typing commands in a terminal. The true power is in the correct use of the command-line interfaces, rather than having to spend time finding where to click in the windows. You will find some [[# | ||
=== Using the root acount === | === Using the root acount === | ||
Line 57: | Line 152: | ||
* run a single command with the root access rights\\ **sudo // | * run a single command with the root access rights\\ **sudo // | ||
* become root in a terminal\\ **sudo //su -//** | * become root in a terminal\\ **sudo //su -//** | ||
- | * use the root password when a program asks for it. Be sure the programs | + | * use the root password when a program asks for it. Be sure the programs |
==== Mac ==== | ==== Mac ==== | ||
Sorry, you are on your own, but it's soooo easy to use, right? | Sorry, you are on your own, but it's soooo easy to use, right? | ||
+ | |||
+ | ===== Accessing the Windows cluster from a Linux computer ===== | ||
+ | |||
+ | Follow the instructions in the [[https:// | ||
+ | |||
+ | ===== Accessing the Linux servers from your LSCE deskop ===== | ||
+ | |||
+ | ==== Linux or mac desktop ==== | ||
+ | |||
+ | Just open a terminal and [[# | ||
+ | |||
+ | ==== Windows desktop ==== | ||
+ | |||
+ | 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: | ||
===== 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 directly | + | There are lots of things you can do directly on your **local** Win7/ |
- | Otherwise, use the appropriate Linux servers. The load balancing system will send you to the server that has currently the smallest load | + | Otherwise, |
- | * asterixN | + | * **obelix**// |
- | * obelixN ('' | + | * < |
- | * [[https:// | + | 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 | ||
+ | > | ||
+ | obelix5 | ||
+ | > | ||
+ | obelix5</code> | ||
+ | * [[https:// | ||
+ | * in some cases, you may need an account to use the [[http:// | ||
+ | * // | ||
+ | |||
+ | ==== Which shell are you using? ==== | ||
+ | |||
+ | It is important to know which //shell// you are using if you need to configure and tune your Linux account. The shell is basically the program that waits for you to type commands in a terminal and passes them to the computer | ||
+ | |||
+ | If you are not sure which shell is running in your terminals, you can use '' | ||
+ | |||
+ | < | ||
+ | # Somewhere with tcsh | ||
+ | > echo $SHELL | ||
+ | / | ||
+ | |||
+ | # Somewhere else with bash | ||
+ | $ echo $SHELL | ||
+ | / | ||
+ | </ | ||
==== Determining the load of a Linux server ==== | ==== Determining the load of a Linux server ==== | ||
Line 114: | Line 251: | ||
===== Which disks should you use? ===== | ===== Which disks should you use? ===== | ||
+ | |||
+ | <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 | ||
+ | * <wrap em>**Put the source codes, scripts and papers you are writing on a backed up disk**</ | ||
+ | * The <wrap em> | ||
+ | * 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) | ||
+ | </ | ||
+ | |||
+ | ==== Accessing remote disks ==== | ||
+ | |||
+ | It is possible to access directly all the disks on the LSCE servers from your local Linux or Windows desktop | ||
+ | |||
+ | * Example path on the LSCE Linux server: ''/ | ||
+ | * Accessing the path above from a local desktop: | ||
+ | * Linux desktop: ''/ | ||
+ | * Windows desktop: '' | ||
==== The home directory ==== | ==== The home directory ==== | ||
+ | * **Location**: | ||
+ | * On the LSCE servers (obelixN): ''/ | ||
+ | * Non LSCE servers: | ||
+ | * TGCC: ''/ | ||
+ | * ciclad: ''/ | ||
+ | * On a local Linux desktop (lsceNNNN): ''/ | ||
+ | * The configuration files of your Linux account are stored in the //home// directory (use '' | ||
+ | * tcsh shell users: '' | ||
+ | * bash shell users: '' | ||
+ | * 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 | ||
+ | |||
+ | * **Backup of the home directory on the LSCE servers**: YES! Every night | ||
+ | * More details on the [[https:// | ||
+ | * <wrap em>Put the most important sources/ | ||
+ | * **Do not** use the //home// directory to store: | ||
+ | * 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**: | ||
+ | * Use the following command to access the backup: '' | ||
+ | |||
+ | * **Quota**: YES!\\ There is a limit to what you can store in your home directory. If you reach this limit, you may experience some seemingly random errors (can't connect to the servers, the new files have a 0 size, ...)\\ The example below shows how to determine the //quota// on the LSCE disks: you can never go above the size displayed in the '' | ||
+ | > quota -s | ||
+ | |||
+ | Disk quotas for user jypeter (uid 6369): | ||
+ | | ||
+ | prolix3:/ | ||
==== The scratch directory ==== | ==== The scratch directory ==== | ||
+ | |||
+ | <note warning> | ||
+ | |||
+ | * **Location**: | ||
+ | |||
+ | * **Backup**: NO | ||
+ | * 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:// | ||
+ | * In other words, the files are guaranteed to stay 1 month and possibly longer | ||
+ | |||
+ | * **Quota**: NO | ||
==== Project specific directories ==== | ==== Project specific directories ==== | ||
+ | <note warning> | ||
- | ===== Useful documentation ===== | + | \\ You should <wrap em>store your source codes, scripts, notebooks, manuscripts, |
- | ===== Getting help from the LSCE system administrators ===== | ||
- | Send a mail to: [[help-lsce@lsce.ipsl.fr]] | + | * **Location**: |
+ | * 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 safely in the //scratch// directory, and should not store in the //home// directory | ||
+ | |||
+ | * **Backup**: ask your advisor | ||
+ | |||
+ | * **Quota**: ask your advisor | ||
+ | |||
+ | ==== Determining the space used by directories ==== | ||
+ | |||
+ | Your Linux environment may sometimes stop working correctly because you have exceeded the allowed quota on your disks (check your quotas with '' | ||
+ | |||
+ | < | ||
+ | / | ||
+ | |||
+ | jypeter@obelix4 - ...jypeter - 47 >du -sh * | sort -rh | ||
+ | 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 | ||
+ | [...] | ||
+ | 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 ===== | ||
+ | |||
+ | ==== Linux/UNIX ==== | ||
+ | |||
+ | * {{: | ||
+ | - A list of the most useful commands | ||
+ | - A tutorial | ||
+ | * Useful Linux commands for working with (potentially big) text files ({{: | ||
+ | * Using ssh on [[http:// | ||
+ | * An annotated reference card of the emacs text editor ({{: | ||
+ | * JYP's .emacs file: {{: | ||
+ | |||
+ | You can also check the [[http:// | ||
+ | |||
+ | ==== NetCDF and file formats ==== | ||
+ | |||
+ | * What are binary ({{: | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * The NetCDF file format is **self-documented**, | ||
+ | * The files in the [[https:// | ||
+ | * You can use [[other: | ||
+ | * [[https:// | ||
+ | * [[http:// | ||
+ | * [[http:// | ||
+ | * Using Python to work with NetCDF data: | ||
+ | * Using the [[http:// | ||
+ | * Using the [[http:// | ||
+ | |||
+ | ==== Using the Python language ==== | ||
+ | |||
+ | - [[other: | ||
+ | - [[other: | ||
+ | |||
+ | ===== Getting help (from the LSCE system administrators) ===== | ||
+ | |||
+ | Send a mail to //help-lsce// | ||
+ | |||
+ | ==== Describing your problem ==== | ||
+ | |||
+ | 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/ | ||
+ | |||
+ | < | ||
+ | OpenSSH_7.4p1, | ||
+ | debug1: Reading configuration data / | ||
+ | debug1: Reading configuration data / | ||
+ | debug1: / | ||
+ | debug1: Connecting to obelix [157.136.72.75] port 22. | ||
+ | debug1: Connection established. | ||
+ | debug1: key_load_public: | ||
+ | debug1: identity file / | ||
+ | [...] | ||
+ | debug1: Entering interactive session. | ||
+ | debug1: pledge: exec | ||
+ | debug1: client_input_global_request: | ||
+ | debug1: Requesting X11 forwarding with authentication spoofing. | ||
+ | debug1: Sending environment. | ||
+ | debug1: Sending env LANG = en_US | ||
+ | Last login: Thu Mar 1 15:52:44 2018 from lsce4078.lsce.ipsl.fr | ||
+ | Disk quotas for user jypeter (uid 6369): | ||
+ | | ||
+ | | ||
+ | jypeter@obelix3 - ...jypeter - 41 > | ||
+ | </ | ||
+ | |||
+ | ==== Taking a screenshot ==== | ||
+ | |||
+ | Sometimes, it may also help to send a picture of what is wrong! | ||
+ | |||
+ | On Linux, you should find a screenshot application in the tools available on the system. See the example below for people using the //xfce// windows manager | ||
+ | {{ : | ||
+ | |||
+ | On Windows, you can use the //Capture screen// option of [[other: | ||
+ | {{ : | ||
===== Accessing the LSCE servers from outside the LSCE ===== | ===== Accessing the LSCE servers from outside the LSCE ===== | ||
- | The only way to access | + | 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 // | ||
+ | - Use '' | ||
+ | * From a terminal | ||
+ | * From a Windows computer: | ||
+ | * Text only: use [[other: | ||
+ | * Text **and graphics**: you need to [[https:// | ||
+ | - 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 //ssh1// to //obelix// or //irene// with one of the '' | ||
+ | * '' | ||
+ | * '' | ||
+ | - It's possible to use only one line to to both ssh commands | ||
+ | * obelix: '' | ||
+ | * TGCC: '' | ||
+ | - You can define an alias in order to connect more easily to the machines: | ||
+ | * //tcsh// 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 | ||
+ | - If you want more information about '' | ||
+ | * Linux users: http:// | ||
+ | * Windows users: http:// | ||
+ | |||
+ | ==== Copying files to/from LSCE ==== | ||
+ | |||
+ | If you need to **transfer** files to/from LSCE, use '' | ||
- | | + | |
- | - Use ssh to connect to idefix1 | + | * Sending **one file** from a Linux/ |
- | - ssh | + | |
===== What next? ===== | ===== What next? ===== |
other/newppl/starting.txt · Last modified: 2025/02/04 14:39 by jypeter