Showing results for 
Search instead for 
Do you mean 
Reply
Solved! Go to solution

Starting calculation process using a .BAT-file - Limitation of the volume of the scratch directory

Hello,

 

mostly I start calculations with siemens nx via a .BAT file. Unfortunately, while working with very large models, the scratch directory (500 GB, stored on a separate SSD card) is too small.

 

The command-line to start the batch run is made via:


"C:\Siemens\NX100_DAG64\NXNASTRAN\nxn10p2\em64tntl\nastran.exe" "D:\BERECHNUNG\20170110_wzg_01_sim1-solution_1" prog=bundle old=no sdir=E:\SCRATCH memory=60GB scratch=yes parallel=35

 

Do you know how to reduce the volume of the scratch directory in the .BAT file? Would the command "SMEM" be correct?

Thank you for your support.

 

Greetings

 

Werner

1 REPLY
Solution
Solution
Accepted by topic author Werner
‎01-12-2017 10:18 AM

Re: Starting calculation process using a .BAT-file - Limitation of the volume of the scratch directo

SMEM will increase the size of the SMEM partition of the SCRATCH DBSET. However, if you are filling a disk then increasing SMEM is probably not going to help unless your machine has an enormous amount of physical memory.

 

For example, if you machine has 64 GB of RAM, You could probably run NX Nastran with mem=48GB (leaving 16 GB for the OS, other processes, etc.

 

If your large analysis requires 10GB of memory to avoid spill, then you could set SMEM=32GB

 

This would make your total scratch space 532 GB (assuming that the 500 GB scratch drive was empty to start with). This is less than 10%

 

You will probably have to split the SCRATCH DBSET across multiple physical drives. This can be done using the INIT and ASSIGN FMS commands.

 

See this Solution Center article for more information:

https://solutions.industrysoftware.automation.siemens.com/view.php?sort=desc&q=%22INIT+SCRATCH%22&dt...