Ergon : The mfget and mfput transfer commands

The mfget and mfput commands were developed by IDRIS to secure the transfers between the IDRIS compute machines and the Ergon archive server and to optimise the transfer speed. The following shows the basic usage for a login rlab001 from a computing server, machine_i:

  • In interactive :
    • Copying a file fic_ergon from Ergon to the computing machine_i, the file becoming fic_calcul :
      $ mfget fic_ergon fic_calcul
    • Copying a file fic_calcul from the computing machine_i to Ergon, the file becoming fic_ergon :
      $ mfput fic_calcul fic_ergon
  • In batch, it is recommended to use the archive class to transfer a group of files between the computing machines and the Ergon archive server:
    • In batch, example of using the mfget command in the archive class:
...           
# @ job_type = serial
# @ class = archive
...       
# Copying the file d1 from the Ergon $HOME to the computing machine WORKDIR        
mfget d1 $WORKDIR        

# Copying the file data2 from the Ergon $HOME to the computing machine $WORKDIR under the name d2       
mfget data2 $WORKDIR/d2        

# Copying the file data3 from the Ergon $HOME subdirectory REP
# to the computing machine $WORKDIR under the name d3       
mfget REP/data3 $WORKDIR/d3        
  • In batch, example of using the mfput command in the archive class:
...
# @ job_type = serial
# @ class = archive
... 

cd $WORKDIR       

# Copying the file r1 from the computing machine to the Ergon $HOME
mfput r1 r1
        
# Copying the file r2 from the computing machine to the Ergon $HOME subdirectory REP under the name result2       
mfput r2 REP/result2        
...

To have more information about the file transfer options and capacities of these commands, we advise you to consult the manuals available on line from the computing servers: man mfget, man mfput.