Hello,
Does anyone know how to change the default storage location of simulation datasets?
I want to store my project files on a remote machine, but store large dynamic files such as the datasets locally or in memory.
Thanks,
Stephen Donecker
Does anyone know how to change the default storage location of simulation datasets?
I want to store my project files on a remote machine, but store large dynamic files such as the datasets locally or in memory.
Thanks,
Stephen Donecker
Unfortunately, there is no configuarion variable that can be set to direct the results to another folder. ADS will read/write data files from the ./data folder in the current project. No way to change that.
But, there are some ways to workaround this. It is however more or less complicated depending on the operating system:
Assume that:
 Your project is:   /users/stephen/myproj
 (Default data folder: /users/stephen/myproj/data)
 You want the simulation data to be written to /gfs/pluto/ads
Solution:
 Open a UNIX commandline window and delete/rename the data folder in the project.
 Make a symbolic link from the desired target folder to the project folder:
 $ ln -s /gfs/pluto/ads /users/stephen/myproj/data
 ADS will write the simulation results to the local ./data folder, but since we have created a symbolic link to another folder, the file is actually written to that location.
It is a bit more complicated on PC since links/shortcuts doesn't work for some reason. You would think that a shortcut to another desired folder would work. But ADS refuses to write a file to a folder which has been linked into the project using a shortcut.
The only workaround I can think about is to run the simulation from the commandline. Here's the rough outline on the required steps:
A) Netlist the design by running the following command from the AEL command line window:
de_netlist();
This creates a netlist.log file in the project directory.
B) Edit the netlist.log file and change or remove the path for the design on the first row. Example:
From:
Options ResourceUsage=yes UseNutmegFormat=no TopDesignName="C:\New_Folder\LoadPull_prj\networks\LoadPullMagPh_ConstPdel"
To:
Options ResourceUsage=yes UseNutmegFormat=no TopDesignName="LoadPullMagPh_ConstPdel"
C) Move the netlist to the desired folder for the simulation data.
From the DOS command line you can execute the hpeesofsim executable with this netlist as an argument. The simulator will create a dataset in the current folder.
You do need to set a few environmental variables when executing the simulator from the commandline. Please refer to the documentation for more info:
Running a Simulation from the Command Line
If you wanted to do this frequently then it would be a good idea to write a small script that automates parts/all of this.
A complication with this method is that when displaying the results from the simulation in the Data Display you will have to browse to this folder every time you want to pick a dataset. You don't have to do that on UNIX since ADS can read the files directly from the ./data link/folder.
Conclusion: On UNIX it's pretty easy & user friendly. You only have to do this link once in a project and then all simulations after that will be sent to the desired folder. On PC, the workaround is rather involved and for the most times not worth the hassle.
There is an enhancement request submitted about this issue. But it does not look like a fix will be implemented in the near future unfortunately.
-Mats