Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

All practicals should be done on ECS, so it is required to login to ics-login first:

Code Block
languagebash
ssh%ssh ecs-login

Users with full HPC access can do the practicals from hpc-login node as well.

...

Expand
titleSolution


Code Block
languagebash
emkdir%emkdir ectmp:training_2023                # changecreate a ECFSnew directory toin ectmp
ecd%ecd ectmp:training_2023                   # change ECFS directory to your new ECFS directory
ecpwd%epwd ectmp:                               # see what is your current directory in ectmp
ecp%ecp /home/trx/grib_practicals.tar ectmp:  # copy the file to your current ectmp directory
els%els -l ectmp:                             # list your current ectmp directory (the grib_practicals.tar file should appear in the list now)
ecd%ecd ectmp:                                # go back to your ectmp home
els%els -l ectmp:                             # you should see your training_2023 directory now 
els%els -l ectmp:training_2023/               # list the directory to see grib_practicals.tar file inside


...

Expand
titleSolution


Code Block
languagebash
ecfsdir%ecfsdir grib_practicals ectmp:

    grib_practicals
    grib_practicals  directory saved

els%els -l ectmp:
    -rw-r-----   1 user     group           37014528 Nov  2 16:15 grib_practicals

Note, in ECFS your Unix directory structure is saved as a file.

...

Expand
titleSolution


Code Block
languagebash
mkdir%mkdir $SCRATCH/temp_dir_for_ECFS_practicals              # create temporarily directory
cd%cd $SCRATCH/temp_dir_for_ECFS_practicals
ecfsdir%ecfsdir ectmp:grib_practicals ./grib_practicals_copy     # download the directory previously saved in ECFS to your local directory with name grib_practicals_copy/

ls%ls -l
    total 4
    drwxr-x--- 5 user group 4096 Nov  2 16:26 grib_practicals_copy 


...