This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
other:newppl:starting [2019/07/12 13:49] jypeter [Accessing remote disks] |
other:newppl:starting [2020/02/06 09:47] jypeter [Copying files to/from LSCE] |
||
---|---|---|---|
Line 274: | Line 274: | ||
* bash shell users: ''.profile'' and ''.bashrc'' | * bash shell users: ''.profile'' and ''.bashrc'' | ||
* emacs text editor: ''.emacs'' | * emacs text editor: ''.emacs'' | ||
+ | * You can go to your home directory by typing ''cd'' (no arguments), and to the home directory of somebody else with ''cd ~login_name'' | ||
+ | * 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 | * **Backup of the home directory on the LSCE servers**: YES! Every night | ||
- | * More details on the [[https://intranet.lsce.ipsl.fr/informatique/en/nsr/index.php|backup system]] page | + | * More details on the [[https://intranet.lsce.ipsl.fr/informatique/en/nsr/index.php|LSCE backup system]] page |
- | * Put the most important sources/scripts/data/papers in this directory | + | * <wrap em>Put the most important sources/scripts/data/papers in this directory</wrap> |
- | * Do not put temporary files, or big data files that are available somewhere else in this directory! | + | * **Do not** use the //home// directory to store: |
- | * Your home directory will also be archived when your account is closed | + | * temporary files (use ''scratch01'') |
+ | * big (or many) data files (use ''scratch01'' or a project specific disk) | ||
+ | * 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**: YES! | * **Backup of the TGCC home directory**: YES! | ||
Line 292: | Line 296: | ||
==== The scratch directory ==== | ==== The scratch directory ==== | ||
+ | |||
+ | <note warning>Do not put anything in the scratch directory that you can't recreate with a program, or copy/download from somewhere else!</note> | ||
* **Location**: ''/home/scratch01/your_lsce_login'' | * **Location**: ''/home/scratch01/your_lsce_login'' | ||
Line 304: | Line 310: | ||
==== Project specific directories ==== | ==== Project specific directories ==== | ||
+ | |||
+ | <note warning>The data on these disks is <wrap em>probably not backed up</wrap>... You are not protected against file deletion by mistake, or a disk crash (a major disk crash is not likely, but can happen) | ||
+ | |||
+ | \\ You should <wrap em>store your source codes, scripts, notebooks, manuscripts, reports, figures, on a backed up directory</wrap>, and only store on the project disks data downloaded from outside, or that you can regenerate with the backed up scripts</note> | ||
+ | |||
* **Location**: ''/home/some_project_name/your_lsce_login'' | * **Location**: ''/home/some_project_name/your_lsce_login'' | ||
* 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 safely in the //scratch// directory, and should not store in the //scratch// directory | + | * 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 | * **Backup**: ask your advisor | ||
Line 472: | Line 483: | ||
- Send a mail to //help-lsce//, and request an access to the //ssh1// server | - Send a mail to //help-lsce//, and request an access to the //ssh1// server | ||
- Use ''ssh'' to **connect** to //ssh1// | - Use ''ssh'' to **connect** to //ssh1// | ||
- | * From a Linux/mac desktop: ''ssh -A -X your_lsce_login@ssh1.lsce.ipsl.fr'' | + | * From a terminal on a Linux/Windows10/Mac computer: ''ssh -A -X your_lsce_login@ssh1.lsce.ipsl.fr'' |
- | * From a Windows desktop: | + | * From a Windows computer: |
- | * Text only: use [[other:win7apps#putty|Putty]] | + | * Text only: use [[other:win10apps#putty_pageant|Putty]]. Putty allows you to open text terminals on remote computers |
- | * 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://wiki.lsce.ipsl.fr/pmip3/doku.php/other:win10wsl#using_an_x_server|install an X server]] on your computer in order to display the graphics |
- | * use [[other:win7apps#vcxsrv_windows_x_server|VcXsrv]] | + | - 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 ''ssh'' commands below: |
- | * use [[other:win7apps#cygwin-x|cygwin/X]] | + | |
- | * use [[other:index#virtualbox_notes|VirtualBox]] | + | |
- | - 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 //curie// with one of the ''ssh'' commands below: | + | |
* ''ssh obelix'' | * ''ssh obelix'' | ||
* ''ssh your_tgcc_login@curie-ccrt.ccc.cea.fr'' | * ''ssh your_tgcc_login@curie-ccrt.ccc.cea.fr'' | ||
Line 495: | Line 503: | ||
==== Copying files to/from LSCE ==== | ==== Copying files to/from LSCE ==== | ||
- | If you need to **transfer** files to/from LSCE, use ''scp'' (on Linux), or an scp client such as [[other:win7apps#winscp|WinSCP]] (on Windows) between your computer and ''ssh1.lsce.ipsl.fr'' | + | If you need to **transfer** files to/from LSCE, use ''scp'' (on Linux and Windows 10), or a graphical scp client such as [[other:win10apps#winscp|WinSCP]] (on Windows) between your computer and ''ssh1.lsce.ipsl.fr'' |
- | * Example from a Linux/mac desktop: ''scp -p file_outside_lsce your_lsce_login@ssh1.lsce.ipsl.fr:/home/scratch01/your_lsce_login/'' | + | * Example: |
+ | * Sending **one file** from a Linux/Windows10/Mac computer to your //scratch// directory at LSCE:\\ ''scp -p file_on_your_computer_outside_lsce your_lsce_login@ssh1.lsce.ipsl.fr:/home/scratch01/your_lsce_login/'' | ||
+ | * Sending recursively **a full directory**:\\ ''scp -pr directory_on_your_computer_outside_lsce your_lsce_login@ssh1.lsce.ipsl.fr:/home/scratch01/your_lsce_login/'' | ||
===== What next? ===== | ===== What next? ===== |