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 15:04] jypeter [The scratch directory] added warning |
other:newppl:starting [2020/02/06 09:47] jypeter [Copying files to/from LSCE] |
||
---|---|---|---|
Line 310: | 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 478: | 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 501: | 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? ===== |