Hello,
I tried to load OASIS file 3.6G size to Klayout.
Due to load the tool reported :
===================================================================
Forward references to the S_GDS_PROPERTY name not allowed currently
(position = 3036274011, cell = $2719)
===================================================================
and crashed.
The OASIS file was created by Synopsys Astro and there was no problems to load it to Mentor's DesignRev.
Comments
Hi roman,
I guess KLayout is somewhat too picky about the structure.
The basic problem is that OASIS allows forward references which are hard to resolve in a single-pass parser. Single-pass parsers have the advantage of operating Faster on gzipped files for example. The problem you came across is one of the last limitations of the KLayout OASIS parser.
This problem is somewhat tricky to solve in the general case. Currently one workaround is to remove the check by commenting out line 660 of dbOASISReader.cc (this applies to version 0.19.2). In effect however, properties will not be read correctly but the geometries will be valid.
Best regards,
Matthias
Hi,
please try version 0.19.3 which I just put on the server.
This one should be able to read your files.
Best regards,
Matthias
I've downloaded the new version and compiled it by:
./build.sh -qt /usr/local/tools/qt/4.4.0 -platform linux-64-gcc-release
The workstation I use is: Linux 2.6.9-78.ELsmp x86_64
The tool was not crashed this time but it was stuck after read 3080M of 3.4G
In top I see:
Mem: 65987720k total, 38408292k used, 27579428k free, 148756k buffers
Swap: 134217720k total, 709008k used, 133508712k free, 19595768k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
19891 roman 25 0 16.9g 16g 16m R 99.9 26.4 31:36.15 klayout
The Compression Flags I used:
* Write CBlock compression
* Write Strict Mode
* Pattern Compression
Looks like I have to check the code again.
Until then, it should be possible to avoid that problem by disabling the reading of properties using the "Reader Options" dialog in the "File" menu.
Best regards,
Matthias
I disabled reading of properties and now it works (the OASIS loaded into klayout)
Thanks a lot , I'll wait for fix.