Hi all, after running the `make pre-check` step, ...
# shuttle
m
Hi all, after running the
make pre-check
step, I’m getting the following error in 10th step (Klayout BEOL):
Copy code
cd /home/manili/mpw_precheck && \
docker run -e INPUT_DIRECTORY=/home/manili/Desktop/caravel_user_project -e PDK_ROOT=/home/manili/OpenLane/pdks -e CARAVEL_ROOT=/home/manili/Desktop/caravel_user_project/caravel -v /home/manili/mpw_precheck:/home/manili/mpw_precheck -v /home/manili/Desktop/caravel_user_project:/home/manili/Desktop/caravel_user_project -v /home/manili/OpenLane/pdks:/home/manili/OpenLane/pdks -v /home/manili/Desktop/caravel_user_project/caravel:/home/manili/Desktop/caravel_user_project/caravel \
-u 1000:1000 efabless/mpw_precheck:latest bash -c "cd /home/manili/mpw_precheck ; python3 mpw_precheck.py --pdk_root /home/manili/OpenLane/pdks --input_directory /home/manili/Desktop/caravel_user_project --caravel_root /home/manili/Desktop/caravel_user_project/caravel"
{{EXTRACTING GDS}} Extracting GDS files in: /home/manili/Desktop/caravel_user_project
{{Project GDS Info}} user_project_wrapper: 5e475fb427110a67f5a4ffecbe74899d0949390f
{{Tools Info}} KLayout: v0.27.3 | Magic: v8.3.220
{{PDKs Info}} Open PDKs: 14db32aa8ba330e88632ff3ad2ff52f4f4dae1ad | Skywater PDK: c094b6e83a4f9298e47f696ec5a7fd53535ec5eb
{{START}} Precheck Started, the full log 'precheck.log' will be located in '/home/manili/Desktop/caravel_user_project/precheck_results/02_NOV_2021___17_24_57/logs'
{{PRECHECK SEQUENCE}} Precheck will run the following checks: License Manifest Makefile Default Documentation Consistency XOR Magic DRC Klayout FEOL Klayout BEOL Klayout Offgrid Klayout Metal Minimum Clear Area Density Klayout Pin Label Purposes Overlapping Drawing Klayout ZeroArea
{{STEP UPDATE}} Executing Check 1 of 14: License
An approved LICENSE (Apache-2.0) was found in /home/manili/Desktop/caravel_user_project.
{{MAIN LICENSE CHECK PASSED}} An approved LICENSE was found in project root.
An approved LICENSE (Apache-2.0) was found in /home/manili/Desktop/caravel_user_project.
{{SUBMODULES LICENSE CHECK PASSED}} No prohibited LICENSE file(s) was found in project submodules
{{SPDX COMPLIANCE CHECK PASSED}} Project is compliant with the SPDX Standard
{{STEP UPDATE}} Executing Check 2 of 14: Manifest
Caravel version matches, for the full report check: /home/manili/Desktop/caravel_user_project/precheck_results/02_NOV_2021___17_24_57/logs/manifest_check.log
{{MANIFEST CHECKS PASSED}} Manifest Checks Passed. Caravel version matches.
{{STEP UPDATE}} Executing Check 3 of 14: Makefile
{{MAKEFILE CHECK PASSED}} Makefile valid.
{{STEP UPDATE}} Executing Check 4 of 14: Default
The provided 'README.md' is identical to the default 'README.md'
{{README DEFAULT CHECK FAILED}} Project 'README.md' was not modified and is identical to the default 'README.md'
{{CONTENT DEFAULT CHECK PASSED}} Project 'gds' was modified and is not identical to the default 'gds'
{{STEP UPDATE}} Executing Check 5 of 14: Documentation
{{DOCUMENTATION CHECK PASSED}} Project documentation is appropriate.
{{STEP UPDATE}} Executing Check 6 of 14: Consistency
Trying to get file <https://raw.githubusercontent.com/efabless/caravel/8fd3415729ce179d956d67dbe52496b96db4cce3/verilog/rtl/__user_project_wrapper.v>
Got file <https://raw.githubusercontent.com/efabless/caravel/8fd3415729ce179d956d67dbe52496b96db4cce3/verilog/rtl/__user_project_wrapper.v>
Trying to get file <https://raw.githubusercontent.com/efabless/caravel/8fd3415729ce179d956d67dbe52496b96db4cce3/verilog/rtl/defines.v>
Got file <https://raw.githubusercontent.com/efabless/caravel/8fd3415729ce179d956d67dbe52496b96db4cce3/verilog/rtl/defines.v>
HIERARCHY CHECK PASSED: Module user_project_wrapper is instantiated in caravel. 
COMPLEXITY CHECK PASSED: Netlist caravel contains at least 8 instances (46 instances). 
MODELING CHECK PASSED: Netlist caravel is structural.
SUBMODULE HOOKS CHECK PASSED: All module ports for user_project_wrapper are correctly connected in the top level netlist caravel.
POWER CONNECTIONS CHECK PASSED: All instances in caravel are connected to power
{{NETLIST CONSISTENCY CHECK PASSED}} caravel netlist passed all consistency checks.
PORTS CHECK PASSED: Netlist user_project_wrapper ports match the golden wrapper ports
COMPLEXITY CHECK PASSED: Netlist user_project_wrapper contains at least 1 instances (2 instances). 
MODELING CHECK PASSED: Netlist user_project_wrapper is structural.
LAYOUT CHECK PASSED: The GDS layout for user_project_wrapper matches the provided structural netlist.
POWER CONNECTIONS CHECK PASSED: All instances in user_project_wrapper are connected to power
PORT TYPES CHECK PASSED: Netlist user_project_wrapper port types match the golden wrapper port types.
{{NETLIST CONSISTENCY CHECK PASSED}} user_project_wrapper netlist passed all consistency checks.
{{CONSISTENCY CHECK PASSED}} The user netlist and the top netlist are valid.
{{STEP UPDATE}} Executing Check 7 of 14: XOR
Trying to get file <https://raw.githubusercontent.com/efabless/caravel/8fd3415729ce179d956d67dbe52496b96db4cce3/gds/user_project_wrapper_empty.gds.gz>
Got file <https://raw.githubusercontent.com/efabless/caravel/8fd3415729ce179d956d67dbe52496b96db4cce3/gds/user_project_wrapper_empty.gds.gz>
{XOR CHECK UPDATE} Total XOR differences: 0, for more details view /home/manili/Desktop/caravel_user_project/precheck_results/02_NOV_2021___17_24_57/outputs/user_project_wrapper.xor.gds
{{XOR CHECK PASSED}} The GDS file has no XOR violations.
{{STEP UPDATE}} Executing Check 8 of 14: Magic DRC
Found 0 violations
0 DRC violations
{{MAGIC DRC CHECK PASSED}} The GDS file, user_project_wrapper.gds, has no DRC violations.
{{STEP UPDATE}} Executing Check 9 of 14: Klayout FEOL
No DRC Violations found
{{Klayout FEOL CHECK PASSED}} The GDS file, user_project_wrapper.gds, has no DRC violations.
{{STEP UPDATE}} Executing Check 10 of 14: Klayout BEOL
Traceback (most recent call last):
  File "mpw_precheck.py", line 132, in <module>
    default_content='_default_content')
  File "mpw_precheck.py", line 99, in main
    run_precheck_sequence(precheck_config=precheck_config, project_config=project_config)
  File "mpw_precheck.py", line 57, in run_precheck_sequence
    results[check.__surname__] = check.run()
  File "/home/manili/mpw_precheck/check_manager/__init__.py", line 139, in run
    self.klayout_cmd_extra_args)
  File "/home/manili/mpw_precheck/checks/drc_checks/klayout/klayout_gds_drc_check.py", line 20, in klayout_gds_drc_check
    with open(report_file_path) as klayout_xml_report:
FileNotFoundError: [Errno 2] No such file or directory: '/home/manili/Desktop/caravel_user_project/precheck_results/02_NOV_2021___17_24_57/outputs/reports/klayout_beol_check.xml'
Makefile:144: recipe for target 'run-precheck' failed
make: *** [run-precheck] Error 1
Any ideas?
m
Is this the same as https://skywater-pdk.slack.com/archives/C017HPHCMEY/p1635219667041800 or https://skywater-pdk.slack.com/archives/C01E06TUSC9/p1635626730031700 ? Check your
precheck_results/<datetime>/logs/klayout_beol_check.log
 file? Does it look like it finished successfully? It may be an
out of memory
error. I've heard of designs taking up to 60GB.
m
@User Thanks a lot for the reply. There is nothing like
finished successfully
in the log file. But it says that the memory usages suddenly jumped to around 6.5GB and my total memory is 8GB. So it seems that this is a memory issue.