Translations:Ansys/2850/fr: Difference between revisions

From Alliance Doc
Jump to navigation Jump to search
(Created page with "rm -fv *_files/.lock MWFILE=~/.mw/Application\ Data/Ansys/`basename $(find $EBROOTANSYS/v* -maxdepth 0 -type d)`/SolveHandlers.xml sed -re "s/(.AnsysSolution>+)[a-zA-Z0-9]*(<\...")
 
m (FuzzyBot moved page Translations:ANSYS/2850/fr to Translations:Ansys/2850/fr without leaving a redirect: Part of translatable page "ANSYS")
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
sed -re "s/(.AnsysSolution>+)[a-zA-Z0-9]*(<\/Distribute.)/\1$MEMPAR\2/" -i "$MWFILE"
sed -re "s/(.AnsysSolution>+)[a-zA-Z0-9]*(<\/Distribute.)/\1$MEMPAR\2/" -i "$MWFILE"
sed -re "s/(.Processors>+)[a-zA-Z0-9]*(<\/MaxNumber.)/\1$((SLURM_NTASKS-1))\2/" -i "$MWFILE"
sed -re "s/(.Processors>+)[a-zA-Z0-9]*(<\/MaxNumber.)/\1$((SLURM_NTASKS-1))\2/" -i "$MWFILE"
export PATH=/cvmfs/soft.computecanada.ca/nix/var/nix/profiles/16.09/bin:$PATH
export I_MPI_HYDRA_BOOTSTRAP=ssh; export KMP_AFFINITY=balanced

Latest revision as of 16:59, 26 January 2023

rm -fv *_files/.lock MWFILE=~/.mw/Application\ Data/Ansys/`basename $(find $EBROOTANSYS/v* -maxdepth 0 -type d)`/SolveHandlers.xml sed -re "s/(.AnsysSolution>+)[a-zA-Z0-9]*(<\/Distribute.)/\1$MEMPAR\2/" -i "$MWFILE" sed -re "s/(.Processors>+)[a-zA-Z0-9]*(<\/MaxNumber.)/\1$((SLURM_NTASKS-1))\2/" -i "$MWFILE"