Ergon : The mfget and mfput transfer commands

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

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

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

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

cd $WORKDIR       

# Copy the r1 file from the computing machine to the Ergon $HOME:
mfput r1 r1
        
# Copy 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).