Dymo Version 7.5 Uživatelská příručka Strana 50

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 63
  • Tabulka s obsahem
  • ŘEŠENÍ PROBLÉMŮ
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 49
Release 7.5 MADYMO Coupling Manual
8.2.6 Argument Interface
When madymo_cpl calls exec2 to start both solvers, a standard argument list is passed to the
PARTNER solver. Of course not all PARTNER solvers are started in the same way. This means
a wrapper script will have to be written, as intermediate layer; the ’febin’ option should be set
to point to this wrapper script. The wrapper script is started from exec2 with this command:
<febin> -nrproc <npfe> -input <feinput> <feargs>
The wrapper script will have to parse these arguments into a valid command to actually start
the PARTNER solver and/or MPIRUN. If HP-MPI is used, the PARTNER solver wrapper script
is started in an environment where a variable FEMPIRUN is set; FEMPIRUN points to the
’mpirun’ executable, with a number of options:
FEMPIRUN = "<mpirun> -spawn -prot -nameserver <nameserver> [-hostfile <PARTNER hostfile>]"
The wrapper script then has to extend the FEMPIRUN variable with exports for the PARTNER
solver (like license variables, LD_LIBRARY_PATH, etc), other desired HP- MPI arguments, the
PARTNER solver executable, and the ’feargs’ string.
Example wrapper scripts for LS-Dyna, MPP-Dyna, PAMCrash, and RADIOSS are given in
Sec.
8.2.9.
8.2.7 Checklist and Example
These are the steps to start a MADCL coupled run:
• Write or obtain a wrapper script for the PARTNER solver
• When using HP-MPI, set the MPIRUN environment variable
• When using HP-MPI and multiple hosts are available, write a host file
• If needed/desired, write a configuration file
As an example, a madymo_cpl command could look like this:
<madymo bin dir>/madymo_cpl -febin <script dir>/cpl_partner.sh \
-npmad 4 -npfe 28 -coupling mpi -mpilib hpmpi \
-hostfile myhostfile -madargs <madymo args> -- \
-feargs <partner args> -- <xml deck> <partner deck>
Now madymo_cpl will:
• Use MADYMO executable in "<madymo bin dir>"
• Use "<script dir>/cpl_partner.sh" as PARTNER wrapper script
44
Zobrazit stránku 49
1 2 ... 45 46 47 48 49 50 51 52 53 54 55 ... 62 63

Komentáře k této Příručce

Žádné komentáře

Bertazzoni PROFS30XV manuali

Manuali dei proprietari e guide per l'utente per no Bertazzoni PROFS30XV.
We fornisce 4 manuali pdf Bertazzoni PROFS30XV per scaricare gratuitamente in base al tipo di documento: Manuale Utente, Scheda delle Specifiche, Manuale di Manutenzione e Cura, Guida di Avvio Rapido






Più prodotti e manuali per no Bertazzoni

Modelli Tipo di Documento
Q30400X Manuale di Manutenzione e Cura    Bertazzoni Q30400X Installation, Use & Care Manual, 23 pagine
KU30PRO1X Scheda Informativa   Bertazzoni KU30PRO1X Specification Sheet KU30 PRO 1 X, 2 pagine
MASWD30X Scheda delle Specifiche   Bertazzoni MASWD30X Specifications Sheet [en] , 1 pagine
SO24PROX Manuale Utente    Bertazzoni SO24PROX DL ca6fff7e27e0e62360fa8ca60953, 84 pagine