Translations:Ansys/2849/en: Difference between revisions
Jump to navigation
Jump to search
(Importing a new version from external source) |
(Importing a new version from external source) |
||
Line 4: | Line 4: | ||
sed -re "s/(.Processors>+)[a-zA-Z0-9]*(<\/MaxNumber.)/\1$SLURM_NTASKS\2/" -i "$MWFILE" | sed -re "s/(.Processors>+)[a-zA-Z0-9]*(<\/MaxNumber.)/\1$SLURM_NTASKS\2/" -i "$MWFILE" | ||
sed -i "s!UserConfigured=\"0\"!UserConfigured=\"1\"!g" "$MWFILE" | sed -i "s!UserConfigured=\"0\"!UserConfigured=\"1\"!g" "$MWFILE" | ||
Revision as of 18:51, 19 October 2022
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\2/" -i "$MWFILE" sed -i "s!UserConfigured=\"0\"!UserConfigured=\"1\"!g" "$MWFILE"