Welcome to the forums. Please post in English or French.

You are not logged in.

#1 2011-11-11 13:53:42

JMB365
Member
Registered: 2008-01-19
Posts: 781

Tmp directories specified in asrun

Hello,

I am trying to understand the purpose, function and implications of the various values for specifying temporary directories in the ../etc/codeaster/asrun file; for example:

# Directory shared by all compute nodes and used as a proxy between then
# clients and the server : clients upload data files into this directory and
# download results files from it. For example : /export/tmp/PROXY_DIR...
proxy_dir : /tmp
# root of temporary space for astk services
rep_tmp : /tmp
# Temporary directory for Aster executions
rep_trav : /tmp
# Temporary directory for Aster executions shared by all processors
# (used by mpi executions). For example : /export/tmp, /home/tmp...
shared_tmp : /tmp
# shared folders = for which remote copy is never necessary (comma separated)
shared_folders :

Can somebody explain to me or point me to the right Doc file (if there is one) so I can better understand the what/why/how of these variables, especially in the light of configuring OpenMP / MPI clusters?  What I have read so far as comments in the file do not fully explain the purpose or nuances of changing these values from their default values.  So far I have understood what the function of shared_tmp is from jcugnoni's posting.  I am trying to grasp what the others are.  Thanks.

Regards, JMB


SalomeMeca 2021
Ubuntu 20.04, 22.04

Offline

#2 2011-11-14 16:16:30

mathieu.courtois
Administrator
From: France
Registered: 2007-11-21
Posts: 1,178

Re: Tmp directories specified in asrun

Hello,

First, on a stand-alone configuration (only one computer), all these fields should be set to a local temporay directory (usually /tmp or another one with sufficient space and on a quick hard disk).

The comments should be sufficient for advanced users.

proxy_dir : is only used when a remote client starts a calculation on the current server. The data and result files will be copied in this directory. It should be shared by the compute nodes.

rep_tmp : only used for small files for as_run. Should be on a local partition.

rep_trav : will contain the working directory during Code_Aster executions. It's important that it should be very quick and have a sufficient capacity. So it must be local to every node.

shared_tmp : used for MPI parallel executions. It must be shared by all nodes. The main working is prepared in the directory and then copied locally on each processor (in a subdirectory of rep_trav).

Typically, we have :
proxy_dir : /scratch/tmp  (shared by all the cluster nodes)
rep_tmp : /tmp
rep_trav : /tmp
shared_tmp : /scratch/tmp


MC


Code_Aster release : last unstable on Ubuntu 16.04 64 bits - GNU Compilers

Please do not forget to tag your first post as *SOLVED* when it is!

Offline

#3 2011-11-14 20:37:24

JMB365
Member
Registered: 2008-01-19
Posts: 781

Re: Tmp directories specified in asrun

Hello courtois, Thank you for the details.  It is clearer now.  Regards, JMB


SalomeMeca 2021
Ubuntu 20.04, 22.04

Offline